/olx/categories

POST /api/olx/categories

Price: 20 credits

Get the full OLX category tree for a country marketplace: every category with id, name, alias, parent_id, depth level, child ids, browse URL and the current number of live offers in it.

How to use it

Fetch the complete OLX category tree for one country marketplace (domain). Returns a flat list of up to roughly 3000 categories; each has id (use as category_id in offers/search), name, alias, parent_id (null for top-level departments), level, child_ids, url, image and offer_count — the live number of ads in that category, which makes this a market-size snapshot as well as a lookup table. Narrow the output with parent_id (direct children only) or level (1 = top-level departments).

Parameters

Request body

Response

Errors

Response headers