Time series metrics
GET/:market_id/time_series
Daily market metrics for a range of stay dates.
Same time last year. Pass basis=stly to get each stay date's values as they stood around the same time last year: the market's figures for the stay date 52 weeks earlier, returned under this year's stay_date with the same fields, so the rows of both bases can be joined on stay_date. updated_at is then when last year's figures were generated. A value is null where last year has no data for that stay date, and a bedroom group last year's market was not broken down by returns 204. Last year's figures are refreshed weekly, so the last few days of the one-year horizon can be missing from the response, and a range that lies entirely within them returns 204. basis=stly is in early access: accounts without early access get a 403, and a market whose last year figures are not available yet returns a 404.
Request
Responses
- 200
- 204
- 400
- 401
- 403
- 404
Successfully retrieved time series.
There is not enough data in the selected subset.
Bad request. Can be one of:
- Invalid
market_id - Invalid
start_date - Invalid
end_date - Invalid
start_date/end_date.end_dateshould always be greater thanstart_date - Invalid
bedrooms. The message names the groups this market is broken down by
API key authorization failed.
basis=stly was requested by an account without early access to it.
With basis=stly, last year's figures for this market are not available yet.