Developer tutorial
How to scrape Amazon products with cURL (2026)
This tutorial shows how to scrape Amazon products in cURL using the SocialCrawl API. You get a product's title, price, rating, review count, images, and specifications by ASIN and country from one GET request, with no Amazon developer account, proxies, or HTML parsing. The code below is runnable as-is, and the response underneath it is a real, unedited call.
Code tested July 2026
How it works
- 1Get a free API keyCreate a SocialCrawl account and copy your API key from the dashboard. Every new account starts with free credits.
- 2Set up cURLUse curl, which ships with macOS, Linux, and Windows 10 and later.
- 3Call the Amazon Product endpointSend a GET request to /v1/amazon/product with your API key in the x-api-key header and the `asin` and `country` parameters.
- 4Read the responseParse the JSON. SocialCrawl returns a product's title, price, rating, review count, images, and specifications by ASIN and country in one normalized schema, so you write no HTML parsing or proxy code.
The code
A real, unedited response from the request above.
curl -G "https://www.socialcrawl.dev/v1/amazon/product" \
-H "x-api-key: YOUR_API_KEY" \
--data-urlencode "asin=B0FQFB8FMG" \
--data-urlencode "country=US"[ RESPONSE ]
{
"success": true,
"platform": "amazon",
"endpoint": "/v1/amazon/product",
"data": {
"product": {
"id": "B0FQFB8FMG",
"url": "https://www.amazon.com/dp/B0FQFB8FMG",
"title": "Apple AirPods Pro 3 Wireless Earbuds, Active Noise Cancellation, Live Translation, Heart Rate Sensing, Hearing Aid Feature, Bluetooth Headphones, Spatial Audio, High-Fidelity Sound, USB-C Charging",
"description": "About this item WORLD’S BEST IN-EAR ACTIVE NOISE CANCELLATION — Removes up to 2x more unwanted noise than AirPods Pro 2* so you can stay fully immersed in the moment.*\nBREAKTHROUGH AUDIO PERFORMANCE — Experience breathtaking, three-dimensional audio with AirPods Pro 3. A new acoustic architecture delivers transformed bass, detailed clarity so you can hear every instrument, and stunningly vivid vocals.\nHEART RATE SENSING — Built-in heart rate sensing lets you track your heart rate and calories burned for up to 50 different workout types.* With iPhone, you will have access to the Move ring, step count, and the new Workout Buddy,* powered by Apple Intelligence.*\nLIVE TRANSLATION — Communicate across language barriers using Live Translation,* enabled by Apple Intelligence.*\nEXTENDED BATTERY LIFE — Get up to 8 hours of listening time with Active Noise Cancellation on a single charge. Or up to 10 hours in Transparency using the Hearing Aid feature.*\nSECURE IN-EAR FIT — All-new ear tips, now in five sizes, provide a more secure, personalized fit and better audio performance across the board.*\nHEARING HEALTH — Take a hearing test in the comfort of your home.* Use the Hearing Aid feature, now with automatic Conversation Boost, for clearer communication.* And active Hearing Protection helps prevent exposure to loud environmental noise.*\nPERSONALIZED LISTENING — Next-generation Adaptive EQ customizes a sound signature for your unique ear geometry and fit.* And inward-facing microphones measure what you’re hearing for real-time adjustments.\nMAGICAL EXPERIENCE — Automatic Switching lets you seamlessly switch between your Apple devices.* And Audio Sharing lets you share a song or show between two sets of AirPods on your iPhone, iPad, or Apple TV.*\nShow more See more product details",
"seller": null,
"brand": "Apple",
"price": {
"current": 199.99,
"original": 249,
"currency": "USD"
},
"rating": {
"average": 4.5,
"count": 12079
},
"image_urls": [
"https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71dt0UurPZL._AC_SL1500_.jpg"
],
"availability": "In Stock",
"reviews_count": null,
"specifications": [
{
"group": "Technical Details",
"name": "Product Dimensions",
"value": "1.1 x 0.8 x 1.2 inches"
},
{
"group": "Technical Details",
"name": "Item Weight",
"value": "2.56 ounces"
}
]
}
},
"credits_used": 5,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false
}Prefer another language?
FAQ
Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usDo I need a Amazon developer account to scrape Amazon products?
No. SocialCrawl handles authentication and proxies upstream, so you never register a Amazon app, manage OAuth tokens, or run your own scrapers. One API key returns Amazon data directly.
What does the Amazon Product endpoint return?
It returns a product's title, price, rating, review count, images, and specifications by ASIN and country. The response is normalized into SocialCrawl's unified schema, identical in shape across every platform.
How much does it cost to scrape Amazon products?
Each call costs a small number of credits, and new accounts start with free credits. There are no monthly minimums, so you pay only for the calls you make.
Can I use this cURL code in production?
Yes. The snippet on this page is the real request against the live API. For production, add error handling and follow the response cursor to paginate through large result sets.
Ask AI about SocialCrawl
