btcintel

Mint an anonymous t1 token (shown once)

POST /v1/keys/anon
quién puede llamarla
Cualquiera
sin clave y sin sesión
qué cuesta
1 petición de la cuota
niveles y claves
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.

CampoTipoQué lleva
tokenstringbtci_anon_…; send it as Authorization: Bearer.
key_idintegerThe token's key id, as GET /v1/keys/me reports it.
tierstringAlways t1.
expires_atstringWhen the token expires: 90 days from now, and 90 days on from every day it is used.
quotaobjectWhat tier t1 allows.
notestringA reminder: the token is shown once, and every day of use extends it by 90 days.
esquema
  • token string obligatorio — btci_anon_…; send it as Authorization: Bearer.
  • key_id integer obligatorio — The token's key id, as GET /v1/keys/me reports it.
  • tier string obligatorio — Always t1. · uno de "t1"
  • expires_at string (date-time) obligatorio — When the token expires: 90 days from now, and 90 days on from every day it is used.
  • quota Quota obligatorio — What tier t1 allows.
    • requests_per_min integer — The requests a minute the tier refills, on average.
    • burst_per_min integer — The most requests the tier lets through at once: its bucket, refilled at requests_per_min.
    • requests_per_day integer — The requests a UTC day the tier allows. 0 sets no daily cap.
    • bulk_max_subjects integer — The most subjects one bulk lookup may name. 0 falls back to 20, t0's number.
    • publish_per_day integer — 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 the community:publish scope and an allowed npub; t0 and t1 cannot.
    • feedback_per_day integer — Feedback entries per caller per UTC day.
    • proposals_per_day integer — Curated proposals per caller per UTC day.
    • disputes_per_day integer — Disputes per caller per UTC day.
    • scopes array de string — The scopes of the tier. Absent from a key's row, whose own scopes stand beside it.
  • note string — A reminder: the token is shown once, and every day of use extends it by 90 days.

Errores

EstadoCódigoCuándo
429quota_exceededquota_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.
501not_configurednot_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