Skip to main content
POST
/
api
/
sbis
/
contragents
/
search
/sbis/contragents/search
curl --request POST \
  --url https://api.anysite.io/api/sbis/contragents/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "region": [],
  "category": [],
  "sort": "relevance"
}
'
[
  {
    "id": "<string>",
    "@type": "@sbis_search_item",
    "spp_id": 123,
    "is_sole_proprietor": false,
    "name": "<string>",
    "inn": "<string>",
    "kpp": "<string>",
    "ogrn": "<string>",
    "okpo": "<string>",
    "region": "<string>",
    "category": "<string>",
    "address": "<string>",
    "registered_at": "<string>",
    "revenue": 123,
    "main_activity_code": "<string>",
    "uuid": "<string>",
    "director": {
      "@type": "@sbis_person",
      "name": "<string>",
      "role": "<string>",
      "since_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 other requisites

Minimum string length: 1
Examples:

"газпром"

"7707083893"

"1027700132195"

count
integer
required

Number of contractors to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
region
string[]

Optional list of Russian region codes to filter by (e.g. 77 for Moscow)

Example:
["77"]
category
enum<string>[]

Optional list of industry categories to filter by

Available options:
auto_service,
security,
business_finance,
paper_packaging,
woodworking,
computers_software,
beauty_health,
light_industry,
machinery,
medicine_pharma,
metals,
science_education,
real_estate,
office_home,
logistics,
printing_advertising,
food_beverages_tobacco,
retail,
communications,
agriculture,
sport_leisure_tourism,
construction_materials,
construction,
raw_materials,
fuel_energy,
transport,
services,
chemical_industry,
ecology_cleaning,
electrical,
undefined
Example:
["business_finance"]
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
revenue

Response

Successful Response

id
string
required
@type
string
default:@sbis_search_item
spp_id
integer | null
is_sole_proprietor
boolean
default:false
name
string | null
inn
string | null
kpp
string | null
ogrn
string | null
okpo
string | null
region
string | null
category
string | null
address
string | null
registered_at
string | null
revenue
integer | null
main_activity_code
string | null
uuid
string | null
director
SbisPerson · object