API ReferenceRevenue

Revenue timeseries

GET
/projects/{project_id}/revenue/timeseries

Daily revenue and order count for a project over a window. Organization-wide; requires owner/admin. Returns currency and a series of day, revenue, and orders.

Authorization

AuthorizationBearer <token>

Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.

In: header

Path Parameters

project_id*string

Query Parameters

start_date?string

Inclusive start of the window (ISO-8601). Defaults to 30 days ago.

end_date?string

Inclusive end of the window (ISO-8601). Defaults to now.

Response Body

curl -X GET "https://example.com/projects/string/revenue/timeseries"
Empty