Skip to main content
POST
Search dockets

Request contract

  • Method and path: POST /apis/v1/courtlistener-com/dockets/search-dockets
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
attorney_name
string
required

attorney_name

case_name
string

case_name

cause
string

cause

court
string[]

CourtListener court ids (not jurisdiction or state names) to restrict the search to, e.g. scotus, ca9, nysd, cal, calctapp, ny, nyappdiv, tex, texapp, fla. An unknown id such as texas, tx or ca matches nothing and returns zero results. List every court you need: ny does not include nyappdiv. Use the courts function to find ids (jurisdiction S / SA are state supreme and appellate courts).

cursor
string

Not served keyless: the feeds have no further pages, so any cursor fails with a non-retryable upstream_blocked error.

docket_id
number

CourtListener docket id for a single-docket lookup.

Provider reference: minimum 1.

docket_number
string

PACER docket number, e.g. 1:20-cv-03010. Combine with court for an exact match.

filed_after
string

Earliest filing date, inclusive (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

filed_before
string

Latest filing date, inclusive (YYYY-MM-DD). Use the same date as filed_after for a single day. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

judge
string

Assigned judge name.

nature_of_suit
string

nature_of_suit

order_by
string
default:score desc

Keyless feeds always return the newest matches first. score desc (default) and dateFiled desc are accepted; other orders need a CourtListener API token and fail with a non-retryable upstream_blocked error.

Provider reference: allowed values ["score desc", "dateFiled desc", "dateFiled asc"]; default "score desc".

party_name
string

Party name. CourtListener stems and tokenizes it, so Bakers also matches Baker; set party_name_exact for an exact phrase.

party_name_exact
boolean

Match party_name as an exact quoted phrase without stemming, so Bakers no longer matches Baker or Bake. Requires party_name.

query
string

Full-text query over docket metadata; supports fielded clauses such as party:(Google) or docketNumber:"1:20-cv-03010".

Response

Search federal PACER dockets (RECAP archive) on CourtListener by party name, attorney, case name, docket number, judge, nature of suit, cause, court and filing dates, or look one docket up by docket_id. Keyless: returns the dockets behind the newest 20 matching RECAP documents, each with its docket_id (for docket_entries), case name and court; parties, judges, dates and further pages need a CourtListener API token.

The response contains the tool result directly.

The provider identifies results as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.