Follow the instructions below to send requests to the API from this page. The instructions detail how to make requests to our Search method, but can easily be adapted by you to make requests against any of our other available methods.
Go to our API specification page and click the POST /search block and then the Try it out button in the upper-right corner.
Enter your token in the Auth-Token field.
In the Request body section you can select an example request from the dropdown. These give you a number of combinations between region and search type.You can then either use it as is or update the request body with your desired address values.
Click the Execute button to send the request to the API.
View the response returned by the API under Responses > Server response.
The information under Responses > Responses are examples only. Your request was successful if the API returned 200 - Success. Check out the possible response status codes to find out more.
Postman is a free, easy-to-use third-party application that you can use to send API calls.
Follow these instructions to send requests to the API via Postman:
Open the Postman app and click Import in the upper-left corner.
Import the file you've downloaded.
Go to the Collections tab on the left-hand side panel and click the API request you want to test.
Go to the Headers tab.
Replace the {{Auth-Token}} value with your token.
Go to the Body tab.
(Optional) Replace the address value with an address of your choice. Note that the address value must be enclosed in quotation marks, e.g. "125 summer St". Alternatively, you can skip this step and use the preset values.
Click Send to submit the API request.
View the response returned by the API. Note that your request was successful only if the API returned an HTTP status code of 200 - Success. Check out Response status codes to find out more about scenarios where the API returns errors.