RiskPilot customer API
SEC filing signals and the whole customer account, as JSON, for the web app, servers and mobile apps.
Released signals from SEC filings, the companies behind them, an ACTION leaderboard, a live stream, and everything a customer does in the web app (account, team, two-factor, billing, watchlist, alerts, inbox, push, chat, support, privacy), as JSON. The same API serves the web app, servers and mobile apps.
Authentication
Send Authorization: Bearer <credential>. No cookie and no CSRF token is ever needed for customer routes.
| Credential | Prefix | Reaches |
|---|---|---|
Session (customerSession) | rps_ | everything a person can do; team roles apply (x-team-role: any, billing, owner, holder) |
Live API key (liveKey) | rp_ | data and account routes (not the person-only routes: 403 session_required) |
Named API key (namedKey) | rpk_ | data routes only, within its scopes (signals:read, companies:read); others 403 key_not_allowed / key_scope |
Sandbox key (sandboxKey) | rpsb_ | the delayed public sample on GET /signals and /signals/{filingId}; others 403 sandbox_read_only |
Feed token (feedToken) | rpf_ | GET /customer/feed.rss only, in the URL as ?token= (feed readers cannot send headers) |
Sign-in for apps. Password: POST /customer/login → { session, next, twoFactor? }; with twoFactor: "required" send the code to POST /customer/2fa/verify with that session. Providers (Google, Microsoft, GitHub, Apple) from a native app: GET /customer/oauth/{provider}/start with redirect_uri, code_challenge and code_challenge_method=S256 in the system browser, then POST /customer/oauth/native/token. Then POST /customer/sessions/device turns the session into a device session with a refresh token; POST /customer/session/refresh rotates both (see the Sessions tag). A web session lasts 30 days and has no refresh.
Limits and quotas
Your package's requests per minute (429, Retry-After: 60), and daily and monthly quotas (UTC) on the metered data routes (x-metered), shown on every metered answer in X-Quota-Limit-Day, X-Quota-Remaining-Day, X-Quota-Reset-Day and the -Month ones; over a quota: 429 with code quota_day_exceeded or quota_month_exceeded. Sign-in, mail and contact routes are throttled per address and per email (429).
Errors
Every error is { error, code? }: error is for people, code is stable to branch on. Common codes: 401 two_factor_required, code_invalid, signed_out, token_invalid, refresh_invalid, refresh_reused; 402 checkout, canceled, payment_overdue, subscription_expired; 403 paused, session_required, role_forbidden, two_factor_setup_required, email_unverified, key_not_allowed, key_scope, sandbox_read_only, chat_disabled; 400 invalid_grant, redirect_uri_not_allowed, return_url_not_allowed, pkce_required; 404 not_configured, native_not_configured; 409 email_taken, subscription_active, seat_limit, api_key_limit, saved_view_limit, follow_limit, rule_limit, already_device, sign_in_too_old, identity_taken, last_sign_in, erasure_pending; 429 quota_day_exceeded, quota_month_exceeded, stream_limit; 502 stripe_error, chat_model_failed; 503 stream_off, push_unavailable, chat_unavailable. x-requires-payment: true routes answer 402 while the subscription does not allow access; the others stay open so a blocked customer can pay, read notices and ask for help.
Live stream and webhooks
GET /api/v1/customer/stream is a WebSocket (see its description and the stream guide in docs/feature_product.md). The outgoing webhooks are in webhooks: signed, retried, deduplicated by delivery id.
x-team-role says otherwise.A signal your package may see was released
A test delivery you asked for