How to get CaptAPI 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. Day-by-day credit usage for spend monitoring (0 credits).How to get CaptAPI 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,
"creditsUsed": 498,
"successfulRequests": 242,
"failedRequests": 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 CaptAPI 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. Account endpoints are always live (never cached) and do not charge credits.
Ready to get CaptAPI Account daily usage?
Start free with 100 credits — no credit card required.
Get your free API key