Skip to main content
POST
/
api
/
new_mexico
/
companies
/
search
/new_mexico/companies/search
curl --request POST \
  --url https://api.anysite.io/api/new_mexico/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 50,
  "timeout": 300
}
'
[
  {
    "record_num": "<string>",
    "@type": "@new_mexico_company_search_item",
    "name": "<string>",
    "matched_names": [],
    "status": "<string>",
    "legal_entity_type": "<string>",
    "entity_sub_type": "<string>",
    "formed_in": "<string>",
    "registration_date": "<string>",
    "annual_report_due_date": "<string>",
    "agent": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query — business name or business ID

Minimum string length: 1
Examples:

"Walmart"

"7698666"

count
integer
required

Max number of results to return

Required range: 1 <= x <= 100
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

record_num
string
required
@type
string
default:@new_mexico_company_search_item
name
string | null
matched_names
string[]
status
string | null
entity_sub_type
string | null
formed_in
string | null
registration_date
string | null
annual_report_due_date
string | null
agent
string | null