Loupe Search API

The Search API from Loupe — 1 operation(s) for search.

GitHub OpenAPI

Operations 1

GET /api/search Find a case #

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/loupe-legal:loupe-legal-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

loupe-legal-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Loupe: free citation lookup Search API'
  version: 1.0.0
  summary: Check a US legal citation, find a case by name, and see what Loupe holds. Free, no account, no key.
  description: 'Loupe checks legal citations against the sources that settle them. These three read-only endpoints need no account. Every answer says what was checked and what was not: ''not_found'' and ''unverified'' mean Loupe could not find or settle something, which is not proof that it does not exist; ''suspect'' is said only when a citation cannot exist as written. Five hundred questions a day from one network. Not legal advice. Add format=md, or send Accept: text/markdown, for Markdown.'
  contact:
    email: hello@loupe.legal
    url: https://loupe.legal/data#agents
  termsOfService: https://loupe.legal/terms
servers:
- url: https://loupe.legal
tags:
- name: Search
paths:
  /api/search:
    get:
      operationId: searchCases
      summary: Find a case
      description: The cases in Loupe's index whose names match the words given, or the case a citation names. A case missing from the results may still exist.
      parameters:
      - name: q
        in: query
        required: true
        description: The parties' names, or a citation such as 556 U.S. 662. At most 120 characters and eight words.
        schema:
          type: string
          maxLength: 120
        example: Miranda v. Arizona
      - name: year
        in: query
        required: false
        description: The year of decision, if known; a year in q is read the same way.
        schema:
          type: string
          pattern: ^\d{4}$
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: The cases found, and a note on what the search covers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchAnswer'
            text/markdown:
              schema:
                type: string
        '429':
          $ref: '#/components/responses/TooMany'
        '503':
          $ref: '#/components/responses/NotChecked'
      tags:
      - Search
components:
  parameters:
    format:
      name: format
      in: query
      required: false
      description: md for Markdown instead of JSON.
      schema:
        type: string
        enum:
        - md
  schemas:
    SearchAnswer:
      type: object
      properties:
        query:
          type: string
        results:
          type: array
          items:
            type: object
            properties:
              name:
                type:
                - string
                - 'null'
              decided:
                type:
                - string
                - 'null'
              citations:
                type: array
                items:
                  type: string
              pages:
                type:
                - object
                - 'null'
                properties:
                  first:
                    type: integer
                  last:
                    type: integer
              printed_page:
                type:
                - boolean
                - 'null'
              read_it:
                type: array
                items:
                  type: object
        pin:
          type: object
          properties:
            page:
              type: integer
            inside:
              type: boolean
        note:
          type: string
  responses:
    NotChecked:
      description: Loupe could not read its index or run the check just now. Nothing was checked; this is not a finding. Try again shortly.
    TooMany:
      description: Today's free questions from this network are used. They come back at midnight UTC.
externalDocs:
  description: What Loupe holds, and how to ask
  url: https://loupe.legal/data