Amazon Search
glim_amazon_searchPass exactly ONE of {query} or {category_slug}. Searches Amazon (com|co.uk|de|fr|es|it) and returns ranked hits with buybox price (gross + VAT-excluded net), ratings, review counts, and ASINs. Drill down with glim_amazon_get(ref). Set sort_by='most_reviewed' (with min_reviews to filter junk) for a trust-weighted re-rank within the current page. Compact text by default; pass format='json' for full structured data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tld | No | Amazon marketplace: com | co.uk | de | fr | es | it | com |
| page | No | Page number (1-20) | |
| query | No | Free-text keyword query (mutually exclusive with category_slug) | |
| format | No | Output format. 'text' (default): compact human-readable view, fewer tokens. 'json': the same hits as machine-readable JSON. Text already carries every field except `image_url`, which only json returns. | text |
| sort_by | No | Server-side sort, except 'most_reviewed' which re-ranks the current page client-side by review count desc (rating tiebreaker). Pair 'most_reviewed' with min_reviews to skip thinly-reviewed items. | |
| min_reviews | No | Drop hits with fewer than N reviews. Pair with sort_by='most_reviewed' for a trust-weighted result. Applied client-side to organic/paid/suggested. | |
| include_paid | No | Include sponsored ad results (default: dropped) | |
| category_slug | No | Amazon bestsellers category slug, e.g. 'electronics' (.com), 'elektronik' (.de), 'electronique' (.fr). Invalid slugs return 'not_found' - retry with a correct slug. | |
| include_suggested | No | Include 'people also searched for' suggestions (default: dropped) |