/kijiji/categories

POST /api/kijiji/categories

Price: 1 credit

Get the Kijiji category tree under a given category: every subcategory with its ID, localized name, parent ID and depth. Use the returned IDs as category_id when searching listings.

How to use it

Fetch the Kijiji (Canada) category tree. category_id 0 returns the nine top-level departments (Buy & Sell 10, Cars & Vehicles 27, Real Estate 34, Jobs 45, Services 72, Pets 112, Community 1, Vacation Rentals 800); pass any category ID to expand that subtree. Returns a flat list of categories with id, name, parent_id and depth (0 is the requested root); rebuild the hierarchy via parent_id -> id. The ids feed category_id on kijiji/listings/search.

Parameters

Request body

Response

Errors

Response headers