Plaintiff Type
Filter cases by plaintiff type
Filter by plaintiff type ID (integer).
GET https://clearinghouse.net/api/v2/case?plaintiff_type=plaintiff_type_id
Query Parameters
Name
Type
Description
plaintiff_type*
integer
Plaintiff 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/v2/cases/?case_id=1&case_ongoing=1
["No results for {'case_id': '1', 'case_ongoing': '1'}"]
\\ Key not found
\\ Example query endpoint: /api/v2/cases?test_key=1
["API Error: Key: test_key, Value: 1 not found."]
\\ Example query endpoint: /api/v2/cases/?case_id=xyz
["API Error: zxy is not an integer."]{
"detail":"Authentication credentials were not provided."
}Supported plaintiff type IDs (plaintiff_type_id):
5579
Non-profit religious organization
5290
City/County Plaintiff
5577
Public (for-profit) corporation
5372
American Indian Tribe
5452
EEOC Plaintiff
5451
Private Plaintiff
5455
State Plaintiff
5578
Closely-held (for profit) corporation
5584
Non-DOJ federal government plaintiff
5454
U.S. Dept of Justice plaintiff
5580
Non-profit NON-religious organization
For more about plaintiff types, see Plaintiff Type.
Example
https://clearinghouse.net/api/v2/case?plaintiff_type=5580import requests
url = "https://clearinghouse.net/api/v2/case?plaintiff_type=5580"
headers = { 'Authorization': 'Token XXXXXXXXXX',
'User-Agent': 'Chrome v22.2 Linux Ubuntu'
}
response = requests.request("GET", url, headers=headers, data={})
print(response.text)Last updated