cURL
curl --request GET \ --url https://api.tavily.com/usage \ --header 'Authorization: Bearer <token>'
{ "key": { "usage": 150, "limit": 1000 }, "account": { "current_plan": "Bootstrap", "plan_usage": 500, "plan_limit": 15000, "paygo_usage": 25, "paygo_limit": 100 } }
Get API key and account usage details
Bearer authentication header in the form Bearer , where is your Tavily API key (e.g., Bearer tvly-YOUR_API_KEY).
Usage details returned successfully
Show child attributes
Current usage count for the API key
150
Usage limit for the API key. Returns null if unlimited (2147483647)
1000
Account plan and usage information
The current subscription plan name
"Bootstrap"
Current usage count for the plan
500
Usage limit for the current plan
15000
Current pay-as-you-go usage count
25
Pay-as-you-go usage limit
100