docs.manob.ai
Toggle Sidebar

Find trending products

Retrieve a list of products that are trending. This endpoint allows you to fetch all products that are currently popular and gaining attention based on user interactions and sales data.

Requirements

  • No parameters are required.

Usage

Method: GET Path: /products/trending

Example

curl -X GET "https://api.example.com/products/trending"

Response

200 OK

Returns a standard API envelope with the products list available under data.data.

Example:

{
  "status": true,
  "path": "string",
  "statusCode": 0,
  "message": "string",
  "data": {
    "data": [
      {
        "slug": "string",
        "is_liked": true,
        "mrp": 0,
        "is_onsale": true,
        "campaign_start_date": "string",
        "campaign_end_date": "string",
        "discount_percent": 0,
        "max_discount": 0,
        "id": "string",
        "title": "string",
        "thumbnail_image": "string",
        "price": 0,
        "avg_rating": "string",
        "total_reviews": 0,
        "total_sales": 0,
        "global_ranking": 0,
        "genre_ranking": 0,
        "is_wishlist": true,
        "is_featured": true,
        "creator": {
          "id": "string",
          "full_name": "string",
          "user_name": "string",
          "email": "string",
          "profile_image": "string",
          "is_online": true,
          "level": "string"
        }
      }
    ]
  }
}

Notes

  • The products list is returned inside data.data (nested data object).
  • is_onsale, discount_percent, campaign_start_date, and campaign_end_date describe active promotions.
  • avg_rating, total_reviews, and total_sales can be used to gauge popularity.
  • global_ranking and genre_ranking indicate ranking positions (lower number typically means higher rank).
  • The creator object contains basic information about the product’s creator.