curl --request POST \
--url https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"court": [
"nysd"
],
"docket_number": "1:20-cv-03010"
}
'import requests
url = "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets"
payload = {
"court": ["nysd"],
"docket_number": "1:20-cv-03010"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({court: ['nysd'], docket_number: '1:20-cv-03010'})
};
fetch('https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'court' => [
'nysd'
],
'docket_number' => '1:20-cv-03010'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets"
payload := strings.NewReader("{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}"
response = http.request(request)
puts response.read_bodySearch dockets
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.
curl --request POST \
--url https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"court": [
"nysd"
],
"docket_number": "1:20-cv-03010"
}
'import requests
url = "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets"
payload = {
"court": ["nysd"],
"docket_number": "1:20-cv-03010"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({court: ['nysd'], docket_number: '1:20-cv-03010'})
};
fetch('https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'court' => [
'nysd'
],
'docket_number' => '1:20-cv-03010'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets"
payload := strings.NewReader("{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/courtlistener-com/dockets/search-dockets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"court\": [\n \"nysd\"\n ],\n \"docket_number\": \"1:20-cv-03010\"\n}"
response = http.request(request)
puts response.read_bodyRequest 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
{
"operationId": "courtlistener-com.dockets.search-dockets",
"method": "POST",
"path": "/apis/v1/courtlistener-com/dockets/search-dockets",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"court": [
"nysd"
],
"docket_number": "1:20-cv-03010"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"attorney_name": {}
},
"required": [
"attorney_name"
]
},
{
"properties": {
"case_name": {}
},
"required": [
"case_name"
]
},
{
"properties": {
"cause": {}
},
"required": [
"cause"
]
},
{
"properties": {
"court": {}
},
"required": [
"court"
]
},
{
"properties": {
"docket_id": {}
},
"required": [
"docket_id"
]
},
{
"properties": {
"docket_number": {}
},
"required": [
"docket_number"
]
},
{
"properties": {
"judge": {}
},
"required": [
"judge"
]
},
{
"properties": {
"nature_of_suit": {}
},
"required": [
"nature_of_suit"
]
},
{
"properties": {
"party_name": {}
},
"required": [
"party_name"
]
},
{
"properties": {
"query": {}
},
"required": [
"query"
]
}
]
}
],
"properties": {
"attorney_name": {
"description": "attorney_name",
"type": "string"
},
"case_name": {
"description": "case_name",
"type": "string"
},
"cause": {
"description": "cause",
"type": "string"
},
"court": {
"description": "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).",
"items": {
"type": "string"
},
"type": "array"
},
"cursor": {
"description": "Not served keyless: the feeds have no further pages, so any cursor fails with a non-retryable upstream_blocked error.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"docket_id": {
"description": "CourtListener docket id for a single-docket lookup.\n\nProvider reference: minimum 1.",
"type": "number"
},
"docket_number": {
"description": "PACER docket number, e.g. 1:20-cv-03010. Combine with court for an exact match.",
"type": "string"
},
"filed_after": {
"description": "Earliest filing date, inclusive (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"filed_before": {
"description": "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}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"judge": {
"description": "Assigned judge name.",
"type": "string"
},
"nature_of_suit": {
"description": "nature_of_suit",
"type": "string"
},
"order_by": {
"default": "score desc",
"description": "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.\n\nProvider reference: allowed values [\"score desc\", \"dateFiled desc\", \"dateFiled asc\"]; default \"score desc\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"score desc",
"dateFiled desc",
"dateFiled asc"
]
}
},
"party_name": {
"description": "Party name. CourtListener stems and tokenizes it, so Bakers also matches Baker; set party_name_exact for an exact phrase.",
"type": "string"
},
"party_name_exact": {
"description": "Match party_name as an exact quoted phrase without stemming, so Bakers no longer matches Baker or Bake. Requires party_name.",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query": {
"description": "Full-text query over docket metadata; supports fielded clauses such as party:(Google) or docketNumber:\"1:20-cv-03010\".",
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
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).
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".
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.
| Documented field | Provider type | Description |
|---|---|---|
assigned_to | string | |
assigned_to_id | number | |
attorneys | string[] | |
case_name | string | |
case_name_full | string | |
cause | string | |
chapter | string | |
court | string | |
court_citation_string | string | |
court_id | string | |
date_argued | string | |
date_filed | string | |
date_terminated | string | |
docket_id | number | |
docket_number | string | |
firms | string[] | |
jurisdiction_type | string | |
jury_demand | string | |
nature_of_suit | string | |
pacer_case_id | string | |
parties | string[] | |
party_ids | number[] | |
referred_to | string | |
source_url | string | |
trustee | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.