Hepsiemlak Filters API lists what the search route accepts. It returns the property types of the class, all cities with their slugs and, with city, the counties. With county it also returns the areas and their districts with the slugs for the area and district search parameters. Room, floor, heating, owner and listing date options come with their Turkish labels.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
4 optional filters available.
string
Optional
housing (default), commercial, land, timeshare or tourist.
example
string
Optional
sale (default), rent, seasonal_rent, transfer_sale, transfer_rent or swap_sale.
example
string
Optional
City slug such as istanbul. Adds its counties.
example
array
Optional
Repeatable county slug. Adds areas and districts.
["example"]
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"areas": [
{
"label": "19 May\u0131s",
"value": "kadikoy-19-mayis",
"county": "kadikoy",
"districts": [
{
"label": "19 May\u0131s Mh.",
"value": "kadikoy-19-mayis-mah"
},
{
"label": "Kozyata\u011f\u0131 Mh.",
"value": "kozyatagi-mah"
}
]
},
{
"label": "Ac\u0131badem",
"value": "kadikoy-acibadem",
"county": "kadikoy",
"districts": [
{
"label": "Ac\u0131badem Mh.",
"value": "kadikoy-acibadem-mah"
},
{
"label": "Ko\u015fuyolu Mh.",
"value": "kadikoy-kosuyolu-mah"
}
]
}
],
"rooms": [
{
"label": "St\u00fcdyo",
"value": "studyo"
},
{
"label": "1+1",
"value": "1-1"
}
],
"cities": [
{
"label": "\u0130stanbul",
"value": "istanbul"
},
{
"label": "Ankara",
"value": "ankara"
}
],
"floors": [
{
"label": "Y\u00fcksek Giri\u015f",
"value": "Y\u00fcksek Giri\u015f"
},
{
"label": "Ara Kat",
"value": "Ara Kat"
}
],
"heading": "Kad\u0131k\u00f6y Sat\u0131l\u0131k Ev",
"heating": [
{
"label": "Kombi",
"value": "Kombi"
},
{
"label": "Klima",
"value": "Klima"
}
],
"counties": [
{
"label": "Kad\u0131k\u00f6y",
"value": "kadikoy"
},
{
"label": "Adalar",
"value": "adalar"
}
],
"owner_types": [
{
"label": "Sahibinden",
"value": "sahibinden"
},
{
"label": "Emlak\u00e7\u0131dan",
"value": "emlakcidan"
}
],
"listing_type": "sale",
"listing_dates": [
{
"label": "Bug\u00fcn\u00fcn \u0130lanlar\u0131",
"value": "today"
},
{
"label": "Son 3 g\u00fcn",
"value": "last-three-days"
}
],
"property_class": "housing",
"property_types": [
{
"label": "Daire",
"value": "daire"
},
{
"label": "Villa",
"value": "villa"
}
]
},
"meta": {
"billable": true,
"endpoint_family": "filters"
},
"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": {
"property_class": [
"The property_class field is invalid."
]
},
"message": "The request validation failed"
}Unknown Location
A city, county, district or area slug does not exist. Use a slug from autocomplete or filters. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "filters"
},
"error": {
"code": "VALIDATION_ERROR",
"message": "The location is unknown. Use a slug from autocomplete or filters."
},
"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": "filters"
},
"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.