DocumentationReliability
Reliability
Error format and codes, rate limits and plan limits, retry rules and API versioning, in one reference page.
Base address and version
Data requests go to https://api.dino.markets/v1, over HTTPS with GET. The version is the /v1 path prefix. The machine-readable description of every route is the OpenAPI document at https://api.dino.markets/openapi.json, and the API reference is generated from the same contracts. New data, countries and features are listed in the changelog, and the changelog is also an RSS feed.
Error format
Errors are RFC 9457 problem JSON with these fields:
| Field | Meaning |
|---|---|
ok |
Always false |
type, title |
The kind of problem |
status |
The HTTP status |
detail |
A sentence you can show |
code |
A stable code to branch on |
request_id |
The same value as the X-Request-ID header; keep it when you ask for help |
resets_at |
Only on monthly_quota_exceeded: the UTC time your requests renew |
upgrade_url |
Only on monthly_quota_exceeded, and not on Pro: where to change plan |
The common codes for data requests:
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request |
The input is invalid |
| 400 | invalid_cursor |
The pagination cursor is invalid; start again |
| 401 | unauthenticated |
The key is missing, wrong or revoked |
| 403 | account_suspended |
The account is restricted |
| 403 | plan_upgrade_required |
History older than your plan allows, or something your plan does not include |
| 404 | not_found |
Unknown route or item |
| 429 | rate_limit_exceeded |
Over your plan’s requests a minute |
| 429 | monthly_quota_exceeded |
All of the month’s requests are used |
| 503 | area_unavailable |
A data area is paused |
Account, sign-in and billing codes are in errors and limits.
Rate limits and plan limits
Each plan sets two limits, requests a month and requests a minute.
| Plan | Requests a month | Requests a minute | History |
|---|---|---|---|
| Free | 3,000 | 50 | 12 months |
| Starter | 20,000 | 60 | 5 years |
| Basic | 100,000 | 120 | 5 years |
| Pro | 1,000,000 | 500 | Full history |
Only requests that return data count. Failed and refused requests do not. A batch request of up to 50 ids counts once. Your keys and the dashboard share one limit. The month’s requests renew on the 1st at 00:00 UTC on every plan, for monthly and yearly billing alike. See plans and billing.
Every data response carries X-Dino-Plan, X-Dino-Requests-Limit, X-Dino-Requests-Remaining and X-Dino-Requests-Reset. GET /v1/key shows the same numbers and does not count.
Retry rules
| Response | Retry? | What to do |
|---|---|---|
429 rate_limit_exceeded |
Yes | Wait Retry-After seconds, then send the request again |
429 monthly_quota_exceeded |
Not before resets_at |
Retry-After is the seconds until then. Change plan to continue sooner. Nothing is counted for the refused request |
503 (area_unavailable, email_unavailable, payments_unavailable) |
Yes, later | Retry with exponential backoff |
400, 401, 403, 404 |
No | Fix the request, key or plan first |
Retry only GET requests. Use bounded exponential backoff with jitter, and respect Retry-After. A successful retry counts as a request. If a response was lost, the first attempt may already have succeeded and counted. Before repeating a plan change or a payment, check the dashboard.
The official SDKs retry up to twice for per-minute rate limits and temporary unavailability, and never retry a used monthly quota. See SDKs.
Start with a free key
3,000 requests a month, no card needed.