btcintel

Create an account with an e-mail address and a password

POST /v1/auth/signup
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

Answers 202 whether or not the address has an account: a new address receives a verification link that creates the account (POST /v1/auth/verify), an existing one a sign-in link instead. The password has 12 to 128 characters and no composition rules; one found in a known breach is refused with the reason (a k-anonymity range query, five hex characters of its SHA-1). A body carrying a private key (nsec1) is refused like any other. 501 while ACCOUNTS_ENABLED is off.

Parameters

NameWhereTypeRequiredWhat it does
emailbodystringrequiredNormalised to lower case; plus-addresses are kept.
passwordbodystringrequiredThe password. At sign-up it has 12 to 128 characters and appears in no known data breach; at sign-in it is the account's.

The body is application/json.

schema EmailPassword
  • email string required — Normalised to lower case; plus-addresses are kept.
  • password string required — The password. At sign-up it has 12 to 128 characters and appears in no known data breach; at sign-in it is the account's. · at least 1 characters · at most 128 characters

What it answers

202 · application/json

Accepted; the answer does not say whether the address had an account.

FieldTypeWhat it carries
acceptedbooleanAlways true: the request is taken, whatever the address.
nextstringWhat to do now, in one sentence.
schema Accepted
  • accepted boolean required — Always true: the request is taken, whatever the address.
  • next string — What to do now, in one sentence.

Errors

StatusCodeWhen
400invalid_inputinvalid_input: the request is malformed: bad hex, an address of another network, a bad vout, or a value out of its range. The message says which.
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

No snippet. This route is a step of signing in, which runs in your browser on btcintel.io, so no snippet can run it from a shell. See Identity.