⚡ واجهة برمجة موحدة الإصدار 2.0 متقدم

توثيق API

جرب واجهتنا البرمجية الموحدة عالية الأداء المصممة للمستخدمين المتقدمين ذوي أحجام الطلبات الكبيرة. قم بالاستعلام عن أسماء متعددة في طلب واحد بأوقات استجابة سريعة للغاية.

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

http Headers
Content-Type: application/json
data_object JSON Payload
حقل النوع مطلوب الوصف
email string نعم The email address to register. No first or last name is required.
accept_terms bool نعم Must be true. The user must consent to the Terms and Conditions and Privacy Policy.
newsletter bool لا Subscribe to the newsletter. Defaults to false.
locale string لا Account language. One of en, de, es. Defaults to en.

code أمثلة الطلبات

arrow_forward Sign up with an email address
{
    "email": "user@example.com",
    "accept_terms": true
}
arrow_forward Sign up and subscribe to the newsletter
{
    "email": "user@example.com",
    "accept_terms": true,
    "newsletter": true,
    "locale": "en"
}

check_circle الاستجابة

{
    "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"
}

list حقول الاستجابة

حقل النوع الوصف
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 " for /v2/... requests. It starts working once the user confirms their email.
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).
محادثة