⚡ API Unificata v2.0
AVANZATO
DOCUMENTAZIONE API
Prova la nostra API unificata ad alte prestazioni, progettata per utenti avanzati con alti volumi di richieste. Interroga più nomi in una singola richiesta con tempi di risposta fulminei.
Sign up for a free account
Create a free account (100 requests/month) and receive an API token with a single, unauthenticated call — no first or last name needed. This is ideal for AI agents onboarding a user: ask the user for their email address and consent, then send the request. The account starts unconfirmed; the user must click the activation link emailed to them, after which the returned API token works immediately.
POST https://gender-api.com/v2/sign-up
| Headers |
Content-Type: application/json
|
||||||||||||||||||||
| JSON Payload |
|
Esempi di richieste
Sign up with an email address
{
"email": "user@example.com",
"accept_terms": true
}
Sign up and subscribe to the newsletter
{
"email": "user@example.com",
"accept_terms": true,
"newsletter": true,
"locale": "en"
}
Risposta
{
"email": "user@example.com",
"password": "",
"api_token": "",
"free_requests_per_month": 100,
"status": "awaiting_activation",
"message": "Account created. Ask the user to click the activation link sent to their email address. The API token below activates automatically once the email is confirmed and can then be used as a Bearer token against the API.",
"docs_url": "https://gender-api.com/skill.md"
}
Campi della risposta
| Campo | Tipo | Descrizione |
|---|---|---|
email |
string | The registered email address. |
password |
string | A random login password for the web dashboard. Returned only once; store it securely. The user can reset it later via the forgot-password flow. |
api_token |
string | The API bearer token. Use it as "Authorization: Bearer |
free_requests_per_month |
int | The number of free requests granted per month. |
status |
string | The account status. "awaiting_activation" until the email address is confirmed. |
message |
string | Human-readable guidance on the next step (confirming the email address). |
docs_url |
string | Link to the prompt-ready AI implementation instructions (skill.md). |