---
title: "GET /olx-pl/search"
method: GET
path: "/olx-pl/search"
tags: ["OlxPl"]
---

# GET /olx-pl/search

`GET /olx-pl/search`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/olx-pl/search`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `query` string, nullable
- `category_id` integer
- `region_id` integer
- `city_id` integer
- `district_id` integer
- `distance` integer
- `price_from` number
- `price_to` number
- `owner_type` 'private' | 'business'
- `sort_by` 'created_at:desc' | 'relevance:desc' | 'filter_float_price:asc' | 'filter_float_price:desc'
- `offset` integer
- `limit` integer

## Response `200`

- union
  - object
    - `success` boolean, required
    - `data` string, required
    - `meta` object, required
      - `endpoint_family` string, required
      - `billable` boolean, required
  - string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `422`: Validation error
- `500`: OLX answered with a response shape this parser does not recognise. Never charged.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
