Skip to main content
POST
/
api
/
snapdeal
/
products
/
questions
/snapdeal/products/questions
curl --request POST \
  --url https://api.anysite.io/api/snapdeal/products/questions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "score"
}
'
[
  {
    "id": "<string>",
    "@type": "@snapdeal_question",
    "text": "<string>",
    "author": "<string>",
    "date": "<string>",
    "created_at": 123,
    "answer_count": 123,
    "upvote_count": 123,
    "score": 123,
    "answers": []
  }
]

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:

"620423338553"

"https://www.snapdeal.com/product/action-running-shoes/620423338553"

count
integer
required

Max number of questions 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:score

Question ordering

Available options:
score,
recent

Response

Successful Response

id
string
required
@type
string
default:@snapdeal_question
text
string | null
author
string | null
date
string | null
created_at
integer | null
answer_count
integer | null
upvote_count
integer | null
score
integer | null
answers
SnapdealAnswer · object[]