# Lazada API - Get Lazada product review list(By ID)

## API Overview

- Review list
- Number of reviews
- Review content
- Review images/videos
- Review time

## API URL

`GET https://api.tmapi.io/lazada/item/ratings`

## Request Parameters

### Query

| Field | Type | Explanation | Required |
| --- | --- | --- | --- |
| site | string | Region name abbreviation, for example, Thailand is 'th'.<br/>Optional values: `my`, `th`, `ph`, `id`, `vn`, `sg` | true |
| item_id | integer | Product ID | true |
| rate_star | string | Optional values: `1`, `2`, `3`, `4`, `5` | false |
| sort | string | Optional values: `relevance`, `latest`, `rating_down`, `rating_up`<br/>Default value: relevance | false |
| page | integer | Page number<br/>Default value: 1 | false |

## Security Auth

> Please go to [Console-Account Center](https://console.tmapi.io/account/center) to get your apiToken.

> Add your apiToken to the request parameters. Please refer to the examples below.

## Request Example

```bash

curl --request GET 'https://api.tmapi.io/lazada/item/ratings?apiToken=xxxxxx&site=my&item_id=2244193341&sort=relevance&page=1'

```

## Response Example

```json

{
  "code": 200,
  "msg": "success",
  "data": {
    "page": 1,
    "page_size": 5,
    "total_count": 6831,
    "has_next_page": true,
    "sort": "relevance",
    "filter": {
      "rate_star": ""
    },
    "statistics": {
      "review_count": 6831,
      "average_score": 5,
      "classified_counts": {
        "star5": 6712,
        "star4": 64,
        "star3": 24,
        "star2": 10,
        "star1": 21
      }
    },
    "items": [
      {
        "review_id": 863639598923505,
        "rating_star": 5,
        "rating_star_detail": {
          "product": 5,
          "logistics": 5,
          "seller": 5
        },
        "content": "เหมาะสำหรับการซ่อมแซมรถยนต์, สีสดใสและติดทนนาน, สีเมทัลลิกที่สวยงาม!, กระป๋องสเปรย์ใช้งานง่าย, การปกปิดดีและผิวเรียบเนียน,  ",
        "review_imgs": [
          "https://lzd-u.slatic.net/d9307aadb7074d82918e40c838758c10_8fa048b66e2c4c6bbaab9cc789a083f8.jpg"
        ],
        "replies": [],
        "liked_count": 0,
        "skuid": "16400969079",
        "sku_prop_names": "สี:30/109ดำเงๅ",
        "buyer_id": 100708016085,
        "buyer_name": "0***5",
        "is_helpful": true,
        "is_verified_purchase": true,
        "is_anonymous": false,
        "order_time": "28 ส.ค. 2024",
        "review_time": "2 สัปดาห์ก่อน"
      },
      {
        "review_id": 848280395823505,
        "rating_star": 5,
        "rating_star_detail": {
          "product": 5,
          "logistics": 5,
          "seller": 5
        },
        "content": "สินค้าดีมีคุณภาพครับ จัดส่งสินค้ารวดเร็วทันใจครับ ร้านค้าบริการดีครับ มีโอกาสจะอุดหนุนอีกแน่นอนครับ…….. ",
        "review_imgs": [
          "https://lzd-u.slatic.net/d2d9b1fcedf54151a97fc2783c5c9edb_13_1721739128.532233.jpg"
        ],
        "replies": [],
        "liked_count": 0,
        "skuid": "13899494648",
        "sku_prop_names": "สี:3/124รองพื้นเงิน",
        "buyer_id": 100676480041,
        "buyer_name": "K***h",
        "is_helpful": true,
        "is_verified_purchase": true,
        "is_anonymous": true,
        "order_time": "17 ก.ค. 2024",
        "review_time": "23 ก.ค. 2024"
      },
      {
        "review_id": 846964055523505,
        "rating_star": 5,
        "rating_star_detail": {
          "product": 5,
          "logistics": 5,
          "seller": 5
        },
        "content": "เหมาะสำหรับโครงการ DIY และงานฝีมือ., สีเมทัลลิคที่สวยงาม!, สีหลากหลายใช้ได้กับความต้องการการเขียนระบบต่างๆ.,  ",
        "review_imgs": [
          "https://lzd-u.slatic.net/143ae9ac75814206a9643efb1515c5e1_3_1721188179.422095.jpg"
        ],
        "replies": [],
        "liked_count": 0,
        "skuid": "16400969080",
        "sku_prop_names": "สี:29/109Aดำด้ๅน",
        "buyer_id": 15653112,
        "buyer_name": "สุชาติ ส.",
        "is_helpful": true,
        "is_verified_purchase": true,
        "is_anonymous": false,
        "order_time": "16 ก.ค. 2024",
        "review_time": "17 ก.ค. 2024"
      },
      {
        "review_id": 844776345023505,
        "rating_star": 5,
        "rating_star_detail": {
          "product": 5,
          "logistics": 5,
          "seller": 5
        },
        "content": "สีที่อยู่ได้นานและสดใส., แห้งเร็วสำหรับผลลัพธ์ที่มีคุณภาพ., เหมาะสำหรับโครงการ DIY และงานฝีมือ., เหมาะสำหรับซ่อมแซมรถ., ครอบคลุมดีและเสร็จสมบูรณ์.,  ",
        "review_imgs": [
          "https://lzd-u.slatic.net/73ddbdb6c98e4cc9884a0e8735b621be_5eb8454e10ac48979f4e58c59ce033d4.jpg"
        ],
        "replies": [],
        "liked_count": 0,
        "skuid": "13899494658",
        "sku_prop_names": "สี:H749* เทาด้านฮอนด้า",
        "buyer_id": 1282082,
        "buyer_name": "Tae S.",
        "is_helpful": true,
        "is_verified_purchase": true,
        "is_anonymous": false,
        "order_time": "09 ก.ค. 2024",
        "review_time": "11 ก.ค. 2024"
      },
      {
        "review_id": 843478058023505,
        "rating_star": 5,
        "rating_star_detail": {
          "product": 5,
          "logistics": 5,
          "seller": 5
        },
        "content": "บรรจุภัณฑ์สเปรย์ใช้ง่าย., แห้งเร็วสำหรับผลลัพธ์ที่มีคุณภาพ., ครอบคลุมดีและเสร็จสมบูรณ์., เหมาะสำหรับโครงการ DIY และงานฝีมือ.,  ",
        "review_imgs": [
          "https://lzd-u.slatic.net/5194c51ebec649e1b7d3a965a8b29af7_11_1721273353.981030.jpg"
        ],
        "replies": [],
        "liked_count": 0,
        "skuid": "13899494648",
        "sku_prop_names": "สี:3/124รองพื้นเงิน",
        "buyer_id": 100134618228,
        "buyer_name": "ส***",
        "is_helpful": true,
        "is_verified_purchase": true,
        "is_anonymous": true,
        "order_time": "07 ก.ค. 2024",
        "review_time": "18 ก.ค. 2024"
      }
    ]
  }
}

```