Skip to main content
POST
/
api
/
alabama
/
companies
/
search
/alabama/companies/search
curl --request POST \
  --url https://api.anysite.io/api/alabama/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "city": "MONTGOMERY"
}
'
[
  {
    "entity_id": "<string>",
    "@type": "@alabama_company_search_item",
    "name": "<string>",
    "city": "<string>",
    "legal_form": "<string>",
    "status": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Business name to match

Minimum string length: 1
Examples:

"WALMART"

"SMITH"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
entity_type
enum<string> | null

Restrict results to a single entity type

Available options:
FST,
DBC,
D/C,
D/S,
DEC,
DGP,
DHA,
DLL,
D2P,
DLP,
D3P,
DNP,
DGN,
DNL,
DNS,
DPA,
DPC,
DPL,
DPN,
DP2,
DML,
DCP,
DRT,
DRP,
DSL,
DUA,
FBC,
FBE,
F/C,
FEC,
FGP,
FHA,
FIC,
FLL,
F2P,
FLP,
F3P,
FNP,
FGN,
FNL,
FNS,
FPA,
FPC,
FPL,
FPN,
FML,
FCP,
FRT,
FRP,
FSL,
FUA
status
enum<string> | null

Restrict results to a single registration status

Available options:
exists,
cancelled,
consolidated,
dissolved,
merged,
revoked,
withdrawn,
registered_name,
name_reservation,
previous_name
city
string | null

Restrict results to a city

Example:

"MONTGOMERY"

Response

Successful Response

entity_id
string
required
@type
string
default:@alabama_company_search_item
name
string | null
city
string | null
status
string | null