Ecommerce

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 / call

    Diagnostic: 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 / call

    Fetch 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 / call

    Search 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 / call

    Get 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 / call

    Add 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

All Ecommerce sites