Browse our database of counties with our API (12K+ counties)
Access a database of over 12K counties with our API. Get detailed information for each county easily.
Search counties
Search our counties to filter companies in a specific location.
Query parameters
pagenumber (optional)
The page to fetch (default to 1).
searchstring (optional)
An additional search query applied to the county name.
sizenumber (optional)
The number of counties to be returned (between 1 and 20). Default to 10.
Response
countiesarray
The counties that match your conditions.
metaobject
The metas information.
Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/counties