Limits and usage
Returns your account rate limits and current usage. Limits are shared across your user account; creating additional API keys does not increase them.
GEThttps://geo-api.geoeval.com/v1/account
Requires an API key in the Authorization header. Try it below
Example request
curl "https://geo-api.geoeval.com/v1/account" \ -H "Authorization: Bearer $GEOEVAL_API_KEY"const response = await fetch(`https://geo-api.geoeval.com/v1/account`, { headers: { Authorization: `Bearer ${process.env.GEOEVAL_API_KEY}`, },});const data = (await response.json()) as Record<string, unknown>;if (!response.ok) throw new Error(`${data.code}: ${data.message}`);console.log(data);import os
import requests
response = requests.get( "https://geo-api.geoeval.com/v1/account", headers={ "Authorization": f"Bearer {os.environ['GEOEVAL_API_KEY']}", }, timeout=30,)response.raise_for_status()print(response.json())Response 200
user_idstringYour user ID.
statusstringAccount status: active.
limitsobjectAccount-wide limits shared across all API keys.
Fields of limits
enqueue_rpmintegerMaximum queries per minute.
max_inflight_tasksintegerMaximum concurrent unfinished tasks.
daily_task_limitintegerMaximum tasks per UTC day.
usageobjectCurrent usage against those limits.
Fields of usage
queries_last_minuteintegerQueries accepted in the last 60 seconds.
inflight_tasksintegerTasks belonging to pending queries.
tasks_todayintegerTasks accepted today (UTC).
api_keysintegerNumber of API keys on your account.
Example response
{ "user_id": "01a224f1-0b7e-7f10-9a44-2c1d5e8b7a31", "status": "active", "limits": { "enqueue_rpm": 60, "max_inflight_tasks": 200, "daily_task_limit": 5000 }, "usage": { "queries_last_minute": 0, "inflight_tasks": 2, "tasks_today": 12, "api_keys": 1 }}Errors
All endpoints may also return 400, 401, 403, or 500. See Errors.