HomeToGo Price Histogram API Documentation Get the distribution of nightly prices of a destination for a stay. Each bucket has an upper price in the chosen currency and a relative frequency from 0 to 100, where 100 is the most common price range.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
2 required parameters needed before sending a request.
5 optional filters available.
string
Required
Check-in date, YYYY-MM-DD, today or later. Example: 2027-03-14.
example
string
Required
Check-out date, YYYY-MM-DD, after check-in, at most 30 nights. Example: 2027-03-18.
example
string
Optional
HomeToGo destination id from the suggest endpoint. Example: 5460aead9281b for Paris. Send this or destination.
1234567890
string
Optional
Destination name as in the HomeToGo address, e.g. paris, munich or new-york. Send this or location_id.
example
integer
Optional
Number of adults, 1 to 16. Defaults to 2.
10
integer
Optional
Number of children, 0 to 10. Children count as guests. Defaults to 0.
10
string
Optional
Price currency: EUR, USD, GBP, CHF, SEK, DKK, NOK, PLN, CZK, CAD or AUD. Defaults to EUR.
USD
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"buckets": [
{
"price": 9,
"relative_frequency": 0
},
{
"price": 31,
"relative_frequency": 2
},
{
"price": 53,
"relative_frequency": 8
},
{
"price": 75,
"relative_frequency": 17
},
{
"price": 97,
"relative_frequency": 32
},
{
"price": 119,
"relative_frequency": 57
}
],
"check_in": "2026-12-01",
"currency": "EUR",
"check_out": "2026-12-08",
"location_id": "5460aead9281b"
},
"meta": {
"billable": true,
"endpoint_family": "rental_price_histogram"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required query parameter is missing or invalid. This response is not billable.
{
"errors": {
"check_in": [
"The check in field is required."
]
},
"message": "The request validation failed"
}Resource Not Found
The destination is unknown. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "rental_price_histogram"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested HomeToGo resource was not found."
},
"success": false
}Service Unavailable
HomeToGo could not be reached or blocked the request. Retry later. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "rental_price_histogram"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The HomeToGo API is temporarily unavailable. Please retry."
},
"success": false
}Unexpected Answer
HomeToGo answered with a shape this API does not know. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "rental_price_histogram"
},
"error": {
"code": "PARSE_ERROR",
"message": "HomeToGo returned an unexpected answer. Please retry later."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.