Shopping

Amazon API

amazon.com

Amazon - product search, details, reviews, pricing, cart, and orders.

Actions
15
Category
Shopping
Login
Some actions
Output
JSON

Call the Amazon API

Submit a task, then poll the job until it settles. This example runs am_bestsellers.

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": "am_bestsellers",
    "params": {
      "category": "electronics"
    }
  }'

15 actions on amazon.com

Read

  • Bestsellers

    am_bestsellersread1 credit / call

    Returns top-ranked bestselling products in a category with prices and ratings.

    category
    string · required
    limit
    integer
  • Categories

    am_categoriesread1 credit / call

    Returns the department tree with top-level departments and subcategories.

  • Category Navigation Menu

    act_amazon_category_navigation_menuread2 credits / call

    Returns top-level navigation menu departments with titles and sections.

    hash_customer_and_session_id
    string · required
    country_code
    string · required
  • Category Navigation Submenu

    act_amazon_category_navigation_submenuread2 credits / call

    Returns a department's submenu subcategories with titles, links, and node IDs.

    hash_customer_and_session_id
    string · required
    second_layer_tree
    string · required
    country_code
    string · required
  • Deals

    am_dealsread1 credit / call

    Returns today's deals with titles, prices, discounts, and deal types.

    limit
    integer
  • Homepage Gateway

    act_amazon_homepage_gateway_ssrread1 credit / call

    Returns homepage product tiles with titles, images, and links.

  • Product Details

    am_product_detailsread1 credit / call

    Returns full product detail including price, rating, features, images, and seller.

    asin
    string · required
  • Product Listing

    act_amazon_product_listingread2 credits / call

    Returns products in a browse category with titles, prices, ratings, and sponsored flags.

    bbn
    string · required
    rh
    string · required
    ref_
    string · required
  • Product Offers

    am_product_offersread1 credit / call

    Returns all seller offers for a product with prices, conditions, and sellers.

    asin
    string · required
    condition
    string
  • Product Reviews

    am_product_reviewsread1 credit / call

    Returns top product reviews with ratings, authors, dates, and helpful votes.

    asin
    string · required
  • Search Products

    am_search_productsread1 credit / call

    Returns keyword search results with titles, prices, ratings, and sort options.

    query
    string · required
    page
    integer
    limit
    integer
    sort
    string
  • Search Suggestions

    am_search_suggestionsread1 credit / call

    Returns search autocomplete suggestions for a partial query.

    query
    string · required
    limit
    integer
  • Seller Products

    am_seller_productsread1 credit / call

    Returns a seller's storefront products with titles, prices, and ratings.

    seller_id
    string · required
    page
    integer
    limit
    integer
  • Seller Profile

    am_seller_profileread1 credit / call

    Returns a seller's profile including name, description, business info, and feedback.

    seller_id
    string · required
  • View Cart

    am_view_cartreadlogin required2 credits / call

    Returns current cart contents with ASIN, title, price, quantity, and images. Requires an authenticated session.

    enriched
    boolean · required

Amazon API questions

Is there an API for Amazon?
Amazon does not offer a public data API for this, but Anakin Wire provides 15 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 Shopping APIs

All Shopping sites