{
    "version": "ujb.site-guide/v1",
    "site": "Amazon",
    "domain": "amazon.com",
    "category": "ecommerce",
    "status": "working",
    "status_label": "Working",
    "success_rate_7d": 92.9,
    "checks_7d": 28,
    "last_checked_at": "2026-11-15T13:33:12Z",
    "last_ok_at": "2026-11-15T13:33:12Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "search",
                "detail"
            ],
            "status": "working",
            "success_rate_7d": 92.9,
            "checks_7d": 28,
            "endpoint": "/scrape",
            "params": {
                "js": true,
                "proxy_type": "advanced",
                "wait_for": 15000,
                "scroll_down": true,
                "device": "mobile"
            },
            "proxy": "advanced",
            "measured": true,
            "max_credits": 10,
            "learned_settings": "js + wait 15000 + scroll + mobile on advanced",
            "example_url": "https://www.amazon.com/s?k=wireless+earbuds",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fwww.amazon.com%2Fs%3Fk%3Dwireless%2Bearbuds&js=true&proxy_type=advanced&wait_for=15000&scroll_down=true&device=mobile&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "recipe": "amazon/listing",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fwww.amazon.com%2Fs%3Fk%3Dstanding%2Bdesk&recipe=amazon%2Flisting",
                    "credits": 5,
                    "validated_at": "2026-11-12T00:51:10Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "products": {
                            "type": "fn",
                            "fn": "return [...document.querySelectorAll('div[data-component-type=\"s-search-result\"][data-asin]')].filter(c => /^[A-Z0-9]{10}$/.test(c.getAttribute('data-asin') || '')).map(c => { const q = s => { const e = c.querySelector(s); return e ? e.textContent.replace(/\\s+/g, ' ').trim() : null; }; const asin = c.getAttribute('data-asin'); const img = c.querySelector('img.s-image'); return { title: q('h2 span') || (c.querySelector('h2') ? c.querySelector('h2').getAttribute('aria-label') : null), url: location.origin + '/dp/' + asin, asin: asin, price: q('span.a-price:not(.a-text-price) span.a-offscreen'), rating: q('span.a-icon-alt'), reviews: q('[data-cy=\"reviews-block\"] span.s-underline-text') || q('span.a-size-base.s-underline-text'), sponsored: !!c.querySelector('.puis-sponsored-label-text, .s-sponsored-label-text'), image: img ? img.getAttribute('src') : null }; }).filter(x => x.title);"
                        }
                    },
                    "fields": {
                        "products": "list of 3+ items",
                        "products[].asin": "text",
                        "products[].image": "image URL",
                        "products[].price": "text",
                        "products[].rating": "text",
                        "products[].reviews": "text",
                        "products[].sponsored": "text",
                        "products[].title": "text",
                        "products[].url": "URL"
                    },
                    "validated_on": [
                        "https://www.amazon.com/s?k=standing+desk",
                        "https://www.amazon.com/s?k=wireless+earbuds"
                    ],
                    "url_pattern": "https://www.amazon.com/s?k={k}",
                    "listing_template": null,
                    "pagination": null,
                    "search": {
                        "recipe": "amazon/search",
                        "result_recipe": "amazon/listing",
                        "params": [
                            {
                                "name": "query",
                                "type": "string",
                                "required": true,
                                "description": "Search words, as typed in the www.amazon.com search box.",
                                "example": "wireless earbuds",
                                "transform": [
                                    "collapse_spaces"
                                ],
                                "var": "k"
                            },
                            {
                                "name": "sort",
                                "type": "enum",
                                "required": false,
                                "default": "relevance",
                                "enum": [
                                    "relevance",
                                    "price_low",
                                    "price_high",
                                    "rating",
                                    "newest"
                                ],
                                "values": {
                                    "relevance": null,
                                    "price_low": "price-asc-rank",
                                    "price_high": "price-desc-rank",
                                    "rating": "review-rank",
                                    "newest": "date-desc-rank"
                                },
                                "description": "Sort order: relevance (the default), price_low, price_high, rating or newest.",
                                "example": "price_low",
                                "var": "s"
                            },
                            {
                                "name": "page",
                                "type": "int",
                                "required": false,
                                "default": 1,
                                "min": 1,
                                "max": 20,
                                "description": "Result page, 1 is the first page.",
                                "example": 2,
                                "var": "page"
                            }
                        ],
                        "url_template": "https://www.amazon.com/s{?k,s,page}",
                        "pagination": {
                            "param": "page",
                            "var": "page",
                            "start": 1,
                            "max": 20,
                            "how": "query",
                            "first": "omit"
                        },
                        "example": {
                            "params": {
                                "query": "wireless earbuds"
                            },
                            "url": "https://www.amazon.com/s?k=wireless%20earbuds"
                        },
                        "call": "GET https://api.ujeebu.com/scrape?recipe=amazon/search&query=wireless%20earbuds",
                        "today_call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fwww.amazon.com%2Fs%3Fk%3Dwireless%2520earbuds&recipe=amazon%2Flisting",
                        "checked_at": "2026-11-04 09:46:49"
                    }
                },
                {
                    "page_kind": "detail",
                    "label": "Product pages",
                    "recipe": null,
                    "call": null,
                    "credits": 5,
                    "validated_at": "2026-11-10T18:51:37Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "title": {
                            "selector": "#productTitle",
                            "type": "text"
                        },
                        "price": {
                            "selector": "#corePrice_feature_div .a-price .a-offscreen, #corePriceDisplay_desktop_feature_div .a-price .a-offscreen, .a-price .a-offscreen",
                            "type": "text"
                        },
                        "rating": {
                            "selector": "#acrPopover",
                            "type": "attr",
                            "attribute": "title"
                        },
                        "review_count": {
                            "selector": "#acrCustomerReviewText",
                            "type": "text"
                        },
                        "brand": {
                            "selector": "#bylineInfo",
                            "type": "text"
                        },
                        "availability": {
                            "selector": "#availability span",
                            "type": "text"
                        },
                        "image": {
                            "selector": "#landingImage",
                            "type": "attr",
                            "attribute": "src"
                        },
                        "sku": {
                            "selector": "input#ASIN, input[name='ASIN']",
                            "type": "attr",
                            "attribute": "value"
                        },
                        "url": {
                            "selector": "link[rel='canonical']",
                            "type": "attr",
                            "attribute": "href"
                        }
                    },
                    "fields": {
                        "title": "text",
                        "price": "text",
                        "rating": "text",
                        "review_count": "text",
                        "brand": "text",
                        "availability": "text",
                        "image": "image URL",
                        "sku": "text",
                        "url": "URL"
                    },
                    "validated_on": [
                        "https://www.amazon.com/dp/B08X4YMTPM",
                        "https://www.amazon.com/dp/B0BDHWDR12"
                    ],
                    "url_pattern": "https://www.amazon.com/dp/{id}",
                    "listing_template": null,
                    "pagination": null
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/amazon",
    "note": "Ujeebu scrapes any public website. These guides are a selection of popular sites we test every day, with settings that work today; a site that is not listed works with the same API: try any URL in the Playground (https://ujeebu.com/playground) or send us the URL (https://ujeebu.com/contact) and we will check it.",
    "billing": "Only HTTP 200 and 404 responses are billed.",
    "auth": "Header ApiKey: <your key>",
    "api_base": "https://api.ujeebu.com",
    "how_to_use_recipes": "GET https://api.ujeebu.com/scrape?url=<page>&recipe=<recipe>: the API applies the recipe's extract_rules and params (yours win when you send them) and answers {\"result\": {...}} with the headers Ujb-Recipe and Ujb-Credits. A recipe with \"recipe\": null is not served by name: POST /scrape with url, the params and extract_rules. Docs: https://ujeebu.com/docs/apis/scrape/recipes"
}