Back to library
Usage API
Retrieve real-time usage statistics and credit balance for your Piloterr account.
ActiveFreeGET/v2/usage
Endpoint Overview
Detailed documentation, pricing, and usage examples.
Loading…
Code samples
Bash
curl --location --request GET 'https://api.piloterr.com/v2/usage' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <token>'Replace <token> with your API key, then run the request from your terminal or app.
Create free account, get +500 creditsExample response
JSON
{
"period": {
"end": "2026-04-25",
"start": "2026-03-25"
},
"account": {
"name": "Microsoft",
"slug": "microsoft"
},
"api_key": {
"alias": "my-api-key",
"active": true,
"quotas": {
"daily": null,
"total": null,
"weekly": null,
"monthly": null
},
"expires": null,
"category": "development"
},
"credits": {
"given": 0,
"consumed": 0,
"remaining": 0,
"percent_used": 0
},
"remaining": 0,
"rate_limit": {
"per_minute": null,
"per_second": null
},
"total_used": 15871,
"renewal_date": "2026-04-25",
"subscription": {
"used": 15871,
"total": 50,
"remaining": 0,
"percent_used": 31742
}
}Integrations
Integrate Usage with your favorite tools.
Pricing
0 credits per request
Reviews
5 / 5 (58 reviews)
66 active users
392K requests
12ms avg response time
Method
GET
Path
/v2/usage
Status
Active