POST /api/olx/offers/search
Price: 10 credits
Search OLX classified ads by keyword and filters: returns full offer cards with title, description, price, seller, location with coordinates, photos and category-specific attributes. Supports filtering by category, price range, condition, seller type, region/city/district with radius, delivery and arbitrary category-specific facets.
Search live OLX listings on any of its country marketplaces (olx.pl, olx.ua, olx.ro, olx.bg, olx.pt, olx.kz, olx.uz) via the domain parameter. Every result is a full offer object (same shape as the offers endpoint), not a reduced card. Narrow results with keyword, category_id (from the categories endpoint), min_price/max_price, condition, owner_type (private/business), region_id/city_id/district_id (from the regions endpoint) with distance, has_delivery, user_id and sort. For category-specific facets such as phone memory, car mileage or flat area, look the filter up with the categories/filters endpoint and pass it in filters.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)domain string — OLX country marketplace domain. (default: "olx.pl"; one of: "olx.pl", "olx.ua", "olx.ro", "olx.bg", "olx.pt", "olx.kz", "olx.uz")keyword string nullable — Search keyword (examples: "iphone 14", "rower gorski"; minLength: 1)count integer required — Max number of offers to return (min: 1; max: 1000)category_id integer nullable — Restrict results to this category id (examples: 2298; >: 0)min_price number nullable — Minimum price, in the domain's currency (min: 0)max_price number nullable — Maximum price, in the domain's currency (min: 0)condition string nullable — Filter by item condition (one of: "new", "almost-new", "used", "refurbished", "outlet", "damaged", "others")owner_type string nullable — Private sellers or business sellers only (one of: "private", "business")region_id integer nullable — Restrict results to this region id (>: 0)city_id integer nullable — Restrict results to this city id (>: 0)district_id integer nullable — Restrict results to this city district id (>: 0)distance integer nullable — Search radius in kilometres around the selected city (min: 0)has_delivery boolean — Only offers that support OLX delivery (default: false)user_id integer nullable — Restrict results to offers of this seller (>: 0)sort string nullable — Result ordering; source relevance order when omitted (one of: "relevance", "newest", "oldest", "price_asc", "price_desc")filters object nullable — Category-specific filters keyed by the filter name returned by the categories/filters endpoint. Enum filters take one or more comma-separated values, range filters take 'min:max' (either side may be empty), boolean filters take 1 or 0. (examples: {"filter_enum_builtinmemory_phones":"256gb,512gb","filter_float_m":"40:60"})* string@type string (default: "OlxOffer")id string requiredurl string nullableoffer_title string nullabledescription string nullablestatus string nullableoffer_type string nullableis_business boolean nullableprice number nullableprevious_price number nullablecurrency string nullableprice_label string nullableis_negotiable boolean nullableis_price_arranged boolean nullablesalary_from number nullablesalary_to number nullablesalary_currency string nullablesalary_period string nullableis_salary_gross boolean nullablecreated_at integer nullablerefreshed_at integer nullablepushed_at integer nullableomnibus_pushed_at integer nullableexpires_at integer nullablecategory_id string nullablecategory_type string nullablelocation object nullable@type string (default: "OlxOfferLocation")city_id string nullablecity string nullablecity_alias string nullabledistrict_id string nullabledistrict string nullableregion_id string nullableregion string nullableregion_alias string nullablelatitude number nullablelongitude number nullableradius number nullablezoom integer nullableis_detailed boolean nullableseller object nullable@type string (default: "OlxOfferSeller")id string nullableuuid string nullablename string nullablecompany_name string nullableabout string nullableimage string nullablealias string nullablehas_business_page boolean nullableis_online boolean nullablecreated_at integer nullablelast_seen_at integer nullablesocial_network_account_type string nullablehas_other_offers boolean nullablecontact_name string nullableattributes array (default: [])@type string (default: "OlxOfferAttribute")key string requiredname string nullabletype string nullablevalues array (default: [])label string nullablekey_attributes array (default: [])images array (default: [])is_highlighted boolean nullableis_top_ad boolean nullableis_promoted boolean nullableis_b2c_ad boolean nullablepromotion_options array (default: [])has_phone boolean nullablehas_chat boolean nullablehas_negotiation boolean nullablehas_delivery boolean nullabledelivery_mode string nullablehas_gpsr_info boolean nullableis_phone_protected boolean nullableexternal_url string nullablepartner_code string nullableshop_alias string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — The entity was not found, or a precondition failed Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.