Daily Usage API
See day-by-day credit usage for your Captapi account.
GET request to /v1/account/daily-usage that responds with clean JSON and costs 0 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.What is the Daily Usage API?
Get daily credit usage for your Captapi key as structured JSON — useful for spend monitoring and budgeting. Free — does not consume credits.
What you get
- Live data for your Captapi API key
- No credit charge for account endpoints
- Clean JSON ready for dashboards and alerts
- Useful for monitoring usage and spend
Try it
Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).
Parameters
curl "https://api.captapi.com/v1/account/daily-usage?days=value" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"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 is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
daysDays. Example: 7.totalRequestsTotal requests. Example: 251.totalCreditsUsedTotal credits used. Example: 498.
Usage
Each item in usage contains:
dateDate. Example: "2026-07-18".requestsRequests. Example: 251.credits_usedCredits used. Example: 498.successful_requestsSuccessful requests. Example: 242.failed_requestsFailed requests. Example: 9.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| days | integer | No | Number of days to include (default 30, max 365). |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 0 credits. Pass cache=true for a free 24h cache hit; default is always fresh.
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/account/daily-usageand parse the JSON response.
Use cases
Content Pipelines
Ingest a channel's catalog in bulk.
Monitoring
Detect new uploads automatically.
Archiving
Snapshot a creator's full library.
Analytics
Aggregate performance across many videos.
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.
More Account APIs
Ready to use the Daily Usage API?
Sign up, grab your key, and make your first call in 60 seconds.