Skip to main content
POST
/
api
/
zachestnyibiznes
/
companies
/
courts
/zachestnyibiznes/companies/courts
curl --request POST \
  --url https://api.anysite.io/api/zachestnyibiznes/companies/courts \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@zachestnyibiznes_courts",
    "case_count": 123,
    "total_amount": 123,
    "pending_amount": 123,
    "completed_amount": 123
  }
]

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/12 digits) or OGRN (13/15 digits), or a full company URL

Minimum string length: 1
Examples:

"7707083893"

"1027700132195"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@zachestnyibiznes_courts
case_count
integer | null
total_amount
integer | null
pending_amount
integer | null
completed_amount
integer | null