For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search States Codes

Look up state slug codes by name. Free helper for /company_search.

Search States Codes

POST /search_company_states

Free — no credits are used. Resolve state values for Company Search.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

api_key

string

Your API Key.

search

string

Text to match against state names.

Response

The rows are under data. See Response Format for the fields every endpoint returns.

Field
Description

code

The slug for this state.

name

The state name this slug matches.

total is the number of matches returned.

Example

{
  "api_key": "your_api_key",
  "search": "cali"
}
{
  "status": "success",
  "data": [
    { "code": "california|us", "name": "California" },
    { "code": "baja-california|mx", "name": "Baja California" }
  ],
  "credits_used": 0,
  "credits_remaining": 4823,
  "total": 2,
  "success": true
}

Last updated