Skip to content
Scrappa Get API key
Hepsiemlak API 1 credit/request

Hepsiemlak Similar Listings API Documentation

GET https://scrappa.co/api/hepsiemlak/similar

Hepsiemlak Similar Listings API returns the ids of up to 20 listings similar to one listing. The source gives ids only; open them with the bulk listings route. An unknown id returns 404, not billed.

Hepsiemlak Similar Listings API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/hepsiemlak/similar
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "count": 20,
        "listing_id": "1100-13220",
        "listing_ids": [
            "23761-81182",
            "62823-7789",
            "2137-27483"
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "similar"
    },
...

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.

id string Required

Listing id from search, such as 1100-13220.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "count": 20,
        "listing_id": "1100-13220",
        "listing_ids": [
            "23761-81182",
            "62823-7789",
            "2137-27483"
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "similar"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or outside its allowed values. This response is not billable.

{
    "errors": {
        "id": [
            "The id field is invalid."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The listing does not exist or was removed. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "similar"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested resource was not found."
    },
    "success": false
}
503

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": "similar"
    },
    "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.