Guides
Get started
Learn how requests are authenticated and what your first call and your first API request look like, step by step.
Your first calls
- Create an account and start a plan: Pro costs $1 for the first month, then $9.
- Place your first call: coin, direction, confidence and horizon. Every plan allows five open calls and all three horizons.
- Open your receipt and share it. Every receipt has a public page at
https://coinreceipts.com/r/<receipt id>. - Optional: follow other members, and on Pro or Elite get an email alert for each call a followed member makes.
Public data needs no credential
Routes under /v1/public answer without a credential and are limited per client address (60 requests per 10 seconds). The crowd index is available like this:
curl YOUR_API_BASE_ADDRESS/v1/public/crowd.json
Credentials
Every other /v1 route needs Authorization: Bearer <credential>. The credential is one of:
- A sign-in token: the CoinReceipts website acting for a signed-in member. It works on every plan.
- An API key that starts with
cr_live_(also accepted in anX-API-Keyheader). Keys work only while the account is on the Elite plan; on any other plan they are answered with403 plan_required. Keys are issued by an operator, because there is no route that creates one. A key with thereadscope cannot place calls.
The billing routes take a sign-in token only. Signed-in routes allow 200 requests per 10 seconds per key or account. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a 429 adds Retry-After.
Requests and responses
JSON in and out. Field names are snake_case, timestamps are ISO 8601 in UTC, prices are US dollars and money amounts are integer cents. A request body is limited to 64 KB. Every response has an X-Request-Id header; quote it when you ask for help.
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.