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.
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 |