Skip to main content
POST
/
api
/
casebook
/
companies
/
search
/casebook/companies/search
curl --request POST \
  --url https://api.anysite.io/api/casebook/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 50,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "company_url": "<string>",
    "@type": "@casebook_search_result",
    "name": "<string>",
    "short_name": "<string>",
    "inn": "<string>",
    "ogrn": "<string>",
    "is_individual": true,
    "is_branch": true,
    "address": "<string>",
    "main_activity_code": "<string>",
    "main_activity": "<string>",
    "registered_at": "<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: company name, INN, OGRN or OGRNIP

Minimum string length: 1
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

id
string
required
company_url
string
required
@type
string
default:@casebook_search_result
name
string | null
short_name
string | null
inn
string | null
ogrn
string | null
is_individual
boolean | null
is_branch
boolean | null
address
string | null
main_activity_code
string | null
main_activity
string | null
registered_at
string | null