Midpage

Midpage is an AI-powered legal research and drafting platform built on its own US legal database of millions of court opinions, statutes, and regulations spanning federal and state jurisdictions. Its developer products expose this corpus through a REST case-law API (semantic, keyword, and hybrid search; opinion retrieval; citator treatments), a Model Context Protocol (MCP) server for AI agents, and direct SQL read-replica access.

5 APIs 0 Features
LegalCase LawLegal ResearchSearchAI

APIs

Midpage Case Law Search API

Full-text keyword search over US court opinions with Lexis/Westlaw-style boolean, phrase, wildcard, and proximity (W/n) operators, plus hybrid search that fuses keyword and sema...

Midpage Document Retrieval API

Retrieve full opinion data by opinion ID, reporter citation, or docket number, with bulk reads of up to 100 items per request. Optionally include full HTML opinion content and d...

Midpage Citations API

Bluebook-style citation lookup and AI-powered citator data returned with retrieved opinions - reporter citations, citation counts, an overall treatment signal (Negative, Caution...

Midpage Semantic Search API

Vector similarity search over court opinions using AI embeddings, ranking results by semantic similarity for conceptual queries. Exposed as the `semantic` mode of the POST /sear...

Midpage MCP Server

Remote Model Context Protocol server (OAuth-authenticated) that gives AI assistants like Claude, ChatGPT, and Perplexity source-grounded legal research tools - search, findInOpi...

Collections

Pricing Plans

Midpage Plans Pricing

4 plans

PLANS

Rate Limits

Midpage Rate Limits

5 limits

RATE LIMITS

FinOps

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Midpage Legal Database API
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Search
    type: folder
  items:
  - info:
      name: Search opinions
      type: http
    http:
      method: POST
      url: https://app.midpage.ai/api/v1/search
      body:
        type: json
        data: "{\n  \"query\": \"breach of fiduciary duty\",\n  \"mode\": \"semantic\",\n  \"page\": 1,\n  \"page_size\":\
          \ 10\n}"
    docs: Search for opinions using semantic (vector), keyword (full-text), or hybrid search. Supports boolean operators in
      keyword mode, filters, and optional facets.
- info:
    name: Opinions
    type: folder
  items:
  - info:
      name: Get opinions
      type: http
    http:
      method: POST
      url: https://app.midpage.ai/api/v1/opinions/get
      body:
        type: json
        data: "{\n  \"opinion_ids\": [\"8623588\", \"1865773\"],\n  \"include_content\": false,\n  \"include_detailed_treatments\"\
          : false\n}"
    docs: Retrieve full opinion data by ID, citation, or docket number. Bulk reads of up to 100 items per request. Provide
      exactly one of opinion_ids, citations, or docket.
- info:
    name: User
    type: folder
  items:
  - info:
      name: Get current user
      type: http
    http:
      method: GET
      url: https://app.midpage.ai/api/v1/me
    docs: Retrieve the authenticated user's Midpage identity and current subscription status.
bundled: true