There are many ways to make API requests. This section covers two ways you can send a test request to the API.

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.

  1. Go to our API specification page and click the POST /search block and then the Try it out button in the upper-right corner.
  2. Enter your token in the Auth-Token field.
  3. 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.
  4. Click the Execute button to send the request to the API.
  5. View the response returned by the API under Responses > Server response.

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:

  1. Download and install the free Postman app.
  2. Download the relevant file.
  3. Open the Postman app and click Import in the upper-left corner.
  4. Import the file you've downloaded.
  5. Go to the Collections tab on the left-hand side panel and click the API request you want to test.
  6. Go to the Headers tab.
  7. Replace the {{Auth-Token}} value with your token.
  8. Go to the Body tab.
  9. (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.
  10. Click Send to submit the API request.
  11. 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.