Amazon Web Scraper API
Products
http://scrape.infatica.io/amazon_products
info
Amazon Web Scraper API allows to receive immediate result using our Residential Proxy
Scraping Amazon products costs 20 credits per page (without additional parameters).
Query Parameters
Name | Description | Example | Options |
---|---|---|---|
query (string, required) | Destination query to retrieve | {"query":"Seagate 5TB"} | default=null |
api_key (string, required) | Web Scraper API key | {"api_key":"0de32912321"} | default=null |
pages (integer, optional) | Number of pages | {"pages":"4"} | default=1 |
domain (string, optional) | Domain zone | {"domain":"amazon.co.uk"} | default="amazon.com" |
info
Only "pages"
is paid parameter. Each page with results costs 20 credits.
Returns
Status code | Description | Example |
---|---|---|
200 (Success) | Request successful. Returns JSON with results fields | {"results":[]} |
401 (Unauthorized) | API key is missing or wrong | {'error':'API key is missing or wrong'} |
422 (Unprocessable Entity) | Error in query parameters | {'error':'Wrong query'} |
504 (Timeout) | Site returned timeout after 3 attempts to reach it | {'error':'Timeout'} |
Examples
CURL
curl -X POST "http://scrape.infatica.io/amazon_products" -d '{"api_key": "API_KEY", "query": "Seagate 5TB"}'
or with optional parameters:
curl -X POST "http://scrape.infatica.io/amazon_products" -d '{
"api_key": "API_KEY",
"query": "Seagate 5TB",
"pages" : "4" # pages parameter is optional
}'
Python
import requests
import json
req = requests.post('http://scrape.infatica.io/amazon_products', data = json.dumps({
'api_key': 'API_KEY',
'query': 'Seagate 5TB',
'pages' : '4', # pages parameter is optional
}))
content = json.loads(req.content)
print(content)
Javascript / NodeJS
const axios = require('axios')
const options = {
method: 'POST',
responseType: 'json',
data: {
api_key: 'API_KEY',
query: 'Seagate 5TB',
pages : '4' // pages parameter is optional
},
url: 'http://scrape.infatica.io/amazon_products'
}
axios(options)
.then((result) => {
console.log(result)
})
.catch((err) => {
console.error(err)
})
Example
CURL
curl -X POST "http://scrape.infatica.io/amazon_products" -d '{"api_key": "API_KEY", "query": "Seagate 5TB"}'
Example of success response
You can receive results from 1 page.
{
"results_count": 16,
"results": [
{
"name": "Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black",
"price": "$104.99",
"rating": "4.7 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Portable-External-Hard-Drive/dp/B07VS8QCXC/ref=ice_ac_b_dpb?keywords=Seagate+5TB&qid=1685090504&sr=8-3",
"image_link": "https://m.media-amazon.com/images/I/61I6kB2sD6L._AC_UY218_.jpg",
"reviews": "228,376",
"badge_text": "Amazon's Choicefor Seagate 5TB"
},
{
"name": "Seagate BarraCuda 5TB Internal Hard Drive HDD – 2.5 Inch SATA 6Gb/s 5400 RPM 128MB Cache for Computer Desktop PC (ST5000LM000)",
"price": "$137.00",
"rating": "4.4 out of 5 stars",
"link": "https://www.amazon.com/Seagate-BarraCuda-Internal-2-5-Inch-ST5000LM000/dp/B01M0AADIX/ref=sr_1_4?keywords=Seagate+5TB&qid=1685090504&sr=8-4",
"image_link": "https://m.media-amazon.com/images/I/91QeZSFnFwL._AC_UY218_.jpg",
"reviews": "10,591",
"badge_text": ""
},
{
"name": "SAEGATE BarraCuda Internal Hard Drive 5TB SATA 6Gb/s 128MB Cache 2.5-Inch 15mm (ST5000LM000) (Renewed)",
"price": "$108.99",
"rating": "4.0 out of 5 stars",
"link": "https://www.amazon.com/Seagate-BarraCuda-Internal-2-5-Inch-ST5000LM000/dp/B07MWDMD4J/ref=sr_1_5?keywords=Seagate+5TB&qid=1685090504&sr=8-5",
"image_link": "https://m.media-amazon.com/images/I/81T2CtS3P3L._AC_UY218_.jpg",
"reviews": "297",
"badge_text": ""
},
{
"name": "Seagate 5000GB One Touch 5TB External HHD Drive with Rescue Data Recovery Services, Black (STKC5000400)",
"price": "$119.99",
"rating": "4.6 out of 5 stars",
"link": "https://www.amazon.com/Seagate-External-Recovery-Services-STKC5000400/dp/B08HMK4F26/ref=sr_1_6?keywords=Seagate+5TB&qid=1685090504&sr=8-6",
"image_link": "https://m.media-amazon.com/images/I/9178I-zCAlL._AC_UY218_.jpg",
"reviews": "51",
"badge_text": ""
},
{
"name": "Seagate FireCuda Gaming Hard Drive External Hard Drive 5TB - USB 3.2 Gen 1, RGB LED lighting for PC and Mac with Rescue Services (STKL5000400)",
"price": "$130.99",
"rating": "4.8 out of 5 stars",
"link": "https://www.amazon.com/Seagate-FireCuda-Gaming-Drive-External/dp/B08Y1S6R1V/ref=sr_1_7?keywords=Seagate+5TB&qid=1685090504&sr=8-7",
"image_link": "https://m.media-amazon.com/images/I/51CTjsienWS._AC_UY218_.jpg",
"reviews": "42,207",
"badge_text": ""
},
{
"name": "Seagate One Touch 5TB External HHD Drive with 3 Years Rescue Data Recovery Services, Space Gray (STKC5000601",
"price": "",
"rating": "4.2 out of 5 stars",
"link": "https://www.amazon.com/Seagate-External-Recovery-Services-STKC5000601/dp/B09ML5LTBS/ref=sr_1_8?keywords=Seagate+5TB&qid=1685090504&sr=8-8",
"image_link": "https://m.media-amazon.com/images/I/41DsgBXldML._AC_UY218_.jpg",
"reviews": "11",
"badge_text": ""
},
{
"name": "Seagate STHP5000400 Backup Plus 5TB External Hard Drive Portable HDD - Black USB 3.0 for PC Laptop and Mac, 1 Year MylioCreate, 2 Months Adobe CC Photography, 2-Year Rescue Service",
"price": "$116.00",
"rating": "4.7 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Backup-External-Drive-Portable/dp/B07MY44VNM/ref=sr_1_9?keywords=Seagate+5TB&qid=1685090504&sr=8-9",
"image_link": "https://m.media-amazon.com/images/I/9178I-zCAlL._AC_UY218_.jpg",
"reviews": "2,324",
"badge_text": ""
},
{
"name": "Seagate One Touch 5TB External HHD Drive with 3 Years Rescue Data Recovery Services, Space Gray (STKC5000601 (Renewed)",
"price": "$95.66",
"rating": "",
"link": "https://www.amazon.com/Seagate-External-Recovery-Services-STKC5000601/dp/B0BKJTH7QD/ref=sr_1_10?keywords=Seagate+5TB&qid=1685090504&sr=8-10",
"image_link": "https://m.media-amazon.com/images/I/41DsgBXldML._AC_UY218_.jpg",
"reviews": "Only 8 left in stock - order soon.",
"badge_text": ""
},
{
"name": "Seagate Backup Plus Portable 5TB USB 3.0 External Hard Drive HDD Black STDR5000404 (Renewed)",
"price": "$97.67",
"rating": "4.6 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Portable-External-STDR5000404-Renewed/dp/B07YV9XBDC/ref=sr_1_11?keywords=Seagate+5TB&qid=1685090504&sr=8-11",
"image_link": "https://m.media-amazon.com/images/I/71MYHfGPlUL._AC_UY218_.jpg",
"reviews": "10",
"badge_text": ""
},
{
"name": "Seagate One Touch, 5TB, Portable External Hard Drive, PC Notebook & Mac USB 3.0, Light Blue, 1 Year MylioCreate, 4 mo Adobe Creative Cloud Photography, 2 Year Rescue Services (STKC5000402)",
"price": "$115.18",
"rating": "4.6 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Portable-MylioCreate-Photography-STKC5000402/dp/B08JDLVNZ5/ref=sr_1_13?keywords=Seagate+5TB&qid=1685090504&sr=8-13",
"image_link": "https://m.media-amazon.com/images/I/81vdTtEEhwL._AC_UY218_.jpg",
"reviews": "2,260",
"badge_text": "Save 37%"
},
{
"name": "Seagate Backup Plus Portable 5TB External Hard Drive HDD – Black USB 3.0 for PC Laptop and Mac, 2 Months Adobe CC Photography (STDR5000100)",
"price": "$187.00",
"rating": "4.5 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Portable-External-Photography-STDR5000100/dp/B01LZP2B23/ref=sr_1_14?keywords=Seagate+5TB&qid=1685090504&sr=8-14",
"image_link": "https://m.media-amazon.com/images/I/51rZsRYt+jL._AC_UY218_.jpg",
"reviews": "46,438",
"badge_text": ""
},
{
"name": "Seagate Ultra Touch HDD 5TB External Hard Drive - 15mm, Pebble Grey, Post-Consumer Recycled Material, 6mo Dropbox and Mylio, Rescue Services (STMA5000400)",
"price": "$204.00",
"rating": "4.6 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Ultra-Touch-External-Drive/dp/B0BN4DXRC6/ref=sr_1_15?keywords=Seagate+5TB&qid=1685090504&sr=8-15",
"image_link": "https://m.media-amazon.com/images/I/71oQxJF0yvL._AC_UY218_.jpg",
"reviews": "2,156",
"badge_text": ""
},
{
"name": "Seagate Backup Plus 5TB Desktop External Hard Drive USB 3.0 + 2mo Adobe CC Photography (STDT5000100)",
"price": "$224.64",
"rating": "4.4 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Desktop-External-Photography-STDT5000100/dp/B00J0O5R2I/ref=sr_1_16?keywords=Seagate+5TB&qid=1685090504&sr=8-16",
"image_link": "https://m.media-amazon.com/images/I/81l7C8kOMqL._AC_UY218_.jpg",
"reviews": "3,735",
"badge_text": ""
},
{
"name": "Seagate 5TB Backup Plus Portable High-Capacity External Hard Drive + 1Yr Myliocreate + 2MO Adobe CC Photography, Red (STHP5000403)",
"price": "$176.00",
"rating": "4.7 out of 5 stars",
"link": "https://www.amazon.com/Seagate-High-Capacity-Myliocreate-Photography-STHP5000403/dp/B07P6TBM5Z/ref=sr_1_18?keywords=Seagate+5TB&qid=1685090504&sr=8-18",
"image_link": "https://m.media-amazon.com/images/I/61j3sp6w93L._AC_UY218_.jpg",
"reviews": "1,219",
"badge_text": ""
},
{
"name": "(OLD MODEL) Seagate Expansion USB 3.0 5TB Desktop External Hard Drive (STBV5000100)",
"price": "$175.00",
"rating": "4.5 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Expansion-Desktop-External-STBV5000100/dp/B00JT0EGPW/ref=sr_1_19?keywords=Seagate+5TB&qid=1685090504&sr=8-19",
"image_link": "https://m.media-amazon.com/images/I/31fnNfcr+XL._AC_UY218_.jpg",
"reviews": "7,175",
"badge_text": ""
},
{
"name": "Seagate Backup Plus 5TB Desktop External Hard Drive USB 3.0 (STDT5000600)",
"price": "$174.62",
"rating": "4.6 out of 5 stars",
"link": "https://www.amazon.com/Seagate-Backup-Desktop-External-STDT5000600/dp/B07Z2VML53/ref=sr_1_20?keywords=Seagate+5TB&qid=1685090504&sr=8-20",
"image_link": "https://m.media-amazon.com/images/I/61lIHkR8b-L._AC_UY218_.jpg",
"reviews": "2",
"badge_text": ""
}
]
}