ko.io Filings API

The EDGAR gateway: list filings and open source documents.

GitHub OpenAPI

Operations 5

GET /api/v1/filings/{cik} List filings #
GET /api/v1/filings/{cik}/{accession} Filing index (documents in a filing) #
GET /api/v1/filings/{cik}/{accession}/file Fetch a document from a filing #
GET /api/v1/filings/{cik}/{accession}/asset Fetch a referenced asset (signed link) #
GET /api/v1/filings/{cik}/{accession}/share Share a filing document #

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/ko-io:ko-io-filings-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

ko-io-filings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ko.io Financial Data Filings API
  description: 'U.S. regulatory and market data for researchers, developers and AI agents:

    13F institutional holdings, Form 4 insider trades, congressional trades,

    spot bitcoin ETF holders, N-PORT fund holdings, stock fundamentals and prices,

    macro series and the EDGAR filings gateway. 100M+ source records across

    regulatory and public-data sources; coverage and update schedules vary by dataset.


    - **Base URL:** `https://api.ko.io`

    - **Auth:** send your API key as `Authorization: Bearer ko_live_...`. Free-plan

    endpoints also accept `?demo=true` without a key (demo mode, rate-limited per IP).

    - **Free plan:** the most recent quarter and latest data only, 200 calls a day,

    500 rows per request. Full history requires Pro or higher; endpoints that need

    a paid plan carry the `x-plan-gate` extension and return `403 PLAN_REQUIRED`

    below that plan.

    - **Pro:** $60 a month or $600 a year, VAT included: full history, macro series,

    13D/G, Form D, PDF reports and filing documents; 5,000 rows per request and

    20,000 calls a day. **Builder** (on request) adds bulk export, up to 50,000 rows

    per request and 200,000 calls a day. Pricing: https://ko.io/pricing/

    - **Responses:** `{ data, meta }` on success, `{ error: { code, message } }` on failure.


    Response examples are real responses captured in demo mode on the date recorded

    in the raw OpenAPI spec, abridged to the first rows. Live requests may return a newer

    reporting period.'
  version: 2.0.0
servers:
- url: https://api.ko.io
tags:
- name: Filings
  description: 'The EDGAR gateway: list filings and open source documents.'
paths:
  /api/v1/filings/{cik}:
    get:
      operationId: get_v1_filings_cik
      summary: List filings
      tags:
      - Filings
      description: List SEC filings for a CIK (EDGAR gateway). Free plan; also works in demo mode (`?demo=true`, no key).
      x-plan-gate: free
      security:
      - apiKey: []
      - {}
      parameters:
      - name: cik
        in: path
        required: true
        description: SEC Central Index Key (CIK), digits only, e.g. `1067983`.
        schema:
          type: string
      - name: demo
        in: query
        description: Set to true to call without a key (demo mode, Free-plan endpoints only).
        schema:
          type: boolean
      - name: form
        in: query
        description: Filter by form type, e.g. 13F-HR, 10-K, 4.
        schema:
          type: string
      - name: limit
        in: query
        description: Number of filings to return, most recent first (default 50, maximum 200). This endpoint is not paginated.
        schema:
          type: integer
          default: 50
          maximum: 200
      - name: from
        in: query
        description: From date `YYYY-MM-DD`
        schema:
          type: string
      - name: to
        in: query
        description: To date `YYYY-MM-DD`
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEnvelope'
              example:
                data:
                - accession: 0001193125-26-352200
                  form: 13F-HR
                  filingDate: '2026-08-14'
                  primaryDocument: xslForm13F_X02/primary_doc.xml
                  primaryDocDescription: ''
                - accession: 0001193125-26-226661
                  form: 13F-HR
                  filingDate: '2026-05-15'
                  primaryDocument: xslForm13F_X02/primary_doc.xml
                  primaryDocDescription: ''
                - accession: 0001193125-26-054580
                  form: 13F-HR
                  filingDate: '2026-02-17'
                  primaryDocument: xslForm13F_X02/primary_doc.xml
                  primaryDocDescription: ''
                meta:
                  source: SEC EDGAR
                  count: 39
        '400':
          description: Malformed `cik` (`BAD_REQUEST`); malformed `limit` (`INVALID_PARAM`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: SEC EDGAR answered with an error (`UPSTREAM_ERROR`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: SEC EDGAR did not answer in time (`UPSTREAM_TIMEOUT`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/filings/{cik}/{accession}:
    get:
      operationId: get_v1_filings_cik_accession
      summary: Filing index (documents in a filing)
      tags:
      - Filings
      description: Free plan; also works in demo mode (`?demo=true`, no key).
      x-plan-gate: free
      security:
      - apiKey: []
      - {}
      parameters:
      - name: cik
        in: path
        required: true
        description: SEC Central Index Key (CIK), digits only, e.g. `1067983`.
        schema:
          type: string
      - name: accession
        in: path
        required: true
        description: Filing accession number, e.g. `0002100119-26-001527`.
        schema:
          type: string
      - name: demo
        in: query
        description: Set to true to call without a key (demo mode, Free-plan endpoints only).
        schema:
          type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEnvelope'
              example:
                data:
                  cik: '1067983'
                  accession: 0001193125-26-352200
                  files:
                  - name: 0001193125-26-352200-index-headers.html
                    type: text.gif
                    size: 0
                    lastModified: '2026-08-14 16:05:04'
                  - name: 0001193125-26-352200-index.html
                    type: text.gif
                    size: 0
                    lastModified: '2026-08-14 16:05:04'
                  - name: 0001193125-26-352200.txt
                    type: text.gif
                    size: 0
                    lastModified: '2026-08-14 16:05:04'
                meta:
                  source: SEC EDGAR
                  fileCount: 5
        '400':
          description: Malformed `cik` or `accession` (`BAD_REQUEST`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: SEC EDGAR answered with an error (`UPSTREAM_ERROR`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: SEC EDGAR did not answer in time (`UPSTREAM_TIMEOUT`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/filings/{cik}/{accession}/file:
    get:
      operationId: get_v1_filings_cik_accession_file
      summary: Fetch a document from a filing
      tags:
      - Filings
      description: Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
      x-plan-gate: pro
      security:
      - apiKey: []
      - {}
      parameters:
      - name: cik
        in: path
        required: true
        description: SEC Central Index Key (CIK), digits only, e.g. `1067983`.
        schema:
          type: string
      - name: accession
        in: path
        required: true
        description: Filing accession number, e.g. `0002100119-26-001527`.
        schema:
          type: string
      - name: demo
        in: query
        description: Set to true to call without a key (demo mode, Free-plan endpoints only).
        schema:
          type: boolean
      - name: file
        in: query
        description: File name within the filing (from the filing index). Omit it for the primary document.
        schema:
          type: string
      - name: format
        in: query
        description: 'html (default): the rendered document; markdown: extracted text; raw: the file bytes as filed.'
        schema:
          type: string
          enum:
          - html
          - markdown
          - raw
          default: html
      responses:
        '200':
          description: Success. Returns the document itself (text/html, text/markdown or the original content type), not the `{ data, meta }` envelope.
          content:
            text/html:
              schema:
                type: string
            text/markdown:
              schema:
                type: string
            application/octet-stream:
              schema:
                type: string
                format: binary
        '400':
          description: Malformed `cik` or `accession`, or a `file` path with `..` (`BAD_REQUEST`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
          content:
            application/json:
              example:
                error:
                  code: PLAN_REQUIRED
                  message: Source filing documents require Pro. Upgrade at https://ko.io/pricing/
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: SEC EDGAR answered with an error (`UPSTREAM_ERROR`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: SEC EDGAR did not answer in time (`UPSTREAM_TIMEOUT`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/filings/{cik}/{accession}/asset:
    get:
      operationId: get_v1_filings_cik_accession_asset
      summary: Fetch a referenced asset (signed link)
      tags:
      - Filings
      description: Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
      x-plan-gate: pro
      security:
      - apiKey: []
      - {}
      parameters:
      - name: cik
        in: path
        required: true
        description: SEC Central Index Key (CIK), digits only, e.g. `1067983`.
        schema:
          type: string
      - name: accession
        in: path
        required: true
        description: Filing accession number, e.g. `0002100119-26-001527`.
        schema:
          type: string
      - name: demo
        in: query
        description: Set to true to call without a key (demo mode, Free-plan endpoints only).
        schema:
          type: boolean
      - name: u
        in: query
        description: Signed asset URL token
        schema:
          type: string
      responses:
        '200':
          description: Success. Returns the referenced asset bytes with the asset's content type.
          content:
            '*/*':
              schema:
                type: string
                format: binary
        '400':
          description: Malformed `cik` or `accession`, or `u` missing or not a sec.gov URL (`BAD_REQUEST`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
          content:
            application/json:
              example:
                error:
                  code: PLAN_REQUIRED
                  message: Source filing documents require Pro. Upgrade at https://ko.io/pricing/
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '502':
          description: SEC EDGAR answered with an error (`UPSTREAM_ERROR`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: SEC EDGAR did not answer in time (`UPSTREAM_TIMEOUT`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/filings/{cik}/{accession}/share:
    get:
      operationId: get_v1_filings_cik_accession_share
      summary: Share a filing document
      tags:
      - Filings
      description: Create a shareable signed link to a filing document. Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
      x-plan-gate: pro
      security:
      - apiKey: []
      - {}
      parameters:
      - name: cik
        in: path
        required: true
        description: SEC Central Index Key (CIK), digits only, e.g. `1067983`.
        schema:
          type: string
      - name: accession
        in: path
        required: true
        description: Filing accession number, e.g. `0002100119-26-001527`.
        schema:
          type: string
      - name: demo
        in: query
        description: Set to true to call without a key (demo mode, Free-plan endpoints only).
        schema:
          type: boolean
      responses:
        '200':
          description: 'Success: the `{ data, meta }` envelope. Example responses are published for Free-plan endpoints; this endpoint needs a paid key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEnvelope'
        '400':
          description: Malformed `cik` or `accession` (`BAD_REQUEST`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Requires Pro or higher. Returns `403 PLAN_REQUIRED` on Free/demo.
          content:
            application/json:
              example:
                error:
                  code: PLAN_REQUIRED
                  message: Source filing documents require Pro. Upgrade at https://ko.io/pricing/
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
    ApiEnvelope:
      type: object
      description: 'Standard response envelope `{ data, meta }`. For most list endpoints `data` is an array of row objects and pagination lives in `meta`. A few endpoints nest their payload inside `data`, as each one documents: financials/historical (an object with `quarterly` and `annual` row arrays), stock-holders (a paginated object whose rows are at `data.data`) and crypto/exposure-summary (an object). v1 shapes are frozen for backward compatibility.'
      properties:
        data:
          description: The response payload (array of rows or an object), shape varies by endpoint.
        meta:
          type: object
          description: 'Pagination + plan metadata (total_count, page, per_page, truncated, upgrade_hint, query_time_ms). Some endpoints also surface resolver hints here (e.g. resolved_member, candidates, quarters). Page size: every paginated list reads `per_page`, with `limit` accepted as an alias (a non-empty `per_page` wins). `meta.pagination` = `{ page, per_page, total_count, total_pages }` (all numbers; `per_page` is the size actually applied after plan caps) is emitted by every paginated list (research insider-signals with `list=all` counts the longest of its three lists; research ticker with `action=all` pages per bucket, so its `total_pages` comes from the longest bucket while `total_count` stays the population; research inbox returns it as null when its source counts could not be read); the older `total_count` / `totalCount` fields stay as they were on each route (some are numeric strings) and are deprecated in favour of it. Percentages and ratios are binary floats and can carry noise (`12.620000000000001`): format them to 2 decimal places on the client.'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: ko.io API key (ko_live_...). Create one at https://ko.io/console/keys/
    bearerJwt:
      type: http
      scheme: bearer
      description: Console session JWT (for account/billing endpoints).
x-tagGroups:
- name: Data
  tags:
  - Search
  - Institutions
  - Stocks
  - Insiders
  - Congress
  - Government contracts
  - Crypto
  - Funds
  - Short Data
  - SEC Filings
  - Filings
  - Macro
  - Europe
  - Research
  - Dashboards
  - Bulk
- name: Service
  tags:
  - Meta