{
    "version": "ujb.site-guide/v1",
    "site": "Wallapop",
    "domain": "es.wallapop.com",
    "category": "classifieds",
    "status": "partial",
    "status_label": "Mostly working",
    "success_rate_7d": 66.7,
    "checks_7d": 6,
    "last_checked_at": "2026-11-05T17:03:40Z",
    "last_ok_at": "2026-11-05T17:03:40Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "search",
                "detail"
            ],
            "status": "partial",
            "success_rate_7d": 66.7,
            "checks_7d": 6,
            "endpoint": "/scrape",
            "params": {
                "js": true,
                "wait_for": 15000
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": "js + wait 15000",
            "example_url": "https://es.wallapop.com/search?keywords=bicicleta&latitude=40.41956&longitude=-3.69196",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fes.wallapop.com%2Fsearch%3Fkeywords%3Dbicicleta%26latitude%3D40.41956%26longitude%3D-3.69196&js=true&wait_for=15000&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "recipe": "wallapop",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fes.wallapop.com%2Fsearch%3Fkeywords%3Dbicicleta%26latitude%3D40.41956%26longitude%3D-3.69196&recipe=wallapop",
                    "credits": 5,
                    "validated_at": "2026-11-04T11:14:52Z",
                    "params": {
                        "js": true,
                        "wait_for": 4000
                    },
                    "extract_rules": {
                        "items": {
                            "type": "fn",
                            "fn": "return Array.from(document.querySelectorAll('article')).map(c => { const a = c.querySelector('a[href*=\"/item/\"]'); if (!a) return null; const u = new URL(a.getAttribute('href'), location.origin); const h = c.querySelector('h3'); const pr = c.querySelector('[aria-label=\"Current price\"]'); const img = c.querySelector('img'); const ship = c.querySelector('wallapop-badge[badge-type=\"shippingAvailable\"]'); return { title: h ? h.textContent.trim() : (a.getAttribute('aria-label') || null), url: u.origin + u.pathname, item_id: (u.pathname.match(/-(\\d+)$/) || [])[1] || null, price: pr ? pr.textContent.replace(/\\s+/g, ' ').trim() : null, shipping: !!ship, image: img ? img.getAttribute('src') : null }; }).filter(Boolean);"
                        }
                    },
                    "fields": {
                        "items": "list of 3+ items",
                        "items[].image": "image URL",
                        "items[].item_id": "number (as text)",
                        "items[].price": "text",
                        "items[].shipping": "number (as text)",
                        "items[].title": "text",
                        "items[].url": "URL"
                    },
                    "validated_on": [
                        "https://es.wallapop.com/search?keywords=bicicleta&latitude=40.41956&longitude=-3.69196",
                        "https://es.wallapop.com/search?keywords=sofa&latitude=41.38879&longitude=2.15899"
                    ],
                    "url_pattern": "https://es.wallapop.com/search?keywords={keywords}&latitude={latitude}&longitude={longitude}",
                    "listing_template": null,
                    "pagination": null,
                    "search": {
                        "recipe": "wallapop/search",
                        "result_recipe": "wallapop/listing",
                        "params": [
                            {
                                "name": "query",
                                "type": "string",
                                "required": true,
                                "description": "Search words, as typed in the Wallapop search box.",
                                "example": "bicicleta",
                                "transform": [
                                    "collapse_spaces"
                                ],
                                "var": "keywords"
                            },
                            {
                                "name": "city",
                                "type": "enum",
                                "required": false,
                                "default": "madrid",
                                "enum": [
                                    "madrid",
                                    "barcelona",
                                    "valencia",
                                    "sevilla",
                                    "zaragoza",
                                    "malaga",
                                    "bilbao"
                                ],
                                "values": {
                                    "madrid": "&latitude=40.41956&longitude=-3.69196",
                                    "barcelona": "&latitude=41.38879&longitude=2.15899",
                                    "valencia": "&latitude=39.46975&longitude=-0.37739",
                                    "sevilla": "&latitude=37.38863&longitude=-5.98233",
                                    "zaragoza": "&latitude=41.64882&longitude=-0.88909",
                                    "malaga": "&latitude=36.72016&longitude=-4.42034",
                                    "bilbao": "&latitude=43.26271&longitude=-2.92528"
                                },
                                "description": "Search around this city (the site needs a location): madrid (the default), barcelona, valencia, sevilla, zaragoza, malaga, bilbao.",
                                "example": "barcelona",
                                "var": "loc"
                            },
                            {
                                "name": "min_price",
                                "type": "int",
                                "required": false,
                                "min": 0,
                                "max": 1000000,
                                "description": "Lowest price in euros.",
                                "example": 20,
                                "var": "min_sale_price"
                            },
                            {
                                "name": "max_price",
                                "type": "int",
                                "required": false,
                                "min": 0,
                                "max": 1000000,
                                "description": "Highest price in euros.",
                                "example": 300,
                                "var": "max_sale_price"
                            },
                            {
                                "name": "sort",
                                "type": "enum",
                                "required": false,
                                "default": "relevance",
                                "enum": [
                                    "relevance",
                                    "newest",
                                    "closest",
                                    "price_low",
                                    "price_high"
                                ],
                                "values": {
                                    "relevance": null,
                                    "newest": "newest",
                                    "closest": "closest",
                                    "price_low": "price_low_to_high",
                                    "price_high": "price_high_to_low"
                                },
                                "description": "Sort order: relevance (the default), newest, closest, price_low or price_high.",
                                "example": "newest",
                                "var": "order_by"
                            }
                        ],
                        "url_template": "https://es.wallapop.com/search{?keywords,min_sale_price,max_sale_price,order_by}{+loc}",
                        "pagination": null,
                        "example": {
                            "params": {
                                "query": "bicicleta"
                            },
                            "url": "https://es.wallapop.com/search?keywords=bicicleta&latitude=40.41956&longitude=-3.69196"
                        },
                        "call": "GET https://api.ujeebu.com/scrape?recipe=wallapop/search&query=bicicleta",
                        "today_call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fes.wallapop.com%2Fsearch%3Fkeywords%3Dbicicleta%26latitude%3D40.41956%26longitude%3D-3.69196&recipe=wallapop%2Flisting",
                        "checked_at": "2026-11-04 11:29:12"
                    }
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/wallapop",
    "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"
}