Skip to main content
POST
Minimum required API key scope: Read

Description

Retrieves customer usage data including credits, queries, dashboards, and storage. Returns the current billing period when no timeframe is specified.

Pricing

This is a metadata endpoint and does not consume credits.

Headers

X-Dune-Api-Key
string
required

API Key for the service

Query Parameters

api_key
string

API Key, alternative to using the HTTP header X-Dune-Api-Key

Body

application/json

Request payload with optional start_date and end_date

end_date
string

Optional field in YYYY-MM-DD format

start_date
string

Optional field in YYYY-MM-DD format

Response

OK

billing_periods
object[]
bytes_allowed
integer
bytes_used
integer
private_dashboards
integer
private_queries
integer