Google Scholar Case Law API
Search court opinions by query, or retrieve one opinion using case_id. Case details cannot be combined with search filters or pagination.
Make a request
Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.
curl 'https://api.prismcrawl.com/v1/google/scholar/case-law' \
--request POST \
--header 'content-type: application/json' \
--header 'x-api-key: <PRISMCRAWL_API_KEY>' \
--data '{
"query": "Brown v Board of Education"
}'Supported parameters
| Parameter | Usage |
|---|---|
query | Text to search for on the selected service. |
language | Provider-supported language code, such as en. |
page | One-based page number. |
device | Device presentation for the source request. desktop, mobile, tablet |
html | Return the encoded original response rather than parsed JSON. |
zero_trace | Do not archive source or parsed response artifacts. |
cites | Comma-separated native article IDs; query optionally searches within citing articles. |
cluster | Native article cluster ID. Cannot be combined with query or cites. |
as_ylo | Inclusive publication year bound. |
as_yhi | Inclusive publication year bound. |
scisbd | Date sorting: 0 relevance, 1 recent abstracts, 2 recent articles. |
filter | Enable similar and omitted results filtering. |
as_vis | Exclude citation-only records when 1. |
as_rr | Only review articles when 1. |
start | Native result offset. Cannot be combined with page. |
num | Native page size, default 10. |
lr | Language restrictions, such as lang_fr|lang_de. |
as_sdt | Select all courts with 4, or specific courts with a comma-separated selection beginning with 4, such as 4,33,192. Defaults to all courts. |
safe | Provider safe-search filtering. active, off |
case_id | Native case ID from a Scholar case search; retrieves the full opinion. |
Structured results
Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.
addresscase_idcase_numberscategorycited_bycited_by_urlcited_casescoordinatescourt_namedatesdescriptionfirst_pageidlast_pagelatitudelongitudenameopinionphonepositionpublication_inforankratingrating_maxrating_sourcerelated_urlresourcereview_countshort_citationssnippetthumbnailtitletypeurlversionsversions_urlwebsiteSDKs and guides
The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.
- Python SDK:
pip install prismcrawl - Node.js SDK:
npm install prismcrawl