POST with a JSON body and returns JSON.
Base URL
/v1. HTTPS is required.
Endpoints
Check an email
POST /v1/breaches/emailCheck a password
POST /v1/breaches/passwordPredict from a name
POST /v1/gender/namePredict from an email
POST /v1/gender/emailPredict from a username
POST /v1/gender/usernamePredict in batch
POST /v1/gender/batchAuthentication
Send your API key as a bearer token on every request.Request format
- Method:
POSTfor every endpoint. Other methods return405 method_not_allowed. - Header:
Content-Type: application/json. Anything else returns415 json_required. - Body: a single JSON object, at most 128 KB.
- Unknown fields are rejected with
400 invalid_input. This catches typos such ascontrybefore they cost you a credit. nullis not accepted for any field. Leave optional fields out instead.
Response format
Successful responses return the result object directly, with no envelope for breach checks and adata envelope for gender predictions.
Errors always use the same shape: