Amazon API
amazon.com
Amazon — search products, get details, reviews, pricing. Add to cart and manage orders with authentication.
- Actions
- 5
- Category
- Ecommerce
- Login
- Some actions
- Output
- JSON
Call the Amazon API
Submit a task, then poll the job until it settles. This example runs auth_optional_testing.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "auth_optional_testing",
"params": {
"label": "ping"
}
}'5 actions on amazon.com
Read
Auth Optional Testing
auth_optional_testingread1 credit / callDiagnostic: prints incoming cookies and rotates a counter. Anon run shows no cookies; authed run shows the previous counter and bumps it.
- label
- string
Get Product Details
am_product_detailsread1 credit / callFetch full product details by ASIN — title, brand, price, rating, reviews, feature bullets, images, technical specs, and categories.
- asin
- string
- product_url
- string
Search Products
am_search_productsread1 credit / callSearch Amazon products by keyword with optional sorting and pagination. Returns product listings with ASIN, title, price, rating, reviews, images, Prime status, and delivery info.
- query
- string · required
- page
- integer
- sort_by
- string
View Cart
am_view_cartreadlogin required2 credits / callGet current cart contents — items with ASIN, title, price, quantity, images. Requires authenticated connection.
Write
Write actions change state on amazon.com and run as the account you connect.
Add to Cart
am_add_to_cartwritelogin required5 credits / callAdd a product to your Amazon cart by ASIN. Requires authenticated connection with fresh aws-waf-token cookie.
- asin
- string · required
- quantity
- integer
Amazon API questions
- Is there an API for Amazon?
- Amazon does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for amazon.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Amazon data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when amazon.com changes its markup, Anakin updates the action.
- Do I need a Amazon account?
- Some Amazon actions read data that is only visible when signed in, so those need a credential you connect once. Actions marked "read" without a login requirement run anonymously.
- What does the Amazon API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Ecommerce APIs
123inkt
The Netherlands' largest online store for printer ink, toner, and office supplies. Look up products, check live prices and stock, add to cart, and review your cart — one item or a large order.
Costco
Search products, fetch product details and pricing, locate warehouses, read warehouse details and gas prices, and browse Costco categories.
Croma
Croma — fetch product details with specs and pricing, check bank offers and promotions, get EMI plans, verify stock availability by pincode.
eBay
Search and browse eBay listings, fetch listing details, explore category taxonomy, retrieve completed sale prices, and look up seller profiles.
Flipkart
Flipkart India — search products, get details, reviews, pricing, and order history.
Instacart
Instacart — browse stores, categories, and products for grocery delivery by zip code.