Get metric distributions for a dynamic set.
GET/sets/:set_id/distribution
Returns histogram distributions for one or more metrics for a given calendar month, aggregated across the active member listings of the set.
Paid sets only. Returns 404 Not Found for a free set — upgrade it first with POST /sets/{set_id}/upgrade.
Available metrics: occupancy, occupancy_adjusted, asking_rate_w_fees, adr_w_fees, lead_time, revpar_adjusted_w_fees, revpar_w_fees, length_of_stay.
Request
Responses
- 200
- 204
- 400
- 401
- 404
- 429
Metric distributions for the dynamic set for the month.
Not enough data for the requested parameters.
Invalid parameter value (e.g. month out of range).
API key authorization failed.
Dynamic set not found, not accessible to the user, or not a paid set.
Rate limit exceeded — the API key has sent too many requests. Wait before retrying. See the Rate Limits section in the overview for the recommended exponential backoff strategy.