API Docs Unified API v2.0
API v1.0
Get Stats
With this call you can pull some stats on your account:
URL |
https://gender-api.io/v2/statistic
|
Headers |
Content-Type: application/json
Authorization: Bearer <your authorization token>
|
{
"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 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 |