Skip to main content
POST
/
api
/
sbis
/
contragents
/sbis/contragents
curl --request POST \
  --url https://api.anysite.io/api/sbis/contragents \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "contragent": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "is_sole_proprietor": true,
    "@type": "@sbis_contragent",
    "name": "<string>",
    "full_name": "<string>",
    "inn": "<string>",
    "kpp": "<string>",
    "ogrn": "<string>",
    "okpo": "<string>",
    "oktmo": "<string>",
    "pfr_number": "<string>",
    "fss_number": "<string>",
    "sfr_number": "<string>",
    "registered_at": "<string>",
    "address": "<string>",
    "postal_code": "<string>",
    "locality": "<string>",
    "revenue": 123,
    "charter_capital": 123,
    "director": {
      "@type": "@sbis_person",
      "name": "<string>",
      "role": "<string>",
      "since_at": "<string>"
    },
    "main_activity": {
      "@type": "@sbis_activity",
      "code": "<string>",
      "name": "<string>"
    },
    "branches": [],
    "counters": {
      "@type": "@sbis_contragent_counters",
      "owner_count": 123,
      "license_count": 123,
      "inspection_count": 123,
      "event_count": 123,
      "trademark_count": 123
    },
    "rating": {
      "@type": "@sbis_rating",
      "value": 123,
      "count": 123
    },
    "employer_rating": {
      "@type": "@sbis_rating",
      "value": 123,
      "count": 123
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
contragent
string
required

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

Minimum string length: 1
Examples:

"7707083893"

"1027700132195"

"https://saby.ru/profile/7707083893-773601001"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
is_sole_proprietor
boolean
required
@type
string
default:@sbis_contragent
name
string | null
full_name
string | null
inn
string | null
kpp
string | null
ogrn
string | null
okpo
string | null
oktmo
string | null
pfr_number
string | null
fss_number
string | null
sfr_number
string | null
registered_at
string | null
address
string | null
postal_code
string | null
locality
string | null
revenue
integer | null
charter_capital
integer | null
director
SbisPerson · object
main_activity
SbisActivity · object
branches
string[]
counters
SbisContragentCounters · object
rating
SbisRating · object
employer_rating
SbisRating · object