SEC EDGAR Frames API

Cross-company data for a concept in a specific period

Operations 1

GET /api/xbrl/frames/{taxonomy}/{tag}/{unit}/{period}.json Get cross-company data for a concept in a period #

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

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

sec-frames-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SEC EDGAR Data Frames API
  description: 'The EDGAR Data API at data.sec.gov provides RESTful access to public company financial filings, XBRL structured financial data, and company metadata without requiring authentication or API keys. The API delivers JSON-formatted responses covering company submissions (filing history), XBRL financial facts across all reporting periods, single XBRL concept values over time, and cross-company comparative frames for US-GAAP and IFRS taxonomies.

    '
  version: 1.0.0
  contact:
    name: SEC EDGAR Help
    url: https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany
  license:
    name: Public Domain
    url: https://www.sec.gov/privacy.htm
  termsOfService: https://www.sec.gov/privacy.htm
servers:
- url: https://data.sec.gov
  description: SEC EDGAR Data API
tags:
- name: Frames
  description: Cross-company data for a concept in a specific period
paths:
  /api/xbrl/frames/{taxonomy}/{tag}/{unit}/{period}.json:
    get:
      operationId: getXBRLFrame
      summary: Get cross-company data for a concept in a period
      description: 'Returns data for a given XBRL concept across all companies that reported it for a specific period. This enables cross-company comparisons for any financial metric. Periods can be annual (CY2023), quarterly (CY2023Q1), or instantaneous (CY2023Q1I for point-in-time balance sheet concepts). The response includes each company''s CIK, entity name, accession number, location reference, and reported value.

        '
      tags:
      - Frames
      parameters:
      - name: taxonomy
        in: path
        required: true
        description: 'XBRL taxonomy. One of us-gaap, ifrs-full, dei, or srt.

          '
        schema:
          type: string
          enum:
          - us-gaap
          - ifrs-full
          - dei
          - srt
          example: us-gaap
      - name: tag
        in: path
        required: true
        description: XBRL concept tag name.
        schema:
          type: string
          example: AccountsPayableCurrent
      - name: unit
        in: path
        required: true
        description: 'Unit of measure. Common values: USD, shares, pure, USD-per-shares.

          '
        schema:
          type: string
          example: USD
      - name: period
        in: path
        required: true
        description: 'Reporting period. Annual: CY2023. Quarterly duration: CY2023Q1. Quarterly instantaneous: CY2023Q1I.

          '
        schema:
          type: string
          pattern: ^CY\d{4}(Q[1-4]I?)?$
          example: CY2023Q1I
      responses:
        '200':
          description: Cross-company XBRL frame data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XBRLFrame'
        '404':
          description: Frame data not found for given parameters
        '429':
          description: Rate limit exceeded
components:
  schemas:
    XBRLFrame:
      type: object
      description: Cross-company data for a concept in a specific period
      properties:
        taxonomy:
          type: string
          description: XBRL taxonomy
          example: us-gaap
        tag:
          type: string
          description: XBRL concept tag name
          example: AccountsPayableCurrent
        ccp:
          type: string
          description: Calendar period (e.g., CY2023Q1I)
          example: CY2023Q1I
        uom:
          type: string
          description: Unit of measure
          example: USD
        label:
          type: string
          description: Human-readable label
        description:
          type: string
          description: Concept definition
        pts:
          type: integer
          description: Number of data points in the frame
        data:
          type: array
          description: Array of company data points
          items:
            $ref: '#/components/schemas/FrameDataPoint'
    FrameDataPoint:
      type: object
      description: A single company's value for the frame concept and period
      properties:
        accn:
          type: string
          description: Accession number
          example: 0000320193-23-000006
        cik:
          type: integer
          description: Company CIK
          example: 320193
        entityName:
          type: string
          description: Company name
          example: Apple Inc.
        loc:
          type: string
          description: XBRL location reference
          example: 10-Q
        end:
          type: string
          format: date
          description: Period end or instant date
          example: '2023-04-01'
        val:
          type: number
          description: Reported value
          example: 62611000000