search_apartment_listings
nekretnine.rsSearches apartment listings on https://www.nekretnine.rs by Serbian city and sale or rent, auto-iterating through requested result pages. Returns each listing's price, surface area, rooms, location, direct URL, and all non-empty record fields exposed by the site.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_apartment_listings?
Searches apartment listings on https://www.nekretnine.rs by Serbian city and sale or rent, auto-iterating through requested result pages. Returns each listing's price, surface area, rooms, location, direct URL, and all non-empty record fields exposed by the site. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass city, transaction_type, start_page, pages and get the result back without maintaining a scraper.
Response
{
"city": "<string>",
"listings": [
{
"id": 0,
"url": "<string>",
"title": "<string>",
"source_fields": {},
"basic_information": {}
}
],
"city_slug": "<string>",
"next_page": 0,
"start_page": 0,
"pages_fetched": [
0
],
"returned_count": 0,
"site_max_pages": 0,
"total_available": 0,
"transaction_type": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/452cda2d-2370-44ff-b638-ecbbb89aac89/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "452cda2d-2370-44ff-b638-ecbbb89aac89",
"variables": {
"city": "Beograd",
"transaction_type": "sale",
"start_page": 1,
"pages": 2
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="452cda2d-2370-44ff-b638-ecbbb89aac89") — the "search_apartment_listings" function, which searches apartment listings on https://www.nekretnine.rs by Serbian city and sale or rent, auto-iterating through requested result pages. Returns each listing's price, surface area, rooms, location, direct URL, and all non-empty record fields exposed by the site.. It takes city (str), transaction_type (str), start_page (int), pages (int). Return the result as structured JSON.