---
title: "HomeToGo API: Price Histogram | Perceptlayer"
description: "Price Histogram from HomeToGo as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/hometogo/price-histogram
---

[APIs](https://perceptlayer.com/apis) / [HomeToGo](https://perceptlayer.com/apis/hometogo) / Price Histogram

# HomeToGo: Price Histogram

Price Histogram from HomeToGo as JSON. 1 credit per successful call.

GET `/v1/hometogo/price-histogram`

## Parameters

Send parameters in the query string.

Required Send `location_id` or `destination`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `location_id` | string | Optional | Any |
| `destination` | string | Optional | Up to 100 characters |
| `check_in` | string | Required | Any |
| `check_out` | string | Required | Any |
| `adults` | integer | Optional | Any |
| `children` | integer | Optional | Any |
| `currency` | string | Optional | EUR, USD, GBP, CHF, SEK, DKK, NOK, PLN, CZK, CAD, AUD |

## Example request

HomeToGo

GET /v1/hometogo/price-histogram?destination=paris&check\_in=2027-03-14&check\_out=2027-03-21&currency=EUR 

```
{
  "success": true,
  "data": {
    "location_id": "5460aead9281b",
    "currency": "EUR",
    "check_in": "2027-03-14",
    "check_out": "2027-03-21",
    "buckets": [
      {
        "price": 9,
        "relative_frequency": 0
      },
      {
        "price": 31,
        "relative_frequency": 3
      },
      {
        "price": 53,
        "relative_frequency": 9
      }
    ]
  },
  "meta": {
    "endpoint_family": "rental_price_histogram"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/hometogo?try=price-histogram#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `location_id` | string |
| `currency` | string |
| `check_in` | string |
| `check_out` | string |
| `buckets` | object\[\] |
