RiskPilot API
Guides

Changelog

The customer API lives under /api/v1. Changes inside v1 add routes, fields and codes; read unknown fields and codes gracefully. The OpenAPI document carries the current version in info.version.

In progress

  • Category tags and an RSS feed. Every signal has tags (a fixed list such as earnings, m-and-a, insider-buy, fda; additive), and GET /customer/signals takes a repeatable tag filter. A per-account RSS feed GET /customer/feed.rss?token=… with a dedicated, rotatable feed token (/customer/feed-token). See category tags and RSS feed token.

  • Richer alert rules and chat channels. Rules take scope: "any" with sectors and industries, minImpact (1–5), direction, keywords (phrases and exclusions), quietHours, a per-rule dailyCap and channelIds. Rule counts and daily alerts follow the package (10/25/100 rules, 50/250/2000 alerts a day). New Discord, Slack and Telegram channels under /customer/channels, each off until the server switches it on. See Alerts.

  • Native push. FCM (Android) and APNs (iOS) delivery is not switched on yet; alerts reach the inbox meanwhile. See Mobile apps.

2026-11-10: apps and the complete reference

  • Native sign-in with Google, Microsoft, GitHub and Apple for mobile and desktop apps: PKCE through the system browser and POST /customer/oauth/native/token. Connecting a provider can also return to the app.
  • Device sessions: POST /customer/sessions/device turns a fresh sign-in into a 24-hour access token plus a rotating 90-day refresh token (POST /customer/session/refresh). GET /customer/sessions, rename, end one, end all others.
  • Billing from apps: checkout and portal take successUrl, cancelUrl and returnUrl from a registered list.
  • OpenAPI 3.1: the reference now covers every customer and public route and the outgoing webhooks (signal.published, test), with auth schemes, team roles (x-team-role), scopes and metering per operation.

2026-11-10: API 1.1

  • Named API keys (rpk_…) with the scopes signals:read and companies:read; a named key reads data only (403 key_not_allowed, key_scope). Up to 20 per account.
  • Daily and monthly quotas per package, X-Quota-* headers on metered answers, and 429 quota_day_exceeded / quota_month_exceeded with Retry-After. The per-minute 429 now carries Retry-After: 60. GET /customer/usage shows the account's use.
  • Signals filters: range=90d, from, to, families, minScore, label, issuerId, sort.
  • Companies: search and filters (q, sector, industry, cap, sort) and profiles with 30- and 90-day counts. Changed: GET /customer/companies/{issuerId} now returns one page of signals (total, limit, offset) instead of all of them, and answers 404 for a company you may see no signal of.
  • Leaderboard: GET /customer/leaderboard.
  • Live stream: WebSocket at /customer/stream with tickets for browsers, heartbeats and resume.
  • Saved views for customers.
  • OpenAPI 3.0.3 document at GET /customer/openapi.json (public), with x-scope and x-metered on each operation.
  • Watchlist, alert rules, inbox, alert and subscription mails, and Web Push.
  • Chat about the filings and signals in your package.
  • Accounts: two-factor sign-in for customers, team members with roles, Sign in with Apple, data export and account deletion.

2026-11-03

  • Fixes to billing checks, account-takeover protection and access checks found in a security review. Paid routes answer 402 with a code (checkout, canceled, payment_overdue, subscription_expired) when billing does not allow access.

2026-10-28

  • Sign-in with Google, Microsoft and GitHub for the portal and the website.

2026-10-22

  • Webhooks: signal.published deliveries signed with riskpilot-signature, retried with backoff for about 33 hours. Online sign-up and Stripe billing.
Last modified on