This API provides machine-accessible access to public case information and decision documents from the Arizona Court of Appeals Division Two. All data is public record.
Production: https://www.appeals2.az.gov/api
Retrieve detailed information for a specific case by case number or case ID.
Parameters:Path alternatives:
/api/case?case_number=2%20CA-CR%202025-0002/api/case?case_id=90002/api/case/number/2%20CA-CR%202025-0002/api/case/id/90002/api/case/90002Response:
{
"case_id": 90002,
"case_number": "2 CA-CR 2025-0002",
"case_title": "JOHNSON v. STATE",
"county": "Maricopa",
"filing_date": "2025-01-15T00:00:00+00:00",
"docket_link": "https://www.appeals2.az.gov/caseInfoLast.php?caseID=90902",
"decision_type": "Opinion",
"published_date": "2025-02-01T00:00:00+00:00",
"decision_document": "https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf",
"current_status": "Active",
"sealed": false,
"trial_court_case_numbers": ["CR20250002r"]
}
Search for cases using various filters. Results are paginated by default.
Query Parameters:Path alternatives:
/api/cases?party=Johnson&county=Pima/api/cases/party/Johnson/county/PimaResponse:
{
"cases": [
{
"case_id": 90002,
"case_number": "2 CA-CR 2025-0002",
"case_title": "JOHNSON v. STATE",
"county": "Maricopa",
"filing_date": "2025-01-15T00:00:00+00:00",
"docket_link": "https://www.appeals2.az.gov/caseInfoLast.php?caseID=90902",
"decision_type": "Opinion",
"published_date": "2025-02-01T00:00:00+00:00",
"decision_document": "https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf",
"current_status": "Active",
"sealed": false
}
],
"pagination": {
"page": 1,
"per_page": 50,
"total": 1,
"total_pages": 1,
"has_more": false
},
"export": "Add format=ndjson (or /format/ndjson in the path) to stream all matching cases."
}
Stream all matching cases in NDJSON (newline-delimited JSON) format. This is useful for bulk data export and runs with constant memory.
Path alternatives:
/api/cases?format=ndjson&party=Johnson/api/cases/format/ndjson/party/JohnsonResponse:
{"case_id":90002,"case_number":"2 CA-CR 2025-0002","case_title":"JOHNSON v. STATE","county":"Maricopa","filing_date":"2025-01-15T00:00:00+00:00","docket_link":"https://www.appeals2.az.gov/caseInfoLast.php?caseID=90902","decision_type":"Opinion","published_date":"2025-02-01T00:00:00+00:00","decision_document":"https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf","current_status":"Active","sealed":false}
{"case_id":90003,"case_number":"2 CA-CV 2025-0003","case_title":"SMITH v. DOE","county":"Pima","filing_date":"2025-01-16T00:00:00+00:00","docket_link":"https://www.appeals2.az.gov/caseInfoLast.php?caseID=90903","decision_type":"Opinion","published_date":"2025-02-02T00:00:00+00:00","decision_document":"https://www.appeals2.az.gov/serveFile.php?type=DE&file=CV20250003r.pdf","current_status":"Active","sealed":false}
Retrieve all documents associated with a specific case by case ID.
Path Parameters:Path alternative:
/api/case/{case_id}/documentsExample:
curl "https://www.appeals2.az.gov/api/case/90002/documents"
Response:
{
"case_id": 90002,
"case_number": "2 CA-CR 2025-0002",
"documents": [
{
"type": "decision",
"filename": "CR20250002r.pdf",
"url": "https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf",
"published_date": "2025-02-01T00:00:00+00:00",
"decision_type": "Opinion"
}
],
"total": 1
}
Retrieve recent case decisions (non-closed cases with published decisions).
Query Parameters:Path alternatives:
/api/decisions/recent?since=2025-10-01/api/decisions/recent/2025-10-01/api/decisions/recent/since/2025-10-01Response:
{
"decisions": [
{
"case_id": 90002,
"case_number": "2 CA-CR 2025-0002",
"case_title": "JOHNSON v. STATE",
"decision_type": "Opinion",
"published_date": "2025-02-01T00:00:00+00:00",
"decision_document": "https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf",
"county": "Maricopa",
"current_status": "Active"
}
],
"total": 1,
"since": "2025-10-01"
}
Get a list of all published decisions (limited to 100 most recent, non-closed cases).
Path alternative:
/api/decisionsResponse:
{
"decisions": [
{
"case_id": 90002,
"case_number": "2 CA-CR 2025-0002",
"case_title": "JOHNSON v. STATE",
"decision_type": "Opinion",
"published_date": "2025-02-01T00:00:00+00:00",
"decision_document": "https://www.appeals2.az.gov/serveFile.php?type=DE&file=CR20250002r.pdf",
"county": "Maricopa",
"current_status": "Active"
}
],
"total": 1
}
Missing or invalid parameters
{
"error": "Missing required parameter",
"details": {
"parameter": "case_id or case_number"
}
}
Case not found
{
"error": "Case not found",
"case_id": "99999"
}
Invalid endpoint
{
"error": "Not found",
"path": "/api/unknown",
"message": "The requested API endpoint does not exist"
}
Only GET requests are supported
{
"error": "Method not allowed",
"allowed": ["GET"]
}
Rate limit exceeded
{
"error": "Rate limit exceeded",
"details": {
"retry_after_seconds": 60
}
}
https://www.appeals2.az.gov/health