REST API
All paths are on the API host and need Authorization: Bearer fs_…. Errors look like {"error":{"code":"…","message":"…"}}. The complete list of operations is in api/openapi.yaml.
Filings
GET /v1/filings lists filings newest first.
| Parameter | Meaning |
|---|---|
ticker, form, cik | comma-separated filters |
limit | 1–200, default 50 |
before_seq | page back: pass the previous response's next_before_seq |
after_seq | page forward from a sequence (mutually exclusive with before_seq) |
The response is {"data":[…], "next_before_seq":N} (or next_after_seq); the cursor is present when more pages may follow. How far back you can read depends on your plan's history window; older filings answer 404.
GET /v1/filings/{accession} returns one filing by accession number (0000320193-26-000101).
REST list endpoints filter by company and form. Keyword filtering is a subscription/stream feature, because it works on the text of documents at the moment a filing arrives.
Subscriptions and deliveries
See Subscriptions and Webhooks: /v1/subscriptions, /v1/subscriptions/{id}, /test, /rotate-secret, /deliveries, /v1/deliveries/{id} and /retry.
Usage
GET /v1/usage?from=YYYY-MM-DD&to=YYYY-MM-DD returns a daily series and the month-to-date totals of events, API requests and webhook attempts next to your plan limits (null means unlimited).
Errors
| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_request | malformed parameters or body |
| 401 | unauthorized | missing, wrong, revoked or expired key |
| 403 | plan_limit | the plan does not allow this; limit and max say which limit |
| 404 | not_found | no such object (also for other accounts' objects) |
| 422 | invalid_filter | the subscription filter is invalid |
| 429 | limit_exceeded, rate_limited | a limit or rate limit was hit; wait and retry |
| 5xx | internal | our fault; retry with backoff |