Skip to main content
POST
/
api
/
snapdeal
/
products
/
reviews
/snapdeal/products/reviews
curl --request POST \
  --url https://api.anysite.io/api/snapdeal/products/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "helpful"
}
'
[
  {
    "id": "<string>",
    "@type": "@snapdeal_product_review",
    "rating": 123,
    "title": "<string>",
    "text": "<string>",
    "author": "<string>",
    "date": "<string>",
    "is_verified_buyer": true,
    "helpful_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Snapdeal product id or a product URL containing it

Minimum string length: 1
Examples:

"650982344052"

"https://www.snapdeal.com/product/ms-wholesellar-miniblast-bt01/650982344052"

count
integer
required

Max number of reviews to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:helpful

Review ordering

Available options:
helpful,
recent
rating
enum<string> | null

Filter reviews by star rating

Available options:
1,
2,
3,
4,
5

Response

Successful Response

id
string
required
@type
string
default:@snapdeal_product_review
rating
integer | null
title
string | null
text
string | null
author
string | null
date
string | null
is_verified_buyer
boolean | null
helpful_count
integer | null