Data API Overview
PolicyMap data services provides access to raw data. Sent and received data can be formatted as JSON or XML.
All data available via the PolicyMap data services are accessible via HTTP requests. Any client program, from a web browser to a client's server side scripting language, that can perform HTTP requests can access our data. The most commonly used method is to assemble the parameters of a request into a query string, append it to the URL of data services, and issue the HTTP GET request to obtain the data. Other methods include the composition of an XML or JSON document that conforms to a published XML schema specification and to use the HTTP POST method against the data services URL.
For "data elements," the data service provides data via standard HTTP GET requests. A query string is composed, and data is returned in either JSON or XML format. The service allows requests for any number of data elements to be chained together in a single string. All requests support standard HTTP authentication, or authentication that allows access by a 3rd party on the behalf of our users.
Examples of calls and data returns
- Example 1: Geocode and Boundary Request
- Example 2: Geocode and Data Request
- Example 3: Search for Location and Containment Data Request
For more information or questions regarding the REST API data services, please contact us at firstname.lastname@example.org