Reference
CoinReceipts API reference: every endpoint
Find every CoinReceipts endpoint with its access level and what it is for, from public crowd data to your own calls and billing.
The examples write the base address as YOUR_API_BASE_ADDRESS. Email hello@coinreceipts.com to get yours.
Access levels: Public needs no credential. Member needs a sign-in token, or an Elite API key. Pro is a member route that needs the Pro plan or above. Sign-in needs a sign-in token and never takes an API key. Webhook is signed by Stripe. See getting started for the credentials.
Calls
| Endpoint | Access | Purpose |
|---|---|---|
POST /v1/calls | Member | Place a call: asset, direction (up or down), horizon (1h, 24h or 7d, as your plan allows) and confidence (1 to 5). Answers 201 with the receipt. |
GET /v1/calls | Member | Your calls, newest first. Filter with status (open or settled) and asset; page with limit (up to 100) and cursor, sending next_cursor back as cursor. |
GET /v1/calls/:id | Member | One of your receipts. |
GET /v1/public/receipts/:id | Public | Any receipt, with its settlement once settled. The page /r/<receipt id> on this site shows the same data. |
GET /v1/public/assets | Public | The coins open for calls. |
Profiles and follows
| Endpoint | Access | Purpose |
|---|---|---|
GET /v1/public/profiles/:handle | Public | A public profile: summary, stats, follower count and recent receipts. |
PUT /v1/profile | Member | Update your handle, display name, bio and links, all or nothing. |
GET /v1/account | Member | Your account: member, plan, open and allowed calls, keys and billing status. |
GET /v1/follows | Member | Who you follow and who follows you. |
POST /v1/follows/:handle, DELETE /v1/follows/:handle | Member | Follow and unfollow a member. |
GET /v1/alerts | Member | The alert emails queued for you, newest first. |
Boards and crowd data
| Endpoint | Access | Purpose |
|---|---|---|
GET /v1/public/leaderboard | Public | The accuracy board. Filter with asset, window (all, 30d or 7d) and limit; page with cursor. Ranks move as calls settle, so a walk through several pages is not a snapshot. |
GET /v1/public/leaderboard/highlights | Public | Most predictions, most accurate, biggest gain and longest streak. |
GET /v1/public/crowd/:asset | Public | Up and down counts of open human calls on one coin. |
GET /v1/public/crowd/:asset/read | Public | One coin's crowd read: the share of the last 24 hours of member calls going up, the 30 day call count and the crowd hit rate. Open to any website, cached for 60 seconds, 204 under 10 member calls in 30 days and 404 for an unknown coin. |
GET /v1/public/crowd/:asset/card.svg | Public | The same lean as an SVG image for an img tag. Add theme=dark for the dark version. |
GET /v1/public/crowd.json | Public | The crowd index for every coin. |
GET /v1/public/chain, GET /v1/public/chain/:date, GET /v1/public/chain/:date/records | Public | The chain of daily digests over settled calls: the list, one day's digest, and the records it covers. |
GET /v1/public/stats/crowd-index | Public | Predictors, predictions, settled results and crowd accuracy. |
GET /v1/public/calibration | Public | How often following or fading a strong crowd paid off. |
GET /v1/smart-money/:asset | Pro | The Smart Money Index for one coin. |
GET /v1/public/feed | Public | The call feed, withheld for 30 minutes. |
GET /v1/feed | Member | The call feed for your plan: real time on a plan, 30 minutes late without one. |
GET /v1/export/calls.csv | Pro | Your calls as a CSV file. |
Digest and newsletter
| Endpoint | Access | Purpose |
|---|---|---|
GET /v1/public/digests/latest | Public | The newest market digest. |
GET /v1/public/digests/:date | Public | The digest for one UTC day, written YYYY-MM-DD. |
POST /v1/public/newsletter/subscribe | Public | Start a newsletter subscription with {"email"}. Always answers 202 with the same body, whoever is subscribed. |
POST /v1/public/newsletter/confirm | Public | Confirm a subscription with {"token"}. The link in the confirmation email opens this site's confirm page, which calls it. |
GET and POST /v1/unsubscribe?token= | Public | The unsubscribe link in every digest: GET opens the unsubscribe page and changes nothing, POST unsubscribes (the one-click request mail apps send). |
Calculators
| Endpoint | Access | Purpose |
|---|---|---|
POST /v1/public/tools/profit | Public | Profit and return on a trade. |
POST /v1/public/tools/break-even | Public | The sell price at which a trade breaks even after fees. |
POST /v1/public/tools/dca | Public | Average cost of several purchases. |
POST /v1/public/tools/market-cap-swap | Public | What a coin would cost at another market cap. |
POST /v1/public/tools/satoshi | Public | Satoshis to US dollars. |
These are the free tools as an API. They do arithmetic on the numbers you send, read no price feed and round results to 8 decimals.
Plans and billing
| Endpoint | Access | Purpose |
|---|---|---|
GET /v1/public/plans | Public | Every plan with its price and entitlements, and how many Founding Member slots are left. |
GET /v1/me/billing | Sign-in | Your plan, invoices and what can be bought, read from the local Stripe mirror. |
POST /v1/me/billing/checkout | Sign-in | Start a Stripe Checkout for Pro, Elite or Founding Member with offer (and interval, month or year, for Pro and Elite; Founding takes none). The first month of Pro costs $1. Answers 201 with the Checkout url, or 409 founding_sold_out once all 500 Founding slots are taken. |
POST /v1/me/billing/portal | Sign-in | Open the Stripe customer portal. Needs an existing Stripe customer. |
POST /v1/billing/webhook | Webhook | Stripe's webhook endpoint. The signature is the credential, and a plan only ever follows a verified event. |
Discovery
| Endpoint | Access | Purpose |
|---|---|---|
GET /openapi.json | Public | The OpenAPI 3.1 document. |
GET /llms.txt | Public | The API's own agent index. |
GET /docs/errors | Public | The error codes, as HTML or markdown. |
GET /health | Public | Liveness check. |
Scheduled jobs
There are no cron routes to call. Scheduled work runs as five idempotent jobs of the platform server, each writing one run record, and an unavailable dependency shows up as a failed run rather than an HTTP error.
| Job | Every | Does |
|---|---|---|
coinreceipts-settle | 5 minutes | Settles every call whose horizon has ended. |
coinreceipts-snapshots | 1 hour | Records a price snapshot for every active coin. |
coinreceipts-alerts | 2 minutes | Sends the queued follower alert emails. |
coinreceipts-digest | 1 hour | Builds today's digest and makes yesterday's final. |
coinreceipts-newsletter | 1 hour | Sends yesterday's final digest to confirmed subscribers. |
Rejected requests are explained on the errors page.
Get access
Email hello@coinreceipts.com with the subject "API access". We reply with the base address for your account and, on Elite, your key.