Toggle Sidebar
Get All Categories
Retrieve a complete list of all available product categories. This endpoint returns the full set of categories that can be used to organize or filter products within the Manob.Ai platform.
Requirements
- No parameters are required.
Usage
Request
- Method:
GET - Path:
/v1/categories
Example
curl -X GET "https://api.example.com/v1/categories"
Response
200 OK
Returns a standard API envelope where the categories list is returned directly in data (array).
Example:
{
"status": true,
"path": "/v1/categories",
"statusCode": 200,
"message": "Success",
"data": [
{
"id": 65,
"title": "Web Devlopment",
"slug": "web-devlopment",
"category_tree": "",
"category_group": "BOTH",
"buyer_fee": "10.00",
"extended_buyer_fee": "100.00",
"app_icon": "public/CATEGORY/icon.png",
"web_icon": "public/CATEGORY/icon.png",
"is_featured": true,
"has_children": true,
"total_products": 0,
"total_services": 0,
"total_sales": 0,
"total_clicks": 0,
"total_views": 0,
"global_ranking": 0,
"parent_category_id": null,
"status": true,
"children": [
"string"
],
"parent_category": "string"
}
]
}
Notes
- The categories list is returned directly as an array in
data(notdata.data). has_childrenindicates whether the category has sub-categories.- When
parent_category_idisnull, the category is a top-level category. - Fee fields (
buyer_fee,extended_buyer_fee) are returned as strings (e.g."10.00").