1Request
string

case_name

string

Reporter citation, e.g. 410 U.S. 113.

number

Only clusters cited more than this many times.

string[]

CourtListener court ids to restrict the search to, e.g. scotus, ca9, nysd, cal, calctapp, ny, tex, fla. Use the courts function to list them (jurisdiction S / SA are state supreme and appellate courts). Separate values with commas.

string

order_by

string

Full-text query. Supports CourtListener operators: quoted phrases, AND/OR/NOT, fielded clauses such as citation:("410 U.S. 113") or cites:(cluster_id). Quote a statute to find opinions citing it, e.g. "42 U.S.C. § 1983".

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "courtlistener-com",
    capability: "opinions/search_opinions",
    options: {
      court: [
        "cal",
        "calctapp",
      ],
      order_by: "score desc",
      query: "\"42 U.S.C. § 1983\"",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from CourtListener.

{
  "count": 297,
  "count_approximate": false,
  "next_cursor": "cz0xMi43OTEyNzYmcz0yMjc5OTU4JnQ9byZkPTIwMjYtMDktMTQmcD0y",
  "observed_at_ms": 1789439916806,
  "previous_cursor": null,
  "results": [
    {
      "attorney": "Ortiz Law Group, Nolan Berggren and Jesse S. Ortiz, Sacramento, for Plaintiff and Appellant., Lynberg & Watkins, S. Frank Harrell, Pancy Lin and Ruben Escobedo III, Orange, for Defendants and Respondents.",
      "case_name": "Shalabi v. City of Fontana",
      "case_name_full": "Luis Alexandro SHALABI, and v. CITY OF FONTANA, and",
      "citations": [
        "247 Cal. Rptr. 3d 268",
        "35 Cal. App. 5th 639"
      ],
      "cite_count": 6,
      "cluster_id": 6240489,
      "court": "California Court of Appeal, 5th District",
      "court_citation_string": "Cal. Ct. App. 5th",
      "court_id": "calctapp5d",
      "date_argued": null,
      "date_filed": "2019-05-21",
      "docket_id": 62615785,
      "docket_number": "E069671",
      "judge": null,
      "lexis_citation": null,
      "nature_of_suit": null,
      "neutral_citation": null,
      "opinions": [
        {
          "author_id": null,
          "cited_opinion_ids": [
            145756,
            163238,
            1351866,
            2160382,
            2253822,
            2276408,
            2604108,
            2629193,
            3172762,
            5453287
          ],
          "download_url": null,
          "joined_by_ids": [],
          "opinion_id": 6107438,
          "per_curiam": false,
          "snippet": "\nMILLER Acting P. J.\n*641In a third amended complaint (TAC), plaintiff and appellant Luis Alexandro Shalabi sued defendants and respondents Fontana City Police Officer Jason Perniciaro and others for a deprivation of civil rights ( 42 U.S.C. § 1983",
          "source_url": "https://www.courtlistener.com/api/rest/v4/opinions/6107438/",
          "stored_file_url": null,
          "type": "lead-opinion"
        }
      ],
      "panel_names": [],
      "posture": null,
      "scdb_id": null,
      "source_url": "https://www.courtlistener.com/opinion/6240489/shalabi-v-city-of-fontana/",
      "status": "Published",
      "syllabus": null
    },
    {
      "attorney": null,
      "case_name": "Shalabi v. City of Fontana",
      "case_name_full": null,
      "citations": [],
      "cite_count": 0,
      "cluster_id": 4621891,
      "court": "California Court of Appeal",
      "court_citation_string": "Cal. Ct. App.",
      "court_id": "calctapp",
      "date_argued": null,
      "date_filed": "2019-05-21",
      "docket_id": 15656688,
      "docket_number": "E069671",
      "judge": null,
      "lexis_citation": null,
      "nature_of_suit": null,
      "neutral_citation": null,
      "opinions": [
        {
          "author_id": null,
          "cited_opinion_ids": [
            163238,
            1351866,
            2604108,
            2629193
          ],
          "download_url": "http://www.courts.ca.gov/opinions/documents/E069671.PDF",
          "joined_by_ids": [],
          "opinion_id": 4399144,
          "per_curiam": false,
          "snippet": "Filed 5/21/19\n\n                          CERTIFIED FOR PUBLICATION\n\n\n\n          IN THE COURT OF APPEAL OF THE STATE OF CALIFORNIA\n\n                          FOURTH APPELLATE DISTRICT\n\n                                   DIVISION TWO\n\n\n\nLUIS ALEXANDRO SHALABI,\n\n        Plaintiff and Appellant,                   E069671\n\nv.                                                 (Super.Ct.No. CIVDS1314694)\n\nCITY OF FONTANA et al.,                            OPINION\n\n        Defendants and Respondents.\n\n\n\n ",
          "source_url": "https://www.courtlistener.com/api/rest/v4/opinions/4399144/",
          "stored_file_url": "https://storage.courtlistener.com/pdf/2019/05/21/shalabi_v._city_of_fontana.pdf",
          "type": "combined-opinion"
        }
      ],
      "panel_names": [],
      "posture": null,
      "scdb_id": null,
      "source_url": "https://www.courtlistener.com/opinion/4621891/shalabi-v-city-of-fontana/",
      "status": "Published",
      "syllabus": null
    }
  ],
  "returned": 20,
  "source_url": "https://www.courtlistener.com/api/rest/v4/search/?type=o&q=%2242+U.S.C.+%C2%A7+1983%22&court=cal+calctapp&order_by=score+desc&format=json"
}
Browse the library