Mint an anonymous t1 token (shown once)
POST /v1/keys/anon- quién puede llamarla
- Cualquiera
- sin clave y sin sesión
- cuán reciente
- Nunca en caché
- cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
No authentication. Mints a btci_anon_ token of tier t1: 24 random bytes in lowercase base32, stored only as its SHA-256, valid 90 days and extended by 90 days on every day of use. At most 10 mints per client address per hour. The token is returned once and never logged.
Parámetros
No toma parámetros.
Qué responde
201 · application/json
The token, its tier and quota.
| Campo | Tipo | Qué lleva |
|---|---|---|
token | string | btci_anon_…; send it as Authorization: Bearer. |
key_id | integer | The token's key id, as GET /v1/keys/me reports it. |
tier | string | Always t1. |
expires_at | string | When the token expires: 90 days from now, and 90 days on from every day it is used. |
quota | object | What tier t1 allows. |
note | string | A reminder: the token is shown once, and every day of use extends it by 90 days. |
esquema
tokenstring obligatorio —btci_anon_…; send it asAuthorization: Bearer.key_idinteger obligatorio — The token's key id, asGET /v1/keys/mereports it.tierstring obligatorio — Alwayst1. · uno de "t1"expires_atstring (date-time) obligatorio — When the token expires: 90 days from now, and 90 days on from every day it is used.quotaQuota obligatorio — What tier t1 allows.requests_per_mininteger — The requests a minute the tier refills, on average.burst_per_mininteger — The most requests the tier lets through at once: its bucket, refilled atrequests_per_min.requests_per_dayinteger — The requests a UTC day the tier allows. 0 sets no daily cap.bulk_max_subjectsinteger — The most subjects one bulk lookup may name. 0 falls back to 20, t0's number.publish_per_dayinteger — The Community events a UTC day each author may publish through the API at this tier. 0 sets no daily cap. Who may publish at all is decided apart: a person signed in with their key, or a key with thecommunity:publishscope and an allowed npub; t0 and t1 cannot.feedback_per_dayinteger — Feedback entries per caller per UTC day.proposals_per_dayinteger — Curated proposals per caller per UTC day.disputes_per_dayinteger — Disputes per caller per UTC day.scopesarray de string — The scopes of the tier. Absent from a key's row, whose ownscopesstand beside it.
notestring — A reminder: the token is shown once, and every day of use extends it by 90 days.
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 429 | quota_exceeded | quota_exceeded: the caller's tier ran out of requests for the minute or the day. Retry-After says when to try again; every rate-limited answer carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and X-RateLimit-Tier. While the deployment runs in log-only mode the decision is logged instead and X-RateLimit-Policy: log-only is set. |
| 501 | not_configured | not_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it. |
Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.
Ejemplo
curl y jq, en cualquier shell.
curl -s -X POST https://api.btcintel.io/v1/keys/anon | jq