Hepsiemlak Price Index API returns the market statistics of a place: median sale price and rent, median price per square meter, amortisation in years and the annual and monthly price history per square meter for sale and rent, with the series of the city and, when given, of the county or district. Ids come from the locations route.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
2 optional filters available.
integer
Required
City id such as 34.
1234567890
integer
Optional
County id such as 1421.
1234567890
integer
Optional
District id such as 12892.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"currency": "TRY",
"median_rent": 92856,
"location_ids": {
"city_id": 34,
"county_id": 1421
},
"median_sale_price": 19796808,
"amortisation_years": 17,
"median_rent_per_sqm": 771,
"rent_per_sqm_history": {
"annual": {
"series": [
{
"name": "\u0130stanbul",
"level": "CITY",
"values": [
21.61,
24.15
]
},
{
"name": "Kad\u0131k\u00f6y",
"level": "COUNTY",
"values": [
21.05,
28.33
]
}
],
"periods": [
"2014-09",
"2015-09"
]
},
"monthly": {
"series": [
{
"name": "\u0130stanbul",
"level": "CITY",
"values": [
343.47,
334.91
]
},
{
"name": "Kad\u0131k\u00f6y",
"level": "COUNTY",
"values": [
630.54,
620.31
]
}
],
"periods": [
"2025-10",
"2025-11"
]
}
},
"median_sale_price_per_sqm": 158071,
"sale_price_per_sqm_history": {
"annual": {
"series": [
{
"name": "\u0130stanbul",
"level": "CITY",
"values": [
3602.84,
4087.82
]
},
{
"name": "Kad\u0131k\u00f6y",
"level": "COUNTY",
"values": [
6834.39,
9258.51
]
}
],
"periods": [
"2014-09",
"2015-09"
]
},
"monthly": {
"series": [
{
"name": "\u0130stanbul",
"level": "CITY",
"values": [
60193.68,
61743.36
]
},
{
"name": "Kad\u0131k\u00f6y",
"level": "COUNTY",
"values": [
147284.53,
133751.9
]
}
],
"periods": [
"2025-10",
"2025-11"
]
}
}
},
"meta": {
"billable": true,
"endpoint_family": "price_index"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or outside its allowed values. This response is not billable.
{
"errors": {
"city_id": [
"The city_id field is invalid."
]
},
"message": "The request validation failed"
}Not Found
The place id does not exist. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "price_index"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
},
"success": false
}Upstream Unavailable
Hepsiemlak could not be reached or capacity is busy. Retry after a short pause. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "price_index"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Hepsiemlak could not be reached. Please retry shortly."
},
"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.