For the complete documentation index, see llms.txt. This page is also available as Markdown.

Docket RECAP ID

Get docket associated with recap_id (integer).

GET https://clearinghouse.net/api/v2p1/dockets/?recap_id=id

Headers

Name
Type
Description

Authorization*

String

Authorization

Token XXXXXXXXXXX

where

XXXXXXXXXXX

is the token string

\\ Examples of:
\\ No results, key not found, or invalid parameter

\\ No results
\\ Example query endpoint: /api/v2p1/cases/?case_id=1&case_ongoing=1
["No results for {'case_id': '1', 'case_ongoing': '1'}"]

\\ Key not found
\\ Example query endpoint: /api/v2p1/cases?test_key=1
["API Error: Key: test_key, Value: 1 not found."]

\\ Example query endpoint: /api/v2p1/cases/?case_id=xyz
["API Error: xyz is not an integer."]
{
    "detail":"Authentication credentials were not provided."
}

Example

https://clearinghouse.net/api/v2p1/dockets/?recap_id=72085714
import requests

url = "https://clearinghouse.net/api/v2p1/dockets/?recap_id=72085714"
headers = { 'Authorization': 'Token XXXXXXXXXX',
'User-Agent': 'Chrome v22.2 Linux Ubuntu'
}
response = requests.request("GET", url, headers=headers, data={})

print(response.text)

Supported recap_id (id):

You can also query a docket by its RECAP ID, which is a reference to the id field returned by the RECAP API at the docket endpoints (https://www.courtlistener.com/api/rest/v4/dockets/). For more details, see: https://www.courtlistener.com/help/api/rest/

Last updated