Skip to main content
POST
/
api
/
snapdeal
/
products
/
search
/snapdeal/products/search
curl --request POST \
  --url https://api.anysite.io/api/snapdeal/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevance",
  "price_min": 1,
  "price_max": 1
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "@snapdeal_search_product",
    "supc": "<string>",
    "alias": "<string>",
    "title": "<string>",
    "price": 123,
    "list_price": 123,
    "discount_percentage": 123,
    "currency": "<string>",
    "image": "<string>",
    "rating": 123,
    "rating_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Examples:

"bluetooth speaker"

"running shoes"

count
integer
required

Max number of results 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:relevance

Result ordering

Available options:
relevance,
popularity,
price_low_to_high,
price_high_to_low,
discount,
fresh_arrivals
price_min
integer | null

Minimum price filter (INR)

Required range: x >= 0
price_max
integer | null

Maximum price filter (INR)

Required range: x >= 0

Response

Successful Response

id
string
required
url
string
required
@type
string
default:@snapdeal_search_product
supc
string | null
alias
string | null
title
string | null
price
number | null
list_price
number | null
discount_percentage
number | null
currency
string | null
image
string | null
rating
number | null
rating_count
integer | null