Free Law Project Case Law API

Opinions, clusters, dockets, and courts.

Operations 3

GET /opinions/ List opinions #
GET /opinions/{id}/ Retrieve an opinion #
GET /clusters/ List opinion clusters #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/free-law-project-case-law-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

free-law-project-case-law-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Free Law Project / CourtListener REST Alerts Case Law API
  description: The CourtListener REST API (operated by Free Law Project) provides programmatic access to case law, PACER data, the RECAP archive, oral arguments, judges, financial disclosures, citations, citation networks, alerts, tags, and visualizations.
  version: '4.3'
  contact:
    name: Free Law Project
    url: https://free.law/
servers:
- url: https://www.courtlistener.com/api/rest/v4
  description: CourtListener REST API v4
security:
- TokenAuth: []
tags:
- name: Case Law
  description: Opinions, clusters, dockets, and courts.
paths:
  /opinions/:
    get:
      summary: List opinions
      operationId: listOpinions
      tags:
      - Case Law
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Fields'
      - $ref: '#/components/parameters/Omit'
      - $ref: '#/components/parameters/OrderBy'
      responses:
        '200':
          description: Paginated list of opinions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse'
  /opinions/{id}/:
    get:
      summary: Retrieve an opinion
      operationId: getOpinion
      tags:
      - Case Law
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Opinion detail.
  /clusters/:
    get:
      summary: List opinion clusters
      operationId: listClusters
      tags:
      - Case Law
      parameters:
      - $ref: '#/components/parameters/Page'
      responses:
        '200':
          description: Paginated list of clusters.
components:
  parameters:
    Page:
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
    Fields:
      name: fields
      in: query
      schema:
        type: string
      description: Comma-separated list of fields to include.
    OrderBy:
      name: order_by
      in: query
      schema:
        type: string
      description: Field to order by; prefix with `-` for descending.
    Omit:
      name: omit
      in: query
      schema:
        type: string
      description: Comma-separated list of fields to omit.
  schemas:
    PaginatedResponse:
      type: object
      properties:
        count:
          type: integer
        next:
          type: string
          nullable: true
        previous:
          type: string
          nullable: true
        results:
          type: array
          items:
            type: object
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'HTTP token authentication. Format: `Token <your-token>`.'