search_amazon
Scrape Amazon search results for a product query and retrieve each matching item's title, price, rating, and image URL.
Instructions
Scrape Amazon search results for a query and return a list of matching products, each with its title, price, rating, and image URL.
This performs a live network scrape of Amazon's public search results pages (no login, no API key). It has no side effects beyond outgoing HTTP requests. Results reflect Amazon's current listings and may vary by region, availability, and anti-bot throttling. Returns a list of dicts, one per product, each shaped as {"title": str, "price": str, "rating": str, "image": str}; fields that Amazon omits for a listing come back as empty strings or None. Returns an empty list when the query yields no products or when scraping is blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Product search phrase, as a string. Example: "wireless headphones". No default (required). | |
| max_pages | No | Number of result pages to scrape, as an integer; higher values return more products but take longer and raise the chance of throttling. Example: 3. Default: 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| errors | No | ||
| scraper | No | ||
| source_urls | No |