Remote OK Scraper: Use the Free API, Skip the 302 Wall

A remoteok scraper guide, live-tested October 2026. The keyless /api feed, JobPosting JSON-LD with salaries, the curl 302 wall, and the AJAX shells.

MMotherlode Lab11 min read
Magpie title card: Remote OK Scraper: Use the Free API, Skip the 302 Wall

Every Remote OK scraper tutorial starts the same way: send a GET request to remoteok.com. I tried that first, with plain curl; the server answered 302, pointed Location back at the exact URL I requested, and sent zero bytes. Follow redirects and it loops until curl quits at 50 identical passes.

The data doesn’t care, because almost none of it lives in the HTML anyway. I built the scraper against the live site on 2026-10-29 from a home connection, about thirty requests spaced two seconds apart, and everything below ran that morning. The target is unusually well documented about bots: robots.txt sets Crawl-delay: 1 and allows everything to the wildcard agent, ships an explicit policy section for AI crawlers, and even publishes an llms.txt that says AI engines are welcome on listings, company pages, and category pages. There is a public API with one string attached. This is the friendliest job board I have tested all year, once you stop trying to scrape it like it’s 2015.

The tool doing the fetching is Magpie, a local CLI scraper (free download, AGPL-3.0/commercial dual license). Plain curl failed on every page Magpie succeeded on, which makes this the clearest TLS-and-headers demo of the whole series.

What a Remote OK scraper is actually up against

The site splits into four surfaces, and they behave nothing like each other:

Surface Plain curl What’s in it
/api JSON feed 200, works Every live job with full descriptions, salaries, tags
Job detail pages 302 loop Clean HTML + complete JobPosting JSON-LD
Feed and category pages 302 loop A JavaScript shell: zero job rows in the served HTML
Sitemaps, robots.txt, llms.txt Mixed Sitemap 302-loops; robots and llms.txt are plain text

Build in that order. The API answers the question “what jobs exist right now” in one request. The job pages turn each listing into a typed record. The feed pages exist for humans with browsers; a scraper has no business there, and I’ll show why in a moment.

The /api endpoint is the whole census

Remote OK publishes a keyless JSON feed at https://remoteok.com/api. No account, no token, no documented quota. One request returned 663 KB and the entire live board:

$ curl -s https://remoteok.com/api -o rok.json
$ jq 'length' rok.json
100

Element zero is not a job. It’s the terms, and you should read it before you build on this feed:

{
  "legal": "API Terms of Service: Please link back (with follow, and
  without nofollow!) to the URL on Remote OK and mention Remote OK as
  a source, so we get traffic back from your site. If you do not we'll
  have to suspend API access. ..." (abridged)
}

Republishing Remote OK listings means followed links back. The same block also reserves the logo as a trademark, so keep their wordmark out of your screenshots-as-a-feature. It’s a fair price for the whole board in one request. The Apify actors ranking for this exact query will charge you compute credits for the same 99 records.

The other 99 elements are jobs with fifteen fields each:

Field Notes from the live feed
position, company, slug Display name and URL slug; the page title even carries the salary, emoji included
description Full HTML, median 5,238 chars, max 17,737; not a teaser
salary_min, salary_max Present on 24 of 99 jobs; watch the units bug below
tags Noisy: “exec” appears on 64 of 99 listings, “digital nomad” on 49
date, epoch ISO timestamp + Unix epoch, newest first
location Empty on 55 of 99 jobs; remote is the default, silence means anywhere
url, apply_url Both pointed at the Remote OK page in my snapshot; zero external apply links
company_logo, logo CDN image URLs

Filtering is a jq one-liner, no pagination involved:

$ jq -r '.[1:][] | select(.salary_max > 100000)
  | "\(.salary_min)-\(.salary_max)  \(.position) @ \(.company)"' rok.json
100000-140000  Senior Software Engineer LATAM @ Wagmo
170000-350000  Head of Operations @ Leverage Live Local

(two of 14 matches, unedited). One genuine landmine: the salary scale is inconsistent. Most ranges are raw dollars, but two of the 24 came through as 30-36 and 40-48: thousands, not dollars, unless that Oracle Fusion lead really pays $36 a year. Normalize before charting: if the max is under 1,000, assume thousands and verify against the page. Some strings also ship mojibake (Sothebyâs), so clean encodings too.

If you want the descriptions as markdown instead of raw HTML, the API won’t help you; there’s a dead end at the bottom.

The 302 loop, and what gets through it

Here is the failure every Python tutorial’s first line hits:

$ curl -sI https://remoteok.com/ | grep -iE "HTTP|location"
HTTP/2 302
location: /
$ curl -sL https://remoteok.com/ -o page.html -w "%{http_code} %{size_download}"
302 0

Zero bytes, and the redirect target is the page itself. I confirmed the loop on /, /remote-jobs, /remote-dev-jobs, /remote-companies, a job detail page, and sitemap.xml. A cookie jar changes nothing; the server never sets a cookie to accept. It’s Cloudflare fronting an origin-level bot check that plain clients fail silently.

What does get through with plain curl tells you the wall is pattern-based, not site-wide: /api (200), robots.txt, llms.txt, and static assets like /index.js all answered normally. HTML pages and the sitemap index did not.

Magpie walks through it on the first try, every time, no flags:

$ magpie scrape "https://remoteok.com/" --out home.json
$ jq -r '.markdown | split(" ") | length' home.json
445

That is Magpie’s TLS impersonation and browser-grade header set doing their one job: presenting as a real client rather than a library default. I can’t tell you exactly what signal the origin checks. Cloudflare doesn’t publish that, and I didn’t reverse it. I can tell you the empirical rule: if your HTTP client gets a 302-to-itself from Remote OK, the fix is a client that looks like a browser, not more retries.

Job pages give you the typed record for free

A job detail page fetches clean over a static connection and carries three JSON-LD blocks: Organization, Product, and the one you want, a complete schema.org JobPosting:

$ magpie scrape "https://remoteok.com/remote-jobs/remote-senior-software-engineer-latam-wagmo-1137572" \
    --vertical job_posting
{
  "title": "Senior Software Engineer LATAM",
  "organization": "Wagmo",
  "datePosted": "2026-10-26T08:00:06+00:00",
  "validThrough": "2027-01-24T08:00:06+00:00",
  "employmentType": "FULL_TIME",
  "locations": ["Anywhere, Anywhere, Anywhere"],
  "remote": true,
  "salary": {"currency": "USD", "min": 100000, "max": 140000, "unit": "YEAR"},
  "url": "https://remoteok.com/remote-jobs/remote-senior-software-engineer-latam-wagmo-1137572"
} (abridged; description field trimmed)

That salary block is the answer to “how do I get salaries”: the JSON-LD keeps them typed and consistent, unlike the API’s unit bug. The markdown view is healthy too: 859 words with the full description intact.

Three quirks worth knowing before you parse. locations repeats “Anywhere” three times because the template stacks address lines; dedupe or take the first. validThrough sat exactly 90 days past datePosted on both postings I checked, so treat it as an expiry policy rather than a real closing date. And the HTML <title> embeds a salary estimate with an emoji (Remote Senior Software Engineer Latam (💰~$120k) at Wagmo), which is charming once and a parsing hazard forever.

Contrast with Greenhouse, where the same job_posting vertical errors out because the pages ship no JSON-LD at all, and with Lever, where the block appears only in one cached page variant. Remote OK is the best-behaved of the three for structured extraction. The full comparison lives in the job scraper guide.

Listing pages are JavaScript shells

The feed at /remote-jobs looks like a wall of jobs in a browser and serves like an empty page to everyone else. The server-side HTML weighs 55 KB and contains zero links to job posts. I counted. The job table is filled at runtime by an AJAX call I found in /index.js:

var url = filterAJAXUrl + '&action=get_jobs&premium=' + userIsPremium
  + '&related=true&except_id=' + currentJobId + '&tags=' + ... + '&offset=' + offset;

So the served page is a shell, the rows come from /?action=get_jobs&..., and scrolling pages in a browser just fires that endpoint again with a bigger offset. Two notes on scraping it. First, the politeness one: robots.txt disallows the get_jobs AJAX path for AhrefsBot and restates that disallow for each of its named AI crawlers; a named group inherits nothing from the wildcard rules, which is why the file repeats itself. Magpie’s user agent falls under the wildcard group, which allows everything at a 1-second crawl delay. If your own agent identifies as one of the listed AI bots, the AJAX path is off the table.

Second, the practical one. Rendering the feed in a real browser does fill the table: 1.05 MB of HTML with 51 unique job links and 166 table rows on first paint:

$ magpie scrape "https://remoteok.com/remote-jobs" --render browser \
    --page-format html --out feed.html
$ grep -c "<tr" feed.html
166

But the default markdown view of that same render keeps 456 words and a single job link, because the cleaner reads a giant anchor table as boilerplate. If you insist on scraping the feed, --page-format html is the only view that keeps the rows, and you’ll still cap out around 50 jobs per paint against the API’s 99. The category pages behave identically: /remote-dev-jobs served 488 words of shell and zero job links both ways. The API is the census; the feed is a preview of it.

Sitemaps, company pages, and the dead ends

The sitemap index at remoteok.com/sitemap.xml lists 84 children: 15 job shards, 5 company shards, 1 tags, 60 user-profile shards, plus predefined, countries, and cities. Two things to know before you crawl them. The job shards carry lastmod stamps of 1970-01-01, a zero timestamp useless for incremental crawls, and they archive far more than the live board. Jobs-1 alone holds 284 URLs, and sampling it surfaced baristas, police officers, and laundry attendants whose pages all ship jobLocationType: TELECOMMUTE.

Remote OK siphons an aggregator feed into the sitemap; the /api board of 99 is the curated tech list people actually mean when they say “Remote OK”. Company shards have honest recent lastmod values and a clean URL shape, /company/{slug}; 452 companies sit in shard one.

Company pages themselves are a dead end for enrichment. The page at /company/huzzle cleaned to 439 words of the same “Post a job” boilerplate as the homepage, and its only Organization JSON-LD is Remote OK’s own site-wide one ("name": "Remote OK"), not the company’s. Hiring-company facts come from the job pages’ hiringOrganization field, nothing richer.

One more dead end, verified twice: pointing Magpie’s watcher at the API to catch new jobs fails with clean: extract: html: open stack of elements exceeds 512 nodes. The cleaner reads that JSON as malformed HTML and gives up, and magpie scrape on /api dies the same way. Don’t route the JSON feed through an HTML pipeline. The same watcher takes the job page with no complaint, which is the tell that the failure is the JSON, not your command.

Polling for new jobs without losing API access

The API’s only rule is attribution on republish; it says nothing about polling frequency, and no quota is documented. Be a guest anyway: robots.txt asks for Crawl-delay: 1, so a cron job at once an hour never comes close to the line. New jobs sit at the front of the feed with ascending numeric IDs, which makes the diff trivial:

$ curl -s https://remoteok.com/api | jq '[.[1:][] | select(.id > 1137573)] | length'
2

Store your last-seen max ID, run that on a schedule, alert on a nonzero count. For change detection on a single posting (closed, edited, salary moved), Magpie’s watch mode takes the job page with the same invocation that died on the API: silent exit, snapshot into the SQLite store. And if what you’re building is a job alert product across boards, read the robots.txt scraping guide first, because every board draws the AJAX line in a different place. Board-by-board mechanics are in the Greenhouse scraper, the Lever scraper, and the LinkedIn jobs scraper pieces.

FAQ

Is the Remote OK API free? Yes. No key, no signup, no documented quota. The one condition sits in the feed itself: republished listings must carry followed links back to Remote OK, and API access gets suspended without them.

Why does my scraper get 302 redirects in a loop? Remote OK’s bot check silently redirects plain HTTP clients from every HTML page back to the same URL. The API, robots.txt, and static assets are exempt. Use a client with browser-grade TLS and headers, or a rendering browser.

Can I scrape Remote OK without a browser? For data, you don’t need one: the API carries the whole board and job pages fetch statically with the right client. Only the feed and category pages need JavaScript, and they hold nothing the API doesn’t.

Is scraping Remote OK legal? Public job listings, robots.txt that allows the wildcard agent with a 1-second delay, an AI-crawler policy that permits listings and company pages, and API terms requiring attribution. That’s a permission structure, not legal advice. Respect the attribution clause and the delay.

Start at the API

Pull https://remoteok.com/api once and count what you actually got: 99 jobs, descriptions and all, in one request. Then decide whether the pages add anything your product needs. On this site they add exactly two things: a typed salary block you can trust, and a clean markdown view of each description. Everything else the tutorials make you scrape was never in the HTML to begin with.

Stop renting credits.

One flat price, your machine, your keys.

Download free for Windows, macOS and Linux

Windows · macOS · Linux $49/mo flat, cancel anytime