LawForge
ReferenceTools

legal_research

Search court opinions with powerful filters

legal_research

Search court opinions using natural language queries with advanced filtering.

Parameters

ParameterTypeRequiredDescription
querystringYesSearch query (natural language or boolean)
court_typestringNofederal, state, or all
jurisdictionstringNoState code (e.g., CA, NY) or federal
courtstringNoSpecific court ID
date_filed_minstringNoStart date (ISO 8601)
date_filed_maxstringNoEnd date (ISO 8601)
statusstringNopublished or unpublished
pagenumberNoPage number (default: 1)
page_sizenumberNoResults per page (default: 20, max: 100)

Example Request

{
  "query": "first amendment schools student speech",
  "court_type": "federal",
  "date_filed_min": "2020-01-01",
  "page_size": 10
}

Example Response

{
  "count": 47,
  "page": 1,
  "page_size": 10,
  "results": [
    {
      "id": "12345678",
      "case_name": "Mahanoy Area School District v. B. L.",
      "citation": "594 U.S. 180 (2021)",
      "court": "Supreme Court of the United States",
      "date_filed": "2021-06-23",
      "snippet": "...the First Amendment protects student speech even when it occurs off campus...",
      "url": "https://mcp.lawforge.io/api/rest/v4/opinions/12345678/"
    }
  ]
}

Query Syntax

Natural Language

first amendment student speech

Boolean Operators

"first amendment" AND schools NOT college
"qualified immunity"

Field-Specific

caseName:"Miranda" AND court:scotus

See Also

On this page