DATPAQ SEC Filings API

SEC EDGAR company profiles, filings, and XBRL facts

Operations 5

GET /sec-filings/catalog List supported forms, taxonomies, and limits #
GET /sec-filings/company Get a company profile by CIK or ticker #
GET /sec-filings/filings List recent filings for a company #
GET /sec-filings/forms/{formType} List a company's filings of one form type #
GET /sec-filings/facts Get XBRL concept facts for a company #

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/datpaq-com:datpaq-com-sec-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

datpaq-com-sec-filings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datpaq Com SEC Filings API
  version: 1.1.0
  contact:
    name: Datpaq Support
    url: https://datpaq.com
  license:
    name: Proprietary
  description: 'Operations tagged SEC Filings across 2 of this provider''s published API definitions: datpaq-com.yaml, datpaq-com-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://datpaq.com/api/v1
  description: Production
- url: https://staging.datpaq.com/api/v1
  description: Staging
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: SEC Filings
  description: SEC EDGAR company profiles, filings, and XBRL facts
paths:
  /sec-filings/catalog:
    get:
      tags:
      - SEC Filings
      operationId: secFilingsCatalog
      summary: List supported forms, taxonomies, and limits
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
  /sec-filings/company:
    get:
      tags:
      - SEC Filings
      operationId: secFilingsCompany
      summary: Get a company profile by CIK or ticker
      parameters:
      - name: cik
        in: query
        required: false
        description: SEC CIK identifier (or pass --ticker)
        schema:
          type: string
          example: '320193'
      - name: ticker
        in: query
        required: false
        description: Stock ticker (or pass --cik)
        schema:
          type: string
          example: AAPL
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
              example:
                success: true
                source: sec-edgar
                company:
                  cik: 0000320193
                  ticker: AAPL
                count: 1
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
  /sec-filings/filings:
    get:
      tags:
      - SEC Filings
      operationId: secFilingsFilings
      summary: List recent filings for a company
      parameters:
      - name: form
        in: query
        required: false
        description: Single form filter
        schema:
          type: string
          example: 10-K
      - name: forms
        in: query
        required: false
        description: Comma-separated form filters
        schema:
          type: string
          example: 10-K,10-Q
      - name: cik
        in: query
        required: false
        description: SEC CIK identifier (or pass --ticker)
        schema:
          type: string
          example: '320193'
      - name: ticker
        in: query
        required: false
        description: Stock ticker (or pass --cik)
        schema:
          type: string
          example: AAPL
      - name: sort
        in: query
        required: false
        description: 'Filing date order: desc (default) or asc'
        schema:
          type: string
          example: desc
      - name: limit
        in: query
        required: false
        description: Max filings (1-100, default 20)
        schema:
          type: integer
          example: 20
      - name: offset
        in: query
        required: false
        description: Pagination offset (0-2000)
        schema:
          type: integer
          example: 0
      - name: fromDate
        in: query
        required: false
        description: Inclusive lower filing date (YYYY-MM-DD)
        schema:
          type: string
          example: '2024-01-01'
      - name: toDate
        in: query
        required: false
        description: Inclusive upper filing date (YYYY-MM-DD)
        schema:
          type: string
          example: '2024-12-31'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
  /sec-filings/forms/{formType}:
    get:
      tags:
      - SEC Filings
      operationId: secFilingsForms
      summary: List a company's filings of one form type
      parameters:
      - name: formType
        in: path
        required: true
        description: Form type
        schema:
          type: string
          example: 10-K
      - name: cik
        in: query
        required: false
        description: SEC CIK identifier (or pass --ticker)
        schema:
          type: string
          example: '320193'
      - name: ticker
        in: query
        required: false
        description: Stock ticker (or pass --cik)
        schema:
          type: string
          example: AAPL
      - name: sort
        in: query
        required: false
        description: 'Filing date order: desc (default) or asc'
        schema:
          type: string
          example: desc
      - name: limit
        in: query
        required: false
        description: Max filings (1-100, default 20)
        schema:
          type: integer
          example: 20
      - name: offset
        in: query
        required: false
        description: Pagination offset (0-2000)
        schema:
          type: integer
          example: 0
      - name: fromDate
        in: query
        required: false
        description: Inclusive lower filing date (YYYY-MM-DD)
        schema:
          type: string
          example: '2024-01-01'
      - name: toDate
        in: query
        required: false
        description: Inclusive upper filing date (YYYY-MM-DD)
        schema:
          type: string
          example: '2024-12-31'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
  /sec-filings/facts:
    get:
      tags:
      - SEC Filings
      operationId: secFilingsFacts
      summary: Get XBRL concept facts for a company
      parameters:
      - name: cik
        in: query
        required: false
        description: SEC CIK identifier (or pass --ticker)
        schema:
          type: string
          example: '320193'
      - name: ticker
        in: query
        required: false
        description: Stock ticker (or pass --cik)
        schema:
          type: string
          example: AAPL
      - name: tag
        in: query
        required: true
        description: XBRL concept tag
        schema:
          type: string
          example: Assets
      - name: taxonomy
        in: query
        required: false
        description: XBRL taxonomy (default us-gaap)
        schema:
          type: string
          example: us-gaap
      - name: units
        in: query
        required: false
        description: Preferred unit key
        schema:
          type: string
          example: USD
      - name: limit
        in: query
        required: false
        description: Max facts (1-40, default 12)
        schema:
          type: integer
          example: 12
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
          example: Invalid API key
        correlationId:
          type: string
          description: Request tracking identifier for support
          example: abc123-def456-789ghi
        service:
          type: string
          description: Service name that produced the error
          example: ip-geolocation
    GenericSuccess:
      type: object
      description: Standard success envelope. The data property structure varies by endpoint.
      properties:
        correlationId:
          type: string
          description: Request tracking identifier
          example: abc123-def456
        data:
          type: object
          description: Response payload (structure varies by endpoint)
        cached:
          type: boolean
          description: Whether the response was served from cache
          example: false
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Rate limit exceeded — retry after the indicated period
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServiceUnavailable:
      description: Service temporarily unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API key passed via x-api-key request header
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: API key passed as api_key query parameter
x-refined-from:
- datpaq-com.yaml
- datpaq-com-openapi.yaml