btcintel

Mint an anonymous t1 token (shown once)

POST /v1/keys/anon
who may call it
Anyone
no key and no session
what it costs
1 request of the quota
tiers and keys
how fresh
Never cached
every answer carries the index's height and the node's
MCP tool
None
On this page

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.

Parameters

It takes no parameters.

What it answers

201 · application/json

The token, its tier and quota.

FieldTypeWhat it carries
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.
schema
  • token string required — btci_anon_…; send it as Authorization: Bearer.
  • key_id integer required — The token's key id, as GET /v1/keys/me reports it.
  • tier string required — Always t1. · one of "t1"
  • expires_at string (date-time) required — When the token expires: 90 days from now, and 90 days on from every day it is used.
  • quota Quota required — 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 of 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.

Errors

StatusCodeWhen
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.

Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.

Example

curl and jq, in any shell.

curl -s -X POST https://api.btcintel.io/v1/keys/anon | jq