Paper and Beyond Xbrl API

The xbrl API from Paper and Beyond — 2 operation(s) for xbrl.

Business capability
Market & Financial Data AE-230.20

Operations 2

GET /v1/xbrl/by-accession/{accession} All XBRL concepts reported in one filing #
GET /v1/xbrl/{ident} Full XBRL financials as JSON #

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/edgrapi:edgrapi-xbrl-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

edgrapi-xbrl-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Edgrapi — US Government Data Xbrl API
  description: Official US government data as clean JSON on one API key. SEC EDGAR filings (insider Form 4 trades, 8-K events, 13F fund holdings, 13D/13G activist stakes, financial statements and ratios), SAM.gov federal contract opportunities, USAspending awards, Grants.gov grant opportunities, and US House Congress stock trades. Hosted MCP server plus REST, with real-time webhooks when a watched company files. One key, one normalized schema.
  contact:
    name: Edgrapi
    url: https://edgrapi.com/
  license:
    name: Proprietary
  version: 1.0.0
tags:
- name: xbrl
paths:
  /v1/xbrl/by-accession/{accession}:
    get:
      tags:
      - xbrl
      summary: All XBRL concepts reported in one filing
      description: 'Every XBRL concept value reported in a single filing, matched on the accession

        number. Reconstructs one filing''s structured data — each concept with its tag,

        label, unit, value, and period.'
      operationId: xbrl_by_accession_v1_xbrl_by_accession__accession__get
      parameters:
      - name: accession
        in: path
        required: true
        schema:
          type: string
          description: Accession number, e.g. 0000320193-24-000123
          title: Accession
        description: Accession number, e.g. 0000320193-24-000123
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/xbrl/{ident}:
    get:
      tags:
      - xbrl
      summary: Full XBRL financials as JSON
      description: 'Convert a company''s full SEC XBRL (companyfacts) to JSON. By default returns the

        normalized income statement, balance sheet and cash flow across every reported

        period, plus a `concepts_index` of every us-gaap/dei tag the filer reports. Pass

        `concept=` to pull the raw time series for any specific tag(s) — the complete

        converter, not just the curated fundamentals.'
      operationId: xbrl_v1_xbrl__ident__get
      parameters:
      - name: ident
        in: path
        required: true
        schema:
          type: string
          description: Stock ticker or CIK, e.g. AAPL or 320193
          title: Ident
        description: Stock ticker or CIK, e.g. AAPL or 320193
      - name: period
        in: query
        required: false
        schema:
          type: string
          pattern: ^(annual|quarterly)$
          default: annual
          title: Period
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Max periods per statement
          default: 40
          title: Limit
        description: Max periods per statement
      - name: concept
        in: query
        required: false
        schema:
          type: string
          description: Comma-separated us-gaap/dei tag(s) to return the raw series for, e.g. Revenues,Assets. Omit for normalized statements + the full concept index.
          title: Concept
        description: Comma-separated us-gaap/dei tag(s) to return the raw series for, e.g. Revenues,Assets. Omit for normalized statements + the full concept index.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError