⚡ Unified API v2.0
ADVANCED
API DOCUMENTATION
Experience our high-performance unified API designed for advanced users with high request volumes. Query multiple names in a single request with lightning-fast response times.
Get Stats
With this call you can pull some stats on your account:
GET https://gender-api.com/v2/statistic
| Headers |
Content-Type: application/json
Authorization: Bearer <your authorization token>
|
Response
{
"is_limit_reached": false,
"remaining_credits": 24999,
"details": {
"credits_used": 0,
"duration": "83ms"
},
"usage_last_month": {
"date": "2018-03",
"credits_used": 25
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
is_limit_reached |
bool | Returns true if there are no more requests left |
remaining_credits |
int | Number of requests left |
details.credits_used |
int | The amount of requests used for this query |
details.duration |
string | Time the server needed to process the request |
usage_last_month.date |
string | Last month's date |
usage_last_month.credits_used |
int | Requests that you have used over the last month |