Authentication
Create an API key in the signed-in dashboard and provide it to the calling process asSECAPI_API_KEY.
x-api-key. Do not expose a machine key in frontend code or use it as an Authorization: Bearer token. Browser-session bearer authorization is for documented signed-in account operations.
Choose an interface
The First request flows page gives a source-backed example for each path. Use the API reference as the authority for REST parameters, response fields, and endpoint-specific limits.
Preserve provenance
For filing-derived work, persistaccessionNumber, form, filingDate, filingUrl, and requestId when returned. That is the artifact a reviewer needs to find the source again. Also preserve returned provenance, freshness, materialization, pagination, warning, and trace fields when the route supplies them.
Do not treat a current latest filing as immutable. Record retrieval time and source identifiers, and distinguish the filing’s disclosed facts from your application’s or agent’s interpretation.
Errors, limits, and repeated work
Correct400 requests from the reference or discovered MCP schema. Repair credentials for 401 and 403; stop for 402 billing or entitlement conditions. On 429, honor Retry-After when present and avoid parallel retry loops. Preserve the request identifier from both successes and failures.
Before a repeated workflow, read GET /v1/billing and GET /v1/limits with the same API key, then use POST /v1/billing/quote for the current billing decision. Quotes do not reserve usage. Read Agent billing for account-boundary details and API conventions for pagination and response behavior.
