/kijiji/locations

POST /api/kijiji/locations

Price: 1 credit

Get the Kijiji location tree around a given location: Canada, its provinces and the regions or cities under the requested node, each with its ID, localized name, parent ID and current listing count. Use the returned IDs as location_id when searching listings.

How to use it

Fetch the Kijiji (Canada) location tree. location_id 0 returns Canada plus the 11 provinces; pass a province ID (Ontario 9004, Quebec 9001, British Columbia 9007, Alberta 9003, ...) to get its regions and cities. Each entry has id, name, parent_id, listing_count and url; the response also carries the ancestors of the requested node, so rebuild the hierarchy via parent_id -> id. The ids feed location_id on kijiji/listings/search.

Parameters

Request body

Response

Errors

Response headers