amazon/search
read-only
Search results of one store: ASIN, title, canonical /dp/ URL, price and currency as shown to this user (Amazon may show prices converted to the delivery country's currency), list price, rating, review count, Prime and sponsored flags. `store` in the result is the store that answered.
await page.runPlugin("amazon/search", { query: "<query>" })
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
queryrequired | stringmin length 1 | Search text. | |
store | string | Store domain, e.g. amazon.com (default), amazon.co.uk, amazon.de, amazon.co.jp, amazon.ca, amazon.fr, amazon.it, amazon.es, amazon.in, amazon.com.au, amazon.sg. A product url decides the store itself. | |
page | integer1–20 | 1 | Result page. |
limit | integer1–60 | 20 | Maximum number of items. |
includeSponsored | boolean | false | Keep sponsored results. |
Returns
{
query: string,
store: string,
page: integer,
items: {
asin: string,
title: string,
url: string,
price: number | null,
currency: string | null,
listPrice?: number | null,
rating: number | null,
reviews: integer | null,
prime: boolean,
sponsored: boolean,
image?: string | null
}[]
}
amazon/product
read-only
One product page: title, brand, price and currency, list price, availability, rating, review count, feature bullets, details table (key → value) and images. Amazon may open another variation; `asin` is the one shown.
await page.runPlugin("amazon/product")
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
url | string | Product URL on any Amazon store (/dp/ASIN, /gp/product/ASIN); its store is used. | |
asin | string/^[A-Za-z0-9]{10}$/ | ASIN, e.g. B0CG1LGWR6 (instead of url). | |
store | string | Store domain, e.g. amazon.com (default), amazon.co.uk, amazon.de, amazon.co.jp, amazon.ca, amazon.fr, amazon.it, amazon.es, amazon.in, amazon.com.au, amazon.sg. A product url decides the store itself. |
Returns
{
asin: string,
store: string,
title: string,
brand: string | null,
price: number | null,
currency: string | null,
listPrice?: number | null,
availability: string | null,
rating: number | null,
reviews: integer | null,
bullets: string[],
details: object,
image: string,
images: string[],
url: string
}
amazon/reviews
read-only
Customer reviews of a product: author, stars, title, date and country line as shown, verified purchase, text. Reads the reviews page (/product-reviews/ASIN, loading more up to limit) when the store shows it; amazon.com and some other stores require sign-in for it, and then only the reviews on the product page are returned (`source: "product_page"`, `signInRequired: true`; amazon.com shows none there when signed out).
await page.runPlugin("amazon/reviews")
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
url | string | Product URL on any Amazon store (/dp/ASIN, /gp/product/ASIN); its store is used. | |
asin | string/^[A-Za-z0-9]{10}$/ | ASIN, e.g. B0CG1LGWR6 (instead of url). | |
store | string | Store domain, e.g. amazon.com (default), amazon.co.uk, amazon.de, amazon.co.jp, amazon.ca, amazon.fr, amazon.it, amazon.es, amazon.in, amazon.com.au, amazon.sg. A product url decides the store itself. | |
limit | integer1–100 | 10 | Maximum number of reviews. |
Returns
{
asin: string,
store: string,
source: "reviews_page" | "product_page",
signInRequired: boolean,
rating?: number | null,
ratingsCount?: integer | null,
reviews: {
id: string,
author: string,
rating: number,
title?: string | null,
date: string,
verified: boolean,
text: string
}[]
}