Skip to main content
POST
/
api
/
spark
/
companies
/spark/companies
curl --request POST \
  --url https://api.anysite.io/api/spark/companies \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "company_type": "<string>",
    "@type": "@spark_company",
    "name": "<string>",
    "full_name": "<string>",
    "inn": "<string>",
    "ogrn": "<string>",
    "kpp": "<string>",
    "okpo": "<string>",
    "okato": "<string>",
    "oktmo": "<string>",
    "okfs": "<string>",
    "okopf": "<string>",
    "okogu": "<string>",
    "registered_date": "<string>",
    "registrar_name": "<string>",
    "registrar_address": "<string>",
    "registration_file_authority": "<string>",
    "region": "<string>",
    "address": "<string>",
    "postal_code": "<string>",
    "charter_capital": 123,
    "director": {
      "@type": "@spark_person",
      "name": "<string>",
      "role": "<string>"
    },
    "main_activity": {
      "@type": "@spark_activity",
      "code": "<string>",
      "name": "<string>"
    },
    "activities": [],
    "description": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
company
string
required

Company INN (10 digits for legal entity, 12 for sole proprietor) or OGRN (13 digits for legal entity, 15 for sole proprietor), or a full company URL

Minimum string length: 1
Examples:

"7707083893"

"1027700132195"

"https://spark-interfax.ru/moskva-akademicheski/pao-sberbank-inn-7707083893-ogrn-1027700132195-64038c0228bd4b8b90ffd5f90465e576"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
company_type
string
required
@type
string
default:@spark_company
name
string | null
full_name
string | null
inn
string | null
ogrn
string | null
kpp
string | null
okpo
string | null
okato
string | null
oktmo
string | null
okfs
string | null
okopf
string | null
okogu
string | null
registered_date
string | null
registrar_name
string | null
registrar_address
string | null
registration_file_authority
string | null
region
string | null
address
string | null
postal_code
string | null
charter_capital
integer | null
director
SparkPerson · object
main_activity
SparkActivity · object
activities
SparkActivity · object[]
description
string | null