{
    "version": "ujb.site-guide/v1",
    "site": "We Work Remotely",
    "domain": "weworkremotely.com",
    "category": "jobs",
    "lead": "recipe",
    "status": "working",
    "status_label": "Working",
    "success_rate_7d": 85.7,
    "checks_7d": 7,
    "last_checked_at": "2026-12-03T23:02:43Z",
    "last_ok_at": "2026-12-03T23:02:43Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "detail"
            ],
            "status": "working",
            "success_rate_7d": 85.7,
            "checks_7d": 7,
            "endpoint": "/scrape",
            "params": {
                "js": true
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": null,
            "example_url": "https://weworkremotely.com/remote-jobs",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fweworkremotely.com%2Fremote-jobs&js=true&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "recipe": "weworkremotely/listing",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fweworkremotely.com%2Fremote-jobs&recipe=weworkremotely%2Flisting",
                    "credits": 1,
                    "credits_label": "1 credit",
                    "validated_at": "2026-12-03T15:50:01Z",
                    "params": {
                        "js": false
                    },
                    "extract_rules": {
                        "jobs": {
                            "type": "fn",
                            "fn": "const t = el => el ? el.textContent.replace(/\\s+/g, ' ').trim() : ''; return [...document.querySelectorAll('li.new-listing-container')].map(li => { const a = li.querySelector('a[href^=\"/remote-jobs/\"]'); if (!a) return null; const cats = [...li.querySelectorAll('.new-listing__categories__category')].map(t).filter(Boolean); const type = cats.find(c => /^(full-time|part-time|contract|freelance|internship)$/i.test(c)) || null; const salary = cats.find(c => /[$€£]|\\b(USD|EUR|GBP)\\b/.test(c)) || null; const region = cats.find(c => c !== type && c !== salary) || null; const hq = t(li.querySelector('.new-listing__company-headquarters')).replace(/^HQ:\\s*/i, ''); return { title: t(li.querySelector('.new-listing__header__title__text')) || null, url: new URL(a.getAttribute('href'), location.origin).href.split('?')[0], company: t(li.querySelector('.new-listing__company-name')) || null, location: region || hq || null, company_hq: hq || null, employment_type: type, salary: salary, posted: t(li.querySelector('.new-listing__header__icons__date')) || null, remote: 'yes' }; }).filter(Boolean);"
                        }
                    },
                    "fields": {
                        "jobs": "list of 3+ items",
                        "jobs[].company": "text",
                        "jobs[].company_hq": "text",
                        "jobs[].employment_type": "text",
                        "jobs[].location": "text",
                        "jobs[].posted": "text",
                        "jobs[].remote": "text",
                        "jobs[].salary": "text",
                        "jobs[].title": "text",
                        "jobs[].url": "URL"
                    },
                    "validated_on": [
                        "https://weworkremotely.com/remote-jobs",
                        "https://weworkremotely.com/categories/remote-full-stack-programming-jobs"
                    ],
                    "url_pattern": null,
                    "listing_template": null,
                    "pagination": null
                },
                {
                    "page_kind": "detail",
                    "label": "Job postings",
                    "recipe": "weworkremotely/detail",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fweworkremotely.com%2Fremote-jobs%2Fgeospatial-consulting-group-international-geocgi-azure-data-manager-remote&recipe=weworkremotely%2Fdetail",
                    "credits": 1,
                    "credits_label": "1 credit",
                    "validated_at": "2026-12-03T15:50:14Z",
                    "params": {
                        "js": false
                    },
                    "extract_rules": {
                        "job": {
                            "type": "fn",
                            "fn": "const all = [...document.querySelectorAll('script[type=\"application/ld+json\"]')].map(e => { const raw = e.textContent; try { return JSON.parse(raw); } catch (x) { try { return JSON.parse(raw.replace(/[\\u0000-\\u001f]+/g, ' ')); } catch (y) { return null; } } }).flat().flatMap(d => d && d['@graph'] ? d['@graph'] : [d]); const s = all.find(d => d && d['@type'] === 'JobPosting'); if (!s) return null; const dec = v => { const t = document.createElement('textarea'); t.innerHTML = String(v || ''); return t.value; }; const txt = h => { const d = document.createElement('div'); d.innerHTML = dec(h).replace(/<\\/(p|h[1-6]|li|div|ul|ol)>|<br\\s*\\/?>/gi, '$&\\n'); return d.textContent.replace(/[ \\t ]+/g, ' ').replace(/\\s*\\n\\s*/g, '\\n').trim(); }; const locs = [].concat(s.jobLocation || []).map(l => { const a = (l && l.address) || {}; const c = a.addressCountry; return [a.addressLocality, a.addressRegion, c && (c.name || c)].filter(Boolean).join(', '); }).filter(Boolean); const req = [].concat(s.applicantLocationRequirements || []).map(r => r && (r.name || r)).filter(x => typeof x === 'string'); const remote = s.jobLocationType === 'TELECOMMUTE'; const org = s.hiringOrganization || {}; const sal = s.baseSalary && s.baseSalary.value ? s.baseSalary.value : null; const nums = sal ? [sal.minValue, sal.maxValue, sal.value].filter(v => Number(v) > 0) : []; const salary = nums.length ? [...new Set(nums)].join('-') + (s.baseSalary.currency ? ' ' + s.baseSalary.currency : '') + (sal.unitText ? ' a ' + String(sal.unitText).toLowerCase() : '') : null; return { title: dec(s.title).trim() || null, company: dec(org.name).trim() || null, location: locs.join('; ') || req.join('; ') || (remote ? 'Remote' : null), remote: remote ? 'yes' : (locs.length ? 'no' : null), employment_type: [].concat(s.employmentType || []).join(', ').replace(/_/g, ' ').toLowerCase() || null, salary: salary || null, posted: s.datePosted || null, valid_through: s.validThrough || null, description: txt(s.description).slice(0, 3900) || null, url: (s.url && /^https?:/.test(s.url) ? s.url : location.href).split('?')[0] };"
                        }
                    },
                    "fields": {
                        "job.company": "text",
                        "job.description": "text",
                        "job.employment_type": "text",
                        "job.location": "text",
                        "job.posted": "date",
                        "job.remote": "text",
                        "job.title": "text",
                        "job.url": "URL",
                        "job.valid_through": "date"
                    },
                    "validated_on": [
                        "https://weworkremotely.com/remote-jobs/geospatial-consulting-group-international-geocgi-azure-data-manager-remote",
                        "https://weworkremotely.com/remote-jobs/illumio-managing-partner-account-director"
                    ],
                    "url_pattern": "https://weworkremotely.com/remote-jobs/{slug}",
                    "listing_template": null,
                    "pagination": null
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/weworkremotely",
    "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"
}