Corpus Coverage API

What jurisdictions are ingested and searchable.

GitHub OpenAPI

Operations 1

GET /api/v1/coverage What law is available right now #

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/corpuslaw-us:corpuslaw-us-coverage-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

corpuslaw-us-coverage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Corpuslaw Us Coverage API
  version: 1.0.0
  contact:
    name: Corpus
    url: https://corpuslaw.us
  license:
    name: Proprietary
  description: 'Operations tagged Coverage across 2 of this provider''s published API definitions: corpuslaw-us-openapi.json, corpuslaw-us-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://corpuslaw.us
  description: Production
security:
- bearerAuth: []
tags:
- name: Coverage
  description: What jurisdictions are ingested and searchable.
paths:
  /api/v1/coverage:
    get:
      operationId: getCoverage
      summary: What law is available right now
      description: 'Per-jurisdiction inventory: node counts, searchable-chunk counts, GIS status, citation quality, and a `placeholder` flag for jurisdictions that are listed but not yet searchable. Call this before searching so an empty result isn''t mistaken for a broken API. (Costs 1 credit.)'
      tags:
      - Coverage
      responses:
        '200':
          description: Success
          headers:
            X-Credits-Remaining:
              $ref: '#/components/headers/XCreditsRemaining'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
          content:
            application/json:
              schema:
                type: object
                example:
                  totalJurisdictions: 16
                  totalNodes: 384890
                  totalSearchableChunks: 678366
                  publishedGisLayers: 8
                  jurisdictions:
                  - shortCode: TX
                    name: Texas
                    level: state
                    nodeCount: 125188
                    searchableChunks: 79222
                    placeholder: false
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - bearerAuth:
        - search
        - node
        - browse
        - gis
    servers:
    - url: https://corpuslaw.us
      description: Production
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: string
          description: Machine-readable error code.
          example: insufficient_credits
        message:
          type: string
          description: Human-readable explanation with a recovery hint.
        upgradeUrl:
          type: string
          description: Where to buy more credits (present on 402).
        retryAfterSec:
          type: integer
          description: Seconds to wait before retrying (present on 429).
  headers:
    XRateLimitLimit:
      description: Requests-per-minute ceiling for this key's tier.
      schema:
        type: integer
    XCreditsRemaining:
      description: Credits left on this key after the call.
      schema:
        type: integer
  responses:
    InsufficientCredits:
      description: No credits remaining.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: insufficient_credits
            message: You have no credits remaining. Buy credits to continue.
            upgradeUrl: https://corpuslaw.us/api/v1/billing/checkout
    RateLimited:
      description: Rate limit exceeded. Respect `Retry-After`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: rate_limited
            message: Rate limit exceeded. Try again in 60 seconds.
            retryAfterSec: 60
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: invalid_api_key
            message: 'A valid API key is required. Pass it via the Authorization: Bearer <key> header.'
    Forbidden:
      description: Key lacks the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: insufficient_scope
            message: This key does not have any of the required scopes.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Pass your key as `Authorization: Bearer <api_key>`. Header only — query-param auth is disabled in production.'
x-refined-from:
- corpuslaw-us-openapi.json
- corpuslaw-us-openapi.yml