SEC API · Authentication Profile

Sec Api Authentication

Authentication

SEC API secures its APIs with apiKey across 3 declared security schemes, as derived from its OpenAPI definitions.

SEC FilingsRegulatory FilingsEDGARFinancial DataComplianceGovernment ReportsInsider Trading13FXBRLFull-Text Search
Methods: apiKey Schemes: 3 OAuth flows: API key in:

Security Schemes

apiKeyHeader apiKey
scheme: Authorization · in: header ()
apiKeyQuery apiKey
scheme: token · in: query ()
apiKeyWebSocket apiKey
scheme: apiKey · in: query ()

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: documented
source: https://sec-api.io/docs (query-api, full-text-search, stream-api)
summary:
  types:
  - apiKey
schemes:
- name: apiKeyHeader
  type: apiKey
  in: header
  scheme: Authorization
  description: >-
    REST calls authenticate with a single API token from your sec-api.io
    account, passed directly in the Authorization header with no `Bearer`
    prefix, e.g. `Authorization: YOUR_API_KEY`.
  sources:
  - https://sec-api.io/docs/query-api
  - openapi/sec-api-openapi.yml
- name: apiKeyQuery
  type: apiKey
  in: query
  scheme: token
  description: >-
    Alternative for REST calls: pass the same API token as the `token` query
    parameter, e.g. `https://api.sec-api.io?token=YOUR_API_KEY`.
  sources:
  - https://sec-api.io/docs/query-api
  - openapi/sec-api-openapi.yml
- name: apiKeyWebSocket
  type: apiKey
  in: query
  scheme: apiKey
  description: >-
    The real-time Filing Stream WebSocket authenticates with the token as the
    `apiKey` query parameter on the connection URL, e.g.
    `wss://stream.sec-api.io?apiKey=YOUR_API_KEY`.
  sources:
  - https://sec-api.io/docs/stream-api
  - asyncapi/sec-api-asyncapi.yml