Account & Nutzung
Account-Informationen und Nutzungsstatistiken. Kostenlos — keine Credits werden abgezogen.
GET
/v1/accountRuft Account-Details inkl. Credit-Balance und Rate-Limits ab.
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/usageRuft Nutzungsstatistiken für einen Zeitraum ab.
Parameter
| Name | Typ | Status | Beschreibung |
|---|---|---|---|
start_date | string | Optional | Startdatum (YYYY-MM-DD) |
end_date | string | Optional | Enddatum (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
}
]
}