Passage Data Cite API

The Cite API from Passage Data — 1 operation(s) for cite.

GitHub OpenAPI

Operations 2

GET /cite Cite numbers or phrases from a public document by page #
POST /cite Cite numbers or phrases from a public document by page #

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/passage-data-com:passage-data-com-cite-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

passage-data-com-cite-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Passage Data — cited environmental limits Cite API
  version: 1.28.0
  summary: Numeric environmental limits and guidelines read from the regulations themselves, every row cited to its source; a species' status under each species register held, cited; a species file's columns mapped to Darwin Core, and the file built into a Darwin Core archive; and a US NPDES permit's monthly report checked against its limits, or computed from the plant's own rows; a published Darwin Core archive's defects, audited; and whether a file's occurrence records publish a listed species at a precision that exposes it.
  description: 'Discharge limits and water, groundwater and air quality guidelines from US federal effluent guidelines, the rules of 31 US states and DC, Canadian federal and provincial rules, and German, French, Italian and EU instruments; and the status a species holds under the species registers we hold (US ESA, SARA, COSEWIC, provincial acts, IUCN, CITES, CMS, EU and UK schedules). Every row carries a `cite` block: instrument, edition, section or page, the quoted text, source URL and sha256. An answer with nothing to give is a `refused` block naming what was searched; it is a statement about our sources, not about the law of a place. Also served as an MCP server at https://passage-data.com/mcp, which also lists an account''s own sites (list_sites, create_site, add_document, ask_site): a connector signs in by OAuth 2.1 (metadata at /.well-known/oauth-protected-resource/mcp), or a client sends the account''s key as `Authorization: Bearer pdk_…`; those tools have no HTTP route here. Free while in preview; calls may be rate-limited. Pages are free. Without a key a caller has 100 tool calls a UTC day (then 429 allowance.spent). A free key (an email or Google sign-in, no card: https://passage-data.com/?keys) is sent as Authorization: Bearer pdk_... or x-api-key and carries $10 of calls a month, renewed on the 1st UTC (then 402 credit.spent); GET https://passage-data.com/w/credits/balance with the key shows the month. Paid credit is not open yet.'
servers:
- url: https://passage-data.com/api/v1
security:
- {}
- accountKey: []
- apiKeyHeader: []
tags:
- name: Cite
paths:
  /cite:
    get:
      operationId: cite_document
      summary: Cite numbers or phrases from a public document by page
      description: 'A public document sent here is kept in our library, to be indexed and read into cited rows; a link on a file-sharing host or carrying a signature or token is read and never kept (`kept` says which, and why). Each `find` is located on the document''s own page text, exactly as typed (a number as printed: 0.10 is not 0.1, a decimal comma reads as a point; spaces optional; any case; µg read as ug), and answered with every page it is printed on (`n_hits`, the first 5 with their `quote` and `cite`: page, address, the document''s sha256, the day read). A find not printed on the pages read is in `not_found`. `held_as` names the instruments this server reads rows from when the document is one of them. PDFs, web pages and plain text up to 40 MiB; a scan with no text layer is refused (read.no_text).'
      parameters:
      - name: url
        in: query
        required: true
        schema:
          type: string
        description: The document's public http(s) address.
      - name: find
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          maxItems: 10
        style: form
        explode: true
        description: What to cite, as the document prints it; repeat for each (at most 10).
      responses:
        '200':
          description: Each find with its pages and quotes; or a `refused` block from reading the document (read.http_<status>, read.unreachable, read.private_host, read.kind_unread, read.no_text, read.damaged, read.failed, engine.timeout, engine.unreachable)
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  final_url:
                    type: string
                  sha256:
                    type: string
                  bytes:
                    type: integer
                  kind:
                    type: string
                    enum:
                    - pdf
                    - html
                    - text
                  n_pages:
                    type: integer
                  title:
                    type: string
                  fetched_at:
                    type: string
                  found:
                    type: array
                    items:
                      type: object
                      properties:
                        find:
                          type: string
                        n_hits:
                          type: integer
                        hits:
                          type: array
                          items:
                            type: object
                            properties:
                              page:
                                type: integer
                              printed:
                                type: string
                              quote:
                                type: string
                              cite:
                                type: string
                  not_found:
                    type: array
                    items:
                      type: object
                      properties:
                        find:
                          type: string
                        says:
                          type: string
                  says:
                    type: string
                  kept:
                    type: object
                    properties:
                      kept:
                        type: boolean
                      why:
                        type: string
                  held_as:
                    type: array
                    items:
                      type: object
                  next:
                    type: string
                  refused:
                    $ref: '#/components/schemas/Refused'
        '400':
          description: url.missing, url.malformed, find.missing, find.too_many, read.bad_address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '413':
          description: read.too_large (over 40 MiB)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '429':
          description: 'cite.daily_cap: the door''s reads for the UTC day are spent; nothing was opened'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '503':
          description: cite.not_configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
      tags:
      - Cite
    post:
      operationId: cite_document_post
      summary: Cite numbers or phrases from a public document by page
      description: 'A public document sent here is kept in our library, to be indexed and read into cited rows; a link on a file-sharing host or carrying a signature or token is read and never kept (`kept` says which, and why). Each `find` is located on the document''s own page text, exactly as typed (a number as printed: 0.10 is not 0.1, a decimal comma reads as a point; spaces optional; any case; µg read as ug), and answered with every page it is printed on (`n_hits`, the first 5 with their `quote` and `cite`: page, address, the document''s sha256, the day read). A find not printed on the pages read is in `not_found`. `held_as` names the instruments this server reads rows from when the document is one of them. PDFs, web pages and plain text up to 40 MiB; a scan with no text layer is refused (read.no_text).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - find
              additionalProperties: false
              properties:
                url:
                  type: string
                find:
                  type: array
                  items:
                    type: string
                    maxLength: 120
                  minItems: 1
                  maxItems: 10
      responses:
        '200':
          description: Each find with its pages and quotes; or a `refused` block from reading the document (read.http_<status>, read.unreachable, read.private_host, read.kind_unread, read.no_text, read.damaged, read.failed, engine.timeout, engine.unreachable)
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                  final_url:
                    type: string
                  sha256:
                    type: string
                  bytes:
                    type: integer
                  kind:
                    type: string
                    enum:
                    - pdf
                    - html
                    - text
                  n_pages:
                    type: integer
                  title:
                    type: string
                  fetched_at:
                    type: string
                  found:
                    type: array
                    items:
                      type: object
                      properties:
                        find:
                          type: string
                        n_hits:
                          type: integer
                        hits:
                          type: array
                          items:
                            type: object
                            properties:
                              page:
                                type: integer
                              printed:
                                type: string
                              quote:
                                type: string
                              cite:
                                type: string
                  not_found:
                    type: array
                    items:
                      type: object
                      properties:
                        find:
                          type: string
                        says:
                          type: string
                  says:
                    type: string
                  kept:
                    type: object
                    properties:
                      kept:
                        type: boolean
                      why:
                        type: string
                  held_as:
                    type: array
                    items:
                      type: object
                  next:
                    type: string
                  refused:
                    $ref: '#/components/schemas/Refused'
        '400':
          description: url.missing, url.malformed, find.missing, find.too_many, read.bad_address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '413':
          description: read.too_large (over 40 MiB)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '429':
          description: 'cite.daily_cap: the door''s reads for the UTC day are spent; nothing was opened'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
        '503':
          description: cite.not_configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
      tags:
      - Cite
components:
  schemas:
    Refused:
      type: object
      properties:
        refused:
          type: object
          properties:
            code:
              type: string
            says:
              type: string
  securitySchemes:
    accountKey:
      type: http
      scheme: bearer
      description: An account key (pdk_...) made at https://passage-data.com/?keys, or an app's OAuth access token (pdo_...).
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same account key, in its own header.