API Docs Unified API v2.0

API v1.0

We also offer another API version with endpoints that are easier to integrate. If you're a beginner in implementing API's you can switch to our v1.0 endpoint.

Get Stats

With this call you can pull some stats on your account:

Get
URL
https://gender-api.com/v2/statistic
Headers
Content-Type: application/json
Authorization: Bearer <your authorization token>
link
Response
{
    "is_limit_reached": false,
    "remaining_credits": 24999,
    "details": {
        "credits_used": 0,
        "duration": "83ms"
    },
    "usage_last_month": {
        "date": "2018-03",
        "credits_used": 25
    }
}
Field Type Description
is_limit_reached bool Returns true if there are no more credits left
remaining_credits int Number of credits left
details.credits_used int The amount of credits used for this query
details.duration int Time the server needed to process the request
usage_last_month.date string Last month's date
usage_last_month.credits_used int Credits that you have used over the last month
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.
Chat

Cookies

We use cookies (including third-party cookies) to collect information about visitors' use of our website. These cookies help us to provide you with the best possible online experience and to constantly improve our websites. Information collected via cookies may also be processed outside the European Union, for example, in the USA. By clicking the "Accept All" button, you agree to the use of cookies. To withdraw your consent at any time, change your settings or for more information about the use of cookies, click here or "Cookie Settings" at the end of the page.