The Companies API LogoThe Companies API Logo
APICompaniesUse casesPricing
LoginLogin

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

Free

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
A glowing background image to highlight the titleA glowing background image to highlight the title
© 2025 The Companies API
  • Updates
  • Terms
  • Privacy
  • FAQ
  • Status

Fast-growing SaaS companies with remote teams