btcintel

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

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

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.

Parámetros

NombreDóndeTipoObligatorioQué hace
emailcuerpostringobligatorioNormalised to lower case; plus-addresses are kept.
passwordcuerpostringobligatorioThe 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.

El cuerpo es application/json.

esquema EmailPassword
  • email string obligatorio — Normalised to lower case; plus-addresses are kept.
  • password string obligatorio — 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. · al menos 1 caracteres · como mucho 128 caracteres

Qué responde

202 · application/json

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

CampoTipoQué lleva
acceptedbooleanAlways true: the request is taken, whatever the address.
nextstringWhat to do now, in one sentence.
esquema Accepted
  • accepted boolean obligatorio — Always true: the request is taken, whatever the address.
  • next string — What to do now, in one sentence.

Errores

EstadoCódigoCuándo
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.

Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.

Ejemplo

Sin fragmento. Esta ruta es un paso del inicio de sesión, que ocurre en tu navegador en btcintel.io, así que ningún fragmento puede ejecutarla desde una shell. Ver Identidad.