Kijiji Category API returns the name, parent id and full path of one Kijiji category id, so you can label category_id values from search and listing results. The root id 0 is Classifieds and has no parent. An unknown category id returns a non-billable 404. Common ids: Canada 0, Alberta 9003, Ontario 9004, Calgary 1700199, Toronto 1700273; Buy & Sell 10, Cars & Vehicles 27, Cars & Trucks 174, Bikes 644, Cell phones 760.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
integer
Required
Numeric Kijiji category id, e.g. 644. Example: 644.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"id": 644,
"name": "Bikes",
"path": [
{
"id": 10,
"name": "Buy & Sell"
},
{
"id": 644,
"name": "Bikes"
}
],
"parent_id": 10
},
"meta": {
"billable": true,
"endpoint_family": "category"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The id is missing or not a non-negative integer. This response is not billable.
{
"errors": {
"id": [
"The id is required."
]
},
"message": "The request validation failed"
}Category Not Found
No Kijiji category exists for the id. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "category"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested Kijiji resource was not found."
},
"success": false
}Upstream Unavailable
Kijiji is temporarily unreachable, blocked the request or answered with data that does not match the documented shape (error code PARSER_DRIFT). Retry later; this response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "category"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Kijiji API is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.