Marketplace
No threads yet
Live

search_ads

olx.ro

Searches ads on https://olx.ro with optional numeric category and city filters. Returns up to limit complete ad records plus metadata.total_elements for all matches.

Parameters4
Runs10
Updated10d ago
Operational10 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is search_ads?

Searches ads on https://olx.ro with optional numeric category and city filters. Returns up to limit complete ad records plus metadata.total_elements for all matches. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, category_id, city_id, limit and get the result back without maintaining a scraper.

Response

{
  "ads": [
    {}
  ],
  "metadata": {
    "total_elements": 0,
    "visible_total_count": 0
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/2da896d5-6584-42ce-b1cb-ce3e436d12bf/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "2da896d5-6584-42ce-b1cb-ce3e436d12bf",
    "variables": {
        "query": "iphone",
        "category_id": 0,
        "city_id": 0,
        "limit": 10
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="2da896d5-6584-42ce-b1cb-ce3e436d12bf") — the "search_ads" function, which searches ads on https://olx.ro with optional numeric category and city filters. Returns up to limit complete ad records plus metadata.total_elements for all matches..

It takes query (str), category_id (int), city_id (int), limit (int). Return the result as structured JSON.