Browse OLX.pl categories
olx_categoriesFind the category_id for olx_search. Without arguments: OLX's 19 top-level categories. With parent_id: that category's sub-categories (instant, from a snapshot of OLX's category tree). With query: which categories the offers matching those words fall in, with live offer counts, largest first — the quickest way to pick a category for a search term (e.g. 'iphone 13' → Smartfony i telefony komórkowe > iPhone). Result: { source, parent, query?, total_count?, count, categories: [{ id, name, path, has_children, count? }] } — path is the full Polish name trail ('Nieruchomości > Mieszkania > Wynajem').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search words; returns the categories their offers fall in, with counts (one live request). | |
| no_cache | No | Force a fresh fetch and bypass this server's result cache (5 min). Default false. | |
| parent_id | No | List this category's sub-categories (e.g. 3 = Nieruchomości). With query: scope the counts to it. |