Skip to main content
POST
/
api
/
rusprofile
/
companies
/
connections
/rusprofile/companies/connections
curl --request POST \
  --url https://api.anysite.io/api/rusprofile/companies/connections \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@rusprofile_connection",
    "id": "<string>",
    "aci_id": "<string>",
    "type": "<string>",
    "is_inactive": true,
    "relation_count": 123,
    "url": "<string>",
    "links": []
  }
]

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), OGRN (13 digits), internal Rusprofile id or a full company URL

Minimum string length: 1
Examples:

"7707083893"

"2835629"

"https://www.rusprofile.ru/id/2835629"

count
integer
required

Max number of connected entities to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@rusprofile_connection
id
string | null
aci_id
string | null
type
string | null
is_inactive
boolean | null
relation_count
integer | null
url
string | null