Discover/scholar.google.com API
live

scholar.google.com APIscholar.google.com

Search and retrieve U.S. case law from Google Scholar. Filter by court type, date range, and keyword. Get full opinion text, citations, and case metadata.

Endpoints
2
Updated
14d ago
Try it
Page number (1-based)
Court filter: 'all' for all courts, 'federal' for federal courts only
Search query for case law (e.g., 'fourth amendment search and seizure', 'patent infringeme
Filter cases up to this year (e.g., '2024'). Omitting returns cases up to present.
Filter cases from this year onward (e.g., '2020'). Omitting returns cases from all years.
api.parse.bot/scraper/0121d112-4c66-4336-9640-bded6b74faad/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0121d112-4c66-4336-9640-bded6b74faad/search_cases?page=2&query=fourth+amendment+search+and+seizure&year_from=2015' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Search Google Scholar case law by subject matter keywords. Returns case listings with title, citation, court, year, snippet, and cited-by count. Results are paginated with 10 cases per page.

Input
ParamTypeDescription
pageintegerPage number (1-based)
courtstringCourt filter: 'all' for all courts, 'federal' for federal courts only
queryrequiredstringSearch query for case law (e.g., 'fourth amendment search and seizure', 'patent infringement')
year_tostringFilter cases up to this year (e.g., '2024'). Omitting returns cases up to present.
year_fromstringFilter cases from this year onward (e.g., '2020'). Omitting returns cases from all years.
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "court": "string, court filter applied",
    "query": "string, the search query used",
    "results": "array of case objects with title, url, case_id, citation, court, year, snippet, cited_by",
    "year_to": "string or null, end year filter",
    "year_from": "string or null, start year filter",
    "result_count": "integer, number of results on this page",
    "has_next_page": "boolean, whether more results are available"
  },
  "sample": {
    "data": {
      "page": 1,
      "court": "all",
      "query": "fourth amendment search and seizure",
      "results": [
        {
          "url": "https://scholar.google.com/scholar_case?case=9210492700696416594&q=fourth+amendment+search+and+seizure&hl=en&as_sdt=2006",
          "year": "1967",
          "court": "Supreme Court",
          "title": "Katz v. United States",
          "case_id": "9210492700696416594",
          "snippet": "...does not justify construing the search and seizure...",
          "citation": "389 US 347, 88 S. Ct. 507, 19 L. Ed. 2d 576",
          "cited_by": 33768
        }
      ],
      "year_to": null,
      "year_from": null,
      "result_count": 10,
      "has_next_page": true
    },
    "status": "success"
  }
}

About the scholar.google.com API

This API exposes 2 endpoints for searching and retrieving legal case law from Google Scholar. Use search_cases to find cases by keyword across all courts or federal courts only, returning fields like citation, court, year, snippet, and cited-by count per result. Use get_case_details to pull the full opinion text (up to 10,000 characters), argued and decided dates, and legal citation for any specific case by its ID.

Search Case Law by Keyword

The search_cases endpoint accepts a query string and returns paginated results — 10 cases per page — with a has_next_page flag to walk through additional pages using the page parameter (1-based). Each result object includes title, citation, court, year, snippet, url, case_id, and cited_by count. You can narrow results using year_from and year_to as four-digit year strings, and the court parameter accepts either 'all' or 'federal' to restrict results to federal court decisions.

Retrieve Full Case Opinions

The get_case_details endpoint takes a case_id — the numeric string returned in results[*].case_id from a search — and returns the case's full metadata alongside its opinion text. The opinion_text field contains the first 10,000 characters of the opinion, and opinion_length reports the total character count of the complete text. Additional fields include title, citation, court, dates (covering argued and decided dates), and the canonical url on Google Scholar.

Filtering and Pagination

Date range filtering via year_from and year_to is optional on both ends — omitting year_from returns results from all historical years, and omitting year_to returns results through the present. The result_count field on each search response tells you how many cases were returned on that page, and has_next_page signals whether incrementing page will yield more results. Court filtering is binary: all courts or federal courts only — there is no filtering by specific named courts within the search endpoint.

Common use cases
  • Build a legal research tool that surfaces relevant precedents using search_cases with keyword queries and date range filters
  • Aggregate cited-by counts from search results to identify the most-referenced cases on a given legal topic
  • Pull full opinion text via get_case_details to feed into an LLM for summarization or issue spotting
  • Compare court rulings across different time periods by iterating year_from and year_to across decades
  • Construct a case citation graph by collecting case_id and citation fields from search result sets
  • Filter search results to federal courts only using the court parameter to narrow constitutional law research
  • Monitor new case law on a specific topic by querying search_cases with a recent year_from on a recurring schedule
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Google Scholar have an official developer API for case law?+
No. Google Scholar does not publish an official API for accessing case law data. This Parse API provides structured access to case search results and full case details without requiring use of the web interface.
What does `get_case_details` return for opinion text, and is the full text available?+
The opinion_text field returns the first 10,000 characters of the opinion. The opinion_length field tells you the total character length of the full opinion, so you can see when text has been truncated. There is no pagination within a single case opinion — only the first 10,000 characters are returned.
Can I filter search results by a specific named court, such as the Ninth Circuit or the Southern District of New York?+
Not currently. The court parameter on search_cases only supports 'all' or 'federal' as values. You can fork this API on Parse and revise it to add filtering by specific named courts if that granularity is required.
Does the search endpoint cover law review articles and patents in addition to case law?+
Not currently. Both endpoints are scoped to case law only. Google Scholar also indexes law review articles, but the API does not expose an endpoint for those. You can fork this API on Parse and revise it to add a law review article search endpoint.
How fresh are the search results — does the API reflect recently decided cases?+
Results reflect what Google Scholar currently indexes for the given query and date filters. Very recently decided cases may not yet be indexed. Using year_from set to the current year can help scope results to recent decisions, though indexing lag on the source means brand-new opinions may not appear immediately.
Page content last updated . Spec covers 2 endpoints from scholar.google.com.
Related APIs in Government PublicSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
13f.info API
13f.info API
illinoisreportcard.com API
Search and analyze comprehensive performance data for Illinois public schools, districts, and the state, including academic achievements in ELA, math, and science, student demographics, teacher and administrator information, school finances, and environmental conditions. Compare schools side-by-side, track growth metrics, and access accountability ratings and school highlights to make informed decisions about education quality.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.