Szukaj ogłoszeń OLX
search_offersSearch OLX offers by query, price, category, location, and sort filters via JSON API; resolve names to numeric IDs first. Returns compact offers, total count, and next offset.
Instructions
Search OLX offers via the public JSON API. Location/category must be numeric IDs — get them with resolve_olx_url (e.g. "/elektronika/krakow/") if you only know names. Returns compact offers plus total count and nextOffset.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Search phrase, e.g. "lutownica" | |
| cityId | No | ||
| offset | No | ||
| sortBy | No | relevance | |
| priceTo | No | ||
| regionId | No | ||
| ownerType | No | ||
| priceFrom | No | ||
| categoryId | No | ||
| distanceKm | No | Radius around cityId/districtId | |
| districtId | No | ||
| extraFilters | No | Raw OLX params, e.g. {"filter_enum_state[0]":"used"} (as returned by resolve_olx_url) | |
| skipPromoted | No |