This API returns product details by product URL
Sample request
curl --GET \
--data 'countryCode=us' \
--data 'strict=true' \
--data 'mode=lite' \
--data-urlencode 'url=https://www.amazon.com/Dove-Body-Wash-Pump-Moisture/dp/B00MEDOY2G/' \
--header 'Accept: application/json' \
--header 'apikey: <your apikey>' \
--url 'https://api.shopalyst.com/v1/products/lookup?strict=true&mode=lite'
Request fields
Field | Description | Data Type |
---|---|---|
countryCode | Country code (us - USA, in - India), List of country codes | string |
url | Product URL from merchant site (see sample request) | string |
merchant | Merchant identifier | string |
mode | Response mode Available options are :- | string |
Sample response
[
{
"active": true,
"category": "Skin Care",
"categoryRank": 0,
"changed": false,
"discount": 0,
"division": "beauty",
"extAttributes": {},
"imageUrl": "https://m.media-amazon.com/images/I/71NbfFpRvzL._SL1500_.jpg",
"lastChangedTime": 0,
"merchant": "amazon",
"newArrival": false,
"offerPrice": 9.18,
"productId": "5900834377E5651B8E662F20BC02A87A",
"productUrl": "https://www.amazon.com/Dove-Body-Wash-Pump-Moisture/dp/B00MEDOY2G/ref=sr_1_132?utm_source=shopalyst&utm_medium=affiliate",
"salePrice": 9.18,
"seoTitle": "dove-body-wash-with-pump-with-skin-natural-nourishers-for-instantly-soft-skin-and-lasting-nourishment-deep-moisture-cleanser-that-effectively-washes-away-bacteria-while-nourishing-your-skin-34-oz",
"title": "Dove Body Wash with Pump with Skin Natural Nourishers for Instantly Soft Skin and Lasting Nourishment Deep Moisture Cleanser That Effectively Washes Away Bacteria While Nourishing Your Skin 34 oz",
"trendingRank": 0,
"trueDiscount": 0
}
]
Response Fields
Field | Description | Data Type |
---|---|---|
active | Product stock status | bool |
category | Product category | string |
discount | Discount value (percentage) | float |
division | Product division | string |
imageUrl | Primary image url | string |
merchant | Merchant name | string |
offerPrice | Discounted price | float |
productId | Shopalyst Product Id | string |
productUrl | Product URL | string |
salePrice | MRP | float |
title | Title as seen on merchant site | string |