Your API account
Usage log
Your most recent API calls and what each one cost.
GET/v1/usageFree
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
limit | number | Optional | How many events to return, 1 to 200. Defaults to 50. |
Request
curl https://api.xautodm.com/v1/usage?limit=20 \ -H "Authorization: Bearer $XAUTODM_API_KEY"
Response
Response
{
"data": { "events": [ { "endpoint": "GET /v1/users/:handle/followers", "credits": 500, "status": "ok", "created_at": "..." } ] },
"meta": { "credits_charged": 500, "credits_remaining": 49500, "request_id": "req_..." }
}Errors use one shape for every endpoint. See errors and rate limits.