{
    "version": "ujb.site-guide/v1",
    "site": "Trulia",
    "domain": "trulia.com",
    "category": "real_estate",
    "status": "working",
    "status_label": "Working",
    "success_rate_7d": 100,
    "checks_7d": 6,
    "last_checked_at": "2026-11-05T17:03:41Z",
    "last_ok_at": "2026-11-05T17:03:41Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "page",
                "detail"
            ],
            "status": "working",
            "success_rate_7d": 100,
            "checks_7d": 6,
            "endpoint": "/scrape",
            "params": {
                "js": true,
                "wait_for": 8000
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": "js + wait 8000",
            "example_url": "https://www.trulia.com/CA/San_Francisco/",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fwww.trulia.com%2FCA%2FSan_Francisco%2F&js=true&wait_for=8000&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "recipe": "trulia",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fwww.trulia.com%2FCA%2FSan_Francisco%2F&recipe=trulia",
                    "credits": 5,
                    "validated_at": "2026-11-04T11:13:50Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "homes": {
                            "type": "fn",
                            "fn": "const e = document.getElementById('__NEXT_DATA__'); if (!e) return null; const d = JSON.parse(e.textContent); const H = (d.props && d.props.searchData && d.props.searchData.homes) || []; return H.filter(h => h && h.url).map(h => { const L = h.location || {}; const P = h.price || {}; const M = h.media || {}; const hero = M.heroImage && M.heroImage.url ? (M.heroImage.url.medium || M.heroImage.url.small) : null; return { title: L.fullLocation || L.formattedLocation || null, url: new URL(h.url, location.origin).href, price: P.formattedPrice || null, price_value: typeof P.price === 'number' ? P.price : null, bedrooms: h.bedrooms ? h.bedrooms.formattedValue : null, bathrooms: h.bathrooms ? h.bathrooms.formattedValue : null, area: h.floorSpace ? h.floorSpace.formattedDimension : null, property_type: h.propertyType ? h.propertyType.value : null, city: L.city || null, state: L.stateCode || null, zip: L.zipCode || null, image: hero }; });"
                        }
                    },
                    "fields": {
                        "homes": "list of 3+ items",
                        "homes[].area": "text",
                        "homes[].bathrooms": "text",
                        "homes[].bedrooms": "text",
                        "homes[].city": "text",
                        "homes[].image": "image URL",
                        "homes[].price": "text",
                        "homes[].price_value": "number",
                        "homes[].property_type": "text",
                        "homes[].state": "text",
                        "homes[].title": "text",
                        "homes[].url": "URL",
                        "homes[].zip": "number (as text)"
                    },
                    "validated_on": [
                        "https://www.trulia.com/CA/San_Francisco/",
                        "https://www.trulia.com/TX/Austin/"
                    ],
                    "url_pattern": "https://www.trulia.com/{slug}/{slug}/",
                    "listing_template": null,
                    "pagination": null,
                    "search": {
                        "recipe": "trulia/search",
                        "result_recipe": "trulia/listing",
                        "params": [
                            {
                                "name": "city",
                                "type": "string",
                                "required": true,
                                "description": "US city as written on Trulia (San Francisco, Austin); spaces become underscores.",
                                "example": "San Francisco",
                                "transform": [
                                    "collapse_spaces",
                                    {
                                        "op": "replace",
                                        "from": " ",
                                        "to": "_"
                                    }
                                ],
                                "var": "city"
                            },
                            {
                                "name": "state",
                                "type": "string",
                                "required": true,
                                "pattern": "^[A-Z]{2}$",
                                "pattern_hint": "must be a 2-letter US state code (CA, TX)",
                                "description": "Two-letter state code.",
                                "example": "CA",
                                "transform": [
                                    "uppercase"
                                ],
                                "var": "state"
                            }
                        ],
                        "url_template": "https://www.trulia.com/{state}/{city}/",
                        "pagination": null,
                        "example": {
                            "params": {
                                "city": "San Francisco",
                                "state": "CA"
                            },
                            "url": "https://www.trulia.com/CA/San_Francisco/"
                        },
                        "call": "GET https://api.ujeebu.com/scrape?recipe=trulia/search&city=San%20Francisco&state=CA",
                        "today_call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fwww.trulia.com%2FCA%2FSan_Francisco%2F&recipe=trulia%2Flisting",
                        "checked_at": "2026-11-04 11:28:12"
                    }
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/trulia",
    "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"
}