curl -X POST "https://api.dune.com/api/v1/usage" \ -H "Content-Type: application/json" \ -H "X-DUNE-API-KEY: YOUR_API_KEY" \ -d '{ "start_date": "2025-01-01", "end_date": "2025-02-01" }'
{ "private_queries": 100, "private_dashboards": 100, "bytes_used": 1000, "bytes_allowed": 10101, "billingPeriods": [ { "start_date": "2025-01-01", "end_date": "2025-02-01", "credits_used": 100.10, "credits_included": 100000 } ] }
Retrieve customer usage data for billing periods
Was this page helpful?