Account & Usage
Account information and usage statistics. Free — no credits are deducted.
GET
/v1/accountRetrieves account details including credit balance and rate limits.
Request
curl "https://api.centra.dbpg.io/v1/account" \
-H "Authorization: Bearer sk_your_api_key"Response
{
"id": "019b7942-fbb4-7265-9a1b-563e4f075957",
"balance": 9800701,
"tier": "free",
"rate_limit": {
"requests_per_minute": 60
}
}GET
/v1/usageRetrieves usage statistics for a time period.
Parameter
| Name | Type | Status | Description |
|---|---|---|---|
start_date | string | Optional | Start date (YYYY-MM-DD) |
end_date | string | Optional | End date (YYYY-MM-DD) |
Request
curl "https://api.centra.dbpg.io/v1/usage?start_date=2026-04-01&end_date=2026-04-30" \
-H "Authorization: Bearer sk_your_api_key"Response
{
"usage": [
{
"date": "2026-04-25",
"service": "marameo",
"request_count": 12,
"credits_used": 360000
},
{
"date": "2026-04-25",
"service": "weather",
"request_count": 50,
"credits_used": 150
},
{
"date": "2026-04-24",
"service": "weather_batch",
"request_count": 4,
"credits_used": 171
}
]
}