Skip to content
Scrappa Get API key
Halo Oglasi API 1 credit/request

Halo Oglasi Agency Ads API Documentation

GET https://scrappa.co/api/halooglasi/agency-ads

Halo Oglasi Agency Ads API lists the ads of one advertiser, 20 per page, in the same item shape as the search route. Filter by listing type, property type, price, area, rooms and the other search filters, sort and page through the results. Without a listing type the result covers sale and rent. The total equals the count on the public profile.

Filters are never ignored and a page is never labelled as another page. Failed requests are not billed.

Halo Oglasi Agency Ads API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/halooglasi/agency-ads
Auth header
x-api-key
Cost
1 credit/request
advertiser_id = 1234567890
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "5425642675010",
                "url": "https://www.halooglasi.com/nekretnine/prodaja-stanova/garazno-mesto-u-kraljevim-cardacima/5425642675010",
                "path": "/nekretnine/prodaja-stanova/garazno-mesto-u-kraljevim-cardacima/5425642675010",
                "floor": null,
                "price": {
                    "amount": 20000,
                    "currency": "EUR"
                },
                "rooms": 1,
                "title": "Gara\u017eno mesto u Kraljevim \u010cardacima",
...

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.

16 optional filters available.

advertiser_id integer Required

Advertiser id from the agency route.

Example value 1234567890
listing_type string Optional

sale or rent. Omit for both.

Example value example
property_type string Optional

flat, house, land, garage, shop, warehouse or room (rent only). Omit for all types.

Example value example
min_price number Optional

Minimum price in EUR (rent: per month).

Example value 10
max_price number Optional

Maximum price in EUR.

Example value 10
min_area number Optional

Minimum area in square meters.

Example value 10
max_area number Optional

Maximum area in square meters.

Example value 10
min_rooms number Optional

Minimum number of rooms, in steps of 0.5.

Example value 10
max_rooms number Optional

Maximum number of rooms, in steps of 0.5.

Example value 10
advertiser_type string Optional

owner, agency or investor.

Example value example
building_type string Optional

old or new.

Example value example
condition_ids string Optional

Comma separated condition ids from data.facets.condition.

Example value example
furnishing_ids string Optional

Comma separated furnishing ids from data.facets.furnishing (rent).

Example value example
heating_ids string Optional

Comma separated heating ids from data.facets.heating.

Example value example
feature_ids string Optional

Comma separated ids from data.facets.additional and data.facets.extras.

Example value example
sort string Optional

newest (default), oldest, price_asc, price_desc, area_asc or area_desc.

Example value relevance
page integer Optional

One-based page number, 1 to 5000 (default 1).

Example value 1

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": {
        "items": [
            {
                "id": "5425642675010",
                "url": "https://www.halooglasi.com/nekretnine/prodaja-stanova/garazno-mesto-u-kraljevim-cardacima/5425642675010",
                "path": "/nekretnine/prodaja-stanova/garazno-mesto-u-kraljevim-cardacima/5425642675010",
                "floor": null,
                "price": {
                    "amount": 20000,
                    "currency": "EUR"
                },
                "rooms": 1,
                "title": "Gara\u017eno mesto u Kraljevim \u010cardacima",
                "area_m2": 13,
                "location": {
                    "area": "Planina",
                    "city": "Kopaonik",
                    "places": [
                        "Kopaonik",
                        "Planina",
                        "Kraljevi \u010dardaci",
                        "Stefana Prvoven\u010danog"
                    ],
                    "street": "Stefana Prvoven\u010danog",
                    "micro_location": "Kraljevi \u010dardaci"
                },
                "thumbnail": "https://img.halooglasi.com/slike/oglasi/Thumbs/231026/m/garazno-mesto-u-kraljevim-cardacima-5425642675010-71806144963.jpg",
                "floor_label": null,
                "image_count": 2,
                "price_per_m2": {
                    "amount": 1538,
                    "currency": "EUR"
                },
                "published_at": "2026-10-19",
                "total_floors": null,
                "advertiser_type": "owner",
                "has_map_position": true,
                "short_description": "Parking mesto je uknjizeno i odmah spremno za preuzimanje. Mogu\u0107 je i godi\u0161nji zakup parking mesta. U ponudi je dostupno vise parking mesta."
            }
        ],
        "pagination": {
            "page": 1,
            "per_page": 20,
            "total_count": 14100,
            "total_pages": 705,
            "filtered_out": 0,
            "has_next_page": true,
            "duplicates_removed": 0
        },
        "advertiser_id": "20668",
        "applied_filters": {
            "sort": "newest",
            "max_area": null,
            "min_area": null,
            "max_price": null,
            "max_rooms": null,
            "min_price": null,
            "min_rooms": null,
            "feature_ids": null,
            "heating_ids": null,
            "listing_type": "sale",
            "location_ids": null,
            "building_type": null,
            "condition_ids": null,
            "property_type": "flat",
            "furnishing_ids": null,
            "advertiser_type": null
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agency_ads"
    },
    "success": true
}

Errors

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

422

Validation Error

A required parameter, a range or a combination is invalid. This response is not billable.

{
    "errors": {
        "query": [
            "The query field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Halo Oglasi could not be reached or returned data that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "agency_ads"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Halo Oglasi 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.