GET /v1/credits
Check your credit balance. Requires authentication.
Request
GET https://router.tangle.tools/v1/credits
Authorization: Bearer sk-tan-YOUR_KEYResponse
{
"data": {
"total_credits": 100.0,
"total_usage": 4.5
}
}| Field | Description |
|---|---|
total_credits | Total credits ever granted: balance plus lifetime spend (USD) |
total_usage | Lifetime credits consumed (USD) |
Remaining balance = total_credits - total_usage.