Browse our database of states with our API (2,500+ states)
Search through 2,500+ states in our database using our API. Access comprehensive state-level data for your needs.
Search states
Search our states 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 state name.
sizenumber (optional)
The number of states to be returned (between 1 and 20). Default to 10.
Response
statesarray
The states that match your conditions.
metaobject
The metas information.
Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/states