amazon-data-api

v0.7.0
io.github.terrelllouis056-gi/amazon-data-api Checked 23 minutes ago Published 1 day ago

Amazon search, products, reviews, offers, sellers, deals, promos, influencers: 23 marketplaces.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_products

Search products. Each result has price, list price, savings_percent (Amazon's badge, or computed from price and list price), rating, sponsored and badge flags, and is_prime: true for a Prime badge or, on amazon.com, the "Join Prime to get FREE delivery" line; false on amazon.com when the delivery line lacks it; null when unknown.

ParameterTypeDescription
query *stringSearch keywords.
brandstringOnly these brands, by name, comma-separated (e.g. Anker,Belkin).
categorystringAmazon search category alias (e.g. electronics) or numeric browse node ID (e.g. 172541).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
delivery_zipcodestringPostal code in the marketplace to price and date delivery for, e.g. 99501.
filtersstringComma-separated values from a previous response's refinements (Prime, 4 stars and up, condition, deal type). They differ by marketplace.
languagestringPage language the marketplace offers, e.g. es_US or en_GB on DE. Default: the marketplace language.
max_pricenumber
min_pricenumberIn the marketplace's currency.
pageinteger
seller_idstringOnly products sold by this third-party seller.
sortstring

get_product

Product details by ASIN: price, images, rating, availability, details table, best_sellers_rank ([] only for Amazon's own devices), is_prime, and deal { badge, ends_in, ends_at } where ends_at is the deal's end time (ISO 8601 UTC) from Amazon's countdown, or null.

ParameterTypeDescription
asin *string10-character Amazon product ID (ASIN).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
delivery_zipcodestringPostal code in the marketplace to price and date delivery for, e.g. 99501.
include_offersbooleantrue to also return the first page of seller offers (costs a second request).
languagestringPage language the marketplace offers, e.g. es_US or en_GB on DE. Default: the marketplace language.

get_reviews

Ratings and review highlights

ParameterTypeDescription
asin *string10-character Amazon product ID (ASIN).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_best_sellers

Best sellers and rankings: 50 ranks per page, each with title, price, rating and image. If Amazon's second request fails, items after the first 30 have only rank, ASIN and URL.

ParameterTypeDescription
category *stringCategory slug as in Amazon's best-seller URLs, optionally with a node ID, e.g. electronics.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
languagestringPage language the marketplace offers, e.g. es_US or en_GB on DE. Default: the marketplace language.
page1 = ranks 1 to 50, 2 = ranks 51 to 100.
typestring

get_seller_products

Products listed by a third-party seller (the seller's storefront)

ParameterTypeDescription
seller_id *stringAmazon seller ID, e.g. A2L77EE7U53NWQ (the seller= value in seller links).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
pageinteger
sortstring

lookup_product

Find the Amazon product for a barcode: UPC, EAN, ISBN or GTIN

ParameterTypeDescription
identifier *stringUPC (12 digits), EAN/GTIN (8, 13 or 14 digits) or ISBN-10/13. Hyphens and spaces are ignored.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_offers

All seller offers for a product: price, condition, seller rating, FBA, Prime, delivery. The featured offer comes first. total_offers counts offers besides the featured one; total_offers_with_featured includes it (both null after page 1).

ParameterTypeDescription
asin *string10-character Amazon product ID (ASIN).
conditionstringComma-separated: new, used, used_like_new, used_very_good, used_good, used_acceptable.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
delivery_zipcodestringPostal code in the marketplace to price and date delivery for, e.g. 99501.
limitintegerReturn only the first n offers.
pageinteger
primebooleantrue for Prime-eligible offers only.

get_deals

Today's deals on the marketplace's deals page, with optional filters. ends_at is usually null here; get_product returns a deal's end time as deal.ends_at.

ParameterTypeDescription
brandstringA brands value from refinements, e.g. 200611|Ring.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
departmentstringA departments value from refinements in a previous response.
four_stars_and_upboolean
min_discountintegerAt least this percent off.
price_rangeAmazon's price bucket, 1 (lowest) to 5.
prime_exclusiveboolean

get_seller_profile

Seller profile: business name and address, rating, feedback counts and star breakdown

ParameterTypeDescription
seller_id *stringAmazon seller ID, e.g. A2L77EE7U53NWQ (the seller= value in seller links).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_seller_reviews

A seller's buyer feedback, newest first: rating, comment, rater, date

ParameterTypeDescription
seller_id *stringAmazon seller ID, e.g. A2L77EE7U53NWQ (the seller= value in seller links).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
cursorstringnext_cursor from the previous call, for older feedback. Omit for the newest page.
star_ratingOnly feedback with this rating, last 12 months.

get_influencer_profile

An Amazon influencer's storefront: name, bio, social links, trending products

ParameterTypeDescription
handle *stringInfluencer storefront name, as in amazon.com/shop/<handle>.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_influencer_posts

An Amazon influencer's newest video posts, with the ASINs each one features

ParameterTypeDescription
handle *stringInfluencer storefront name, as in amazon.com/shop/<handle>.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_influencer_list_products

The products in an Amazon influencer's list post (US): title, item count, first ~20 products

ParameterTypeDescription
handle *stringInfluencer storefront name, as in amazon.com/shop/<handle>.
post_id *stringList post ID, e.g. amzn1.ideas.382NVFBNK3GGQ.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_promotion

An Amazon promotion by ID: title, schedule, how to claim, the seller running it

ParameterTypeDescription
promo_id *stringThe ID in an amazon.com/promotion/psp/<promo_id> link.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_categories

Category tree: top-level categories, or the children of one category

ParameterTypeDescription
categorystringA path returned by a previous call (e.g. electronics or electronics/172541). Omit for the top level.
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_search_categories

The departments in Amazon's search box; pass an alias to search_products as category

ParameterTypeDescription
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

search_autocomplete

Amazon's search-box suggestions for a partial query

ParameterTypeDescription
query *string
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.

get_category_products

Browse the products in a category, without a search query

ParameterTypeDescription
category *stringSearch category alias (e.g. electronics) or numeric browse node ID (e.g. 172541).
brandstringOnly these brands, by name, comma-separated (e.g. Anker,Belkin).
countrystringAmazon marketplace as an ISO country code. GB is amazon.co.uk. Default US.
filtersstringComma-separated values from a previous response's refinements (Prime, 4 stars and up, condition, deal type). They differ by marketplace.
languagestringPage language the marketplace offers, e.g. es_US or en_GB on DE. Default: the marketplace language.
pageinteger
sortstring