How to get Account daily usage
GET request to /v1/account/daily-usage with your input. You get clean JSON back in seconds for 0 credits per call — no OAuth, scraping or platform SDKs. See day-by-day credit usage for your Captapi account.How to get Account daily usage (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Daily Usage API
Send an authenticated GET request to /v1/account/daily-usage with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/account/daily-usage?days=value" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"days": 7,
"totalRequests": 251,
"totalCreditsUsed": 498,
"usage": [
{
"date": "2026-07-18",
"requests": 251,
"credits_used": 498,
"successful_requests": 242,
"failed_requests": 9
}
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| days | integer | No | Number of days to include (default 30, max 365). |
Frequently asked questions
What does the Daily Usage API do?
The Daily Usage API returns daily usage for your Captapi API key via one GET request to /v1/account/daily-usage. It returns clean JSON and does not charge credits.
How many credits does the Daily Usage API cost?
Account endpoints are free — they do not consume credits.
Do I need a Account API key or OAuth?
You only need your Captapi API key (Authorization: Bearer). No third-party OAuth is required.
Is the Daily Usage API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to get Account daily usage?
Start free with 100 credits — no credit card required.
Get your free API key