Skip to main content
POST
/
api
/
spark
/
companies
/
search
/spark/companies/search
curl --request POST \
  --url https://api.anysite.io/api/spark/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@spark_search_result",
    "name": "<string>",
    "inn": "<string>",
    "ogrn": "<string>",
    "okpo": "<string>",
    "bik": "<string>",
    "address": "<string>",
    "director": "<string>",
    "director_inn": "<string>",
    "main_activity": "<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, OKPO, address or director name

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

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@spark_search_result
name
string | null
inn
string | null
ogrn
string | null
okpo
string | null
bik
string | null
address
string | null
director
string | null
director_inn
string | null
main_activity
string | null