County API

The Surpass County API lets you retrieve the unique identifier for each county in the United Kingdom. These identifiers can be used when assigning a county to a resource, for example, when creating centres using the Centre API. For more information on the Centre resource, read Centre API.

The County API resource is used to list and retrieve counties.

This article explains what calls can be made to the Surpass API using the County resource.

Import this API into your Postman Workspace

In This Article

Listing counties

get /api/v2/County

Send a request to the endpoint to retrieve a list of counties. Refer to the available parameters to influence the response. No request body is required.

Retrieving county information

get /api/v2/County/{id}

Send a request to the endpoint to retrieve information for a specific county using its ID. No request body is required.

Error Codes

Refer to the following table for information on error codes that may be encountered when using this resource.

Further reading

Read the following articles to learn more about similar APIs, how to get started with the Surpass API v2, and how to get the best out of this reference documentation:

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.