Skip to main content
POST
/
api
/
cac
/
companies
/
search
/cac/companies/search
curl --request POST \
  --url https://api.anysite.io/api/cac/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 25,
  "timeout": 300,
  "search_type": "ALL",
  "classification": "ALL"
}
'
[
  {
    "name": "<string>",
    "@type": "@cac_company_search_item",
    "rc_number": "<string>",
    "company_id": 123,
    "classification": "<string>",
    "classification_id": 123,
    "nature_of_business": "<string>",
    "registration_date": "<string>",
    "status": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Company name, RC number or AV code to search

Minimum string length: 1
Example:

"DANGOTE"

count
integer
required

Max number of results to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
search_type
enum<string>
default:ALL

Match the keyword as any term, an exact RC number, an AV code or an exact approved name

Available options:
ALL,
RC_NUMBER,
AV_CODE,
APPROVED_NAME
classification
enum<string>
default:ALL

Restrict results to a single business classification

Available options:
ALL,
BUSINESS_NAME,
COMPANY,
INCORPORATED_TRUSTEE,
LIMITED_PARTNERSHIP,
LIMITED_LIABILITY_PARTNERSHIP

Response

Successful Response

name
string
required
@type
string
default:@cac_company_search_item
rc_number
string | null
company_id
integer | null
classification
string | null
classification_id
integer | null
nature_of_business
string | null
registration_date
string | null
status
string | null