🏛️
CRLCA
  • Overview
  • Quick Start
  • Change Log
  • How-To Guides
    • Querying Multiple Fields
    • Translating a Search URL into an API Query
    • Converting JSON to CSV
    • Embedding PDF Documents
  • API Reference
    • Endpoints
      • Case ID
      • Case Ongoing
      • Case Type
      • Special Collection
      • Case State
      • Case Court
      • Case Status
      • Plaintiffs
        • Public Interest Lawyer
        • Filed Pro Se
        • Class Action Sought
        • Class Action Outcome
        • Attorney Organization
        • Plaintiff Type
      • Defendants
        • Defendant Type
        • Defendant Level
        • Facility type
      • Case Details
        • Cause of Action
        • Available Documents
        • Constitutional Clause
        • Special Case Type
      • Outcome
        • Case Settlement Status
        • Case Relief Source
        • Case Relief Nature
        • Case Content of Injunction
        • Case Prevailing Party
      • Document Details
        • Document Type
      • Issues
        • Case Issue
        • Case Custom Issue
    • Objects
      • Case
        • Case Details
        • Causes of Action
        • Outcome
        • Issues
        • Key Dates
        • Parties
        • Dockets and Case Numbers
        • Documents
        • Resources
        • Summaries
        • Case Status
      • Defendant
      • Docket
      • Docket Entry
      • Document
        • Document Details
        • Citations
      • Resource
        • Resource Details
        • Related Items
  • Need Help?
Powered by GitBook
On this page
  1. API Reference
  2. Endpoints
  3. Document Details

Document Type

Filter cases by document type

Filter by document type (integer).

GET https://clearinghouse.net/api/v1/cases?doc_type=document_type_id

Query Parameters

Name
Type
Description

doc_type*

integer

Document Type ID (see list below for list of integers and its mapped values)

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/v1/cases/?case_id=1&case_ongoing=1
["No results for {'case_id': '1', 'case_ongoing': '1'}"]

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

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

5913

Notice Letter

5909

Docket

5911

Monitor/Expert/Receiver Report

5899

FOIA Request

5896

Legislative Report

5905

Complaint

5891

Magistrate Report/Recommendation

5904

Transcript

5910

Findings Letter/Report

5915

Pleading / Motion / Brief

5898

Press Release

5906

Correspondence

5907

Decree/Settlement

5900

Settlement Agreement

5894

Declaration/Affidavit

5901

Published Order/Opinion

5892

Statute/Ordinance/Regulation

5912

Non-Decree Order

5893

Order/Opinion

5914

Other

5897

Internal memorandum

5908

Discovery Material/FOIA Release

5895

Justification Memo

5903

Unpublished Order/Opinion

38543

Executive Order

5902

Published Order/Opinion (Table, Lexis, or Westlaw)

Example

https://clearinghouse.net/api/v1/case?doc_type=5902
import requests

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

print(response.text)
PreviousDocument DetailsNextIssues

Last updated 10 months ago

For more information about these document types, see .

document_type