Skip to main content
POST
/
api
/
listorg
/
companies
/
search
/listorg/companies/search
curl --request POST \
  --url https://api.anysite.io/api/listorg/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "type": "all",
  "sort": "relevance",
  "active_only": false,
  "has_sole_proprietor": false,
  "active_sole_proprietor": false,
  "prefix_match": false,
  "include_historical": false,
  "with_phone": false,
  "with_website": false,
  "with_email": false,
  "with_branches": false,
  "okved": "<string>",
  "okato": "<string>",
  "okfs": "<string>",
  "okogu": "<string>",
  "employees_min": 1,
  "employees_max": 1,
  "revenue_min": 1,
  "revenue_max": 1,
  "profit_min": 123,
  "profit_max": 123,
  "assets_min": 1,
  "assets_max": 1,
  "registered_after": "<string>",
  "registered_before": "<string>"
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@listorg_company_search_result",
    "name": "<string>",
    "full_name": "<string>",
    "status": "<string>",
    "is_active": true,
    "inn": "<string>",
    "kpp": "<string>",
    "director": "<string>",
    "address": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search string (company name, INN, OGRN, address, director, etc.)

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
type
enum<string>
default:all

Which field the query is matched against

Available options:
all,
name,
inn,
ogrn,
okpo,
director_founder,
phone,
address,
bank_bic
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
popularity,
registration_desc,
registration_asc,
employees_desc,
employees_asc,
revenue_desc,
revenue_asc,
profit_desc,
profit_asc,
assets_desc,
assets_asc
active_only
boolean
default:false

Only currently active organizations

has_sole_proprietor
boolean
default:false

Only entries that have a registered sole proprietor (ИП)

active_sole_proprietor
boolean
default:false

Only entries with a currently active sole proprietor (ИП)

prefix_match
boolean
default:false

Match the query against the beginning of words

include_historical
boolean
default:false

Include historical (renamed/former) data in the match

with_phone
boolean
default:false

Only organizations that have a phone number

with_website
boolean
default:false

Only organizations that have a website

with_email
boolean
default:false

Only organizations that have an e-mail

with_branches
boolean
default:false

Include branches/subdivisions in results

okved
string | null

OKVED v2 activity code filter (e.g. 62.01)

okato
string | null

OKATO region code filter (e.g. 45 = Moscow)

okfs
string | null

OKFS ownership-form code filter (e.g. 16 = private)

okogu
string | null

OKOGU government-authority code filter

employees_min
integer | null

Minimum headcount

Required range: x >= 0
employees_max
integer | null

Maximum headcount

Required range: x >= 0
revenue_min
integer | null

Minimum annual revenue in thousand RUB

Required range: x >= 0
revenue_max
integer | null

Maximum annual revenue in thousand RUB

Required range: x >= 0
profit_min
integer | null

Minimum net profit in thousand RUB

profit_max
integer | null

Maximum net profit in thousand RUB

assets_min
integer | null

Minimum capital/assets in thousand RUB

Required range: x >= 0
assets_max
integer | null

Maximum capital/assets in thousand RUB

Required range: x >= 0
registered_after
string | null

Registered on or after this date (YYYY-MM-DD)

registered_before
string | null

Registered on or before this date (YYYY-MM-DD)

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@listorg_company_search_result
name
string | null
full_name
string | null
status
string | null
is_active
boolean | null
inn
string | null
kpp
string | null
director
string | null
address
string | null