Skip to main content
POST
/
api
/
rusprofile
/
companies
/
general-court-cases
/rusprofile/companies/general-court-cases
curl --request POST \
  --url https://api.anysite.io/api/rusprofile/companies/general-court-cases \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@rusprofile_general_court_case",
    "number": "<string>",
    "date": "<string>",
    "status": "<string>",
    "proceeding_type": "<string>",
    "category": "<string>",
    "court": "<string>",
    "judge": "<string>",
    "plaintiffs": [],
    "defendants": [],
    "representatives": [],
    "third_parties": [],
    "events": [],
    "source_url": "<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 general-jurisdiction court cases 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_general_court_case
number
string | null
date
string | null
status
string | null
proceeding_type
string | null
category
string | null
court
string | null
judge
string | null
plaintiffs
RusprofileCourtParty · object[]
defendants
RusprofileCourtParty · object[]
representatives
RusprofileCourtParty · object[]
third_parties
RusprofileCourtParty · object[]
events
RusprofileCourtEvent · object[]
source_url
string | null