Skip to main content
POST
/
api
/
rusprofile
/
companies
/
enforcements
/rusprofile/companies/enforcements
curl --request POST \
  --url https://api.anysite.io/api/rusprofile/companies/enforcements \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@rusprofile_enforcement",
    "number": "<string>",
    "date": "<string>",
    "status": "<string>",
    "amount": 123,
    "balance": 123,
    "subject": "<string>",
    "reason": "<string>",
    "document": "<string>",
    "creditor_name": "<string>",
    "creditor_id": "<string>",
    "department": "<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), 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 enforcement proceedings 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_enforcement
number
string | null
date
string | null
status
string | null
amount
integer | null
balance
integer | null
subject
string | null
reason
string | null
document
string | null
creditor_name
string | null
creditor_id
string | null
department
string | null