By the fastCRW team · Accuracy figures from diagnose_3way.py (Firecrawl public dataset, 819 labeled URLs, 2026-05-08); pricing verified 2026-05-18 · Verify independently.
Deduplicate job postings across boards: the step after scraping
If you build recruitment tech, the job that actually eats your week is learning to deduplicate job postings across boards — not the scraping. Pulling a single board is the easy half. The hard half is turning ten heterogeneous feeds, each with its own field names, location formats, and salary conventions, into one canonical, deduplicated record. The same "Senior Backend Engineer, Acme, Remote" shows up on three boards with three different titles and two different salary representations, and your downstream consumers see it as three jobs unless you collapse it into one.
This post is the normalization-and-dedupe spoke that sits downstream of scraping. It assumes you already have raw postings landing from each source. If you don't yet, start with the upstream scraping work in job board scraper and build a jobs aggregator with fastCRW, then come back here to merge those feeds into one.
Where this fits: the normalization spoke after scraping
Prerequisite: scrape each board first
The pipeline has two clean stages. Stage one is collection: you scrape or crawl each board into raw posting records — covered in the two prerequisite guides above. Stage two, this post, is the transformation: per-board field mapping into one schema, then matching the same role across sources. Keeping these stages separate matters because the collection layer is per-source and changes often (a board redesigns its markup), while the normalization layer should be source-agnostic and stable.
This post is the dedupe-and-normalize downstream step
Concretely, the normalization step takes N raw records keyed by source and emits one canonical feed where each role appears once, with a provenance list of which boards carried it. Everything below is that transform: schema mapping, fuzzy matching, canonical-source selection, idempotent merges, and freshness.
Normalizing heterogeneous postings into one schema
Per-board field mapping to a canonical record
Every board exposes the same logical fields under different names and shapes. Your canonical record should fix the vocabulary once. A workable starting schema: title, company, location (normalized to city/region/country plus a remote flag), employment_type, salary_min / salary_max / salary_currency / salary_period, description, posted_at, apply_url, and a sources[] array recording each board and its native posting ID.
JSON-schema extraction as the normalization layer
Rather than hand-writing a per-board parser, you can use fastCRW's JSON extraction as the normalization layer itself. A POST /v1/scrape with formats: ["json"] and a jsonSchema describing your canonical record asks the model to map a board's markup directly into your target shape — so the board's idiosyncratic layout is absorbed by the extraction step instead of bespoke selectors. That request is the 1-credit scrape plus the LLM token cost — billed as usage-metered LLM credits, scaling with page size and token usage rather than a fixed multiple — so reserve it for the boards whose markup actually resists deterministic parsing.
A minimal schema looks like this:
title: string— the normalized role titlecompany: stringlocation: { city, region, country, remote }salary: { min, max, currency, period }— nullable when undisclosedposted_at: string (ISO 8601)
One important constraint: /v1/extract and JSON extraction are single-URL. There is no /v1/batch/scrape and no multi-URL extract call. To normalize a list, you iterate /v1/scrape concurrently across your raw URLs, or crawl the board and extract per page. Plan your concurrency and credit budget accordingly. For the full extraction-schema pattern, see structured extraction with a JSON schema.
Handling missing and inconsistent fields
Boards omit fields constantly — salary is the obvious one, but employment type and exact location are frequently absent or freeform. Make every non-key field nullable in your canonical schema, and normalize representations deterministically after extraction: collapse "Remote / Anywhere" to your remote flag, parse "$120k–$150k" and "120000-150000 USD/yr" into the same numeric range, and convert relative dates ("3 days ago") to absolute timestamps at ingest time so they don't drift on re-read.
Deduplicating the same role across boards
Matching keys: title, company, location, posting body
Dedup is a matching problem. The strongest signal is the tuple of company + normalized title + normalized location. Add the posting body as a secondary signal: two records with the same company and a near-identical description are almost certainly the same role even if titles differ ("Sr. Backend Engineer" vs "Senior Backend Developer"). Some boards expose an external apply URL that points back to the employer's ATS — when present, that canonical apply URL is the single most reliable join key, because two boards syndicating the same ATS posting will share it.
Fuzzy matching and confidence thresholds
Exact matching alone under-merges. Layer in normalized comparison: lowercase and strip punctuation from titles, expand common abbreviations, and compute a similarity score (token-set ratio on title, cosine on a description embedding) to produce a match confidence. Then set thresholds: above a high bar, auto-merge; in an ambiguous middle band, hold for review or keep separate with a "possible duplicate" link. The thresholds are workload-specific — tune them against a labeled sample of your own feeds rather than trusting a default.
Choosing the canonical source on a collision
When records merge, you must pick which one's fields win. A simple, defensible policy: prefer the source with the most complete record (most non-null fields), break ties by recency of posted_at, and always preserve every source in the sources[] array so you can show "also listed on" and re-resolve if your policy changes. The canonical record is a view over the sources, not a destructive overwrite.
Building and storing the one canonical feed
Storing your own deduped record (stateless engine)
fastCRW is stateless per request — it scrapes and extracts, but it does not remember prior runs or hold your deduped store. That is by design: the canonical feed, the match index, and the merge history live in your datastore. Practically, you persist each raw record keyed by (source, source_posting_id), maintain a separate canonical table keyed by your own stable ID, and keep a join table mapping raw records to their canonical role.
Idempotent merges across incremental runs
Because runs repeat, every merge must be idempotent: re-processing the same raw record must not create a second canonical entry or duplicate it inside sources[]. Key your upserts on (source, source_posting_id) for raw records and on your match key for canonical roles, so a record seen twice updates in place. Idempotency is what lets you re-run the whole pipeline safely after a bug fix without polluting the feed.
Keeping the normalized feed fresh
Scheduled re-normalization as boards update
Boards add, edit, and pull postings continuously, so the normalized feed is only as fresh as your last pass. Run the collect-then-normalize pipeline on a schedule — incremental where the source supports it, full where it doesn't. The scheduling and cron pattern is covered in scheduled crawls on cron; the key point here is that re-normalization is cheap to repeat precisely because the merge step is idempotent.
Detecting expired and re-posted roles
A role that disappears from every source is closed; a role that reappears after a gap is often a re-post of the same opening. Track a last_seen_at per source on each raw record. When a canonical role is absent from all sources for longer than your tolerance window, mark it expired rather than deleting it — that history is what lets you recognize a re-post and link it to the original instead of treating it as net-new.
Limits to expect
Dedup is heuristic, not perfect — tune thresholds
No matching scheme is exact. You will see occasional false merges (two genuinely different roles at the same company collapsed into one) and false splits (the same role kept as two). Treat your thresholds as tunable parameters, measure precision/recall against a labeled sample, and prefer a slightly conservative bar plus a review queue over silent over-merging — a false merge hides a real opening from candidates, which is worse than a visible near-duplicate.
Single-URL extraction: iterate or crawl upstream
As noted, there is no batch-extract endpoint: you iterate /v1/scrape concurrently or crawl. fastCRW is also Firecrawl-compatible REST and AGPL-3.0, so you can self-host the whole collection layer and keep candidate and employer data on your own infrastructure if recruitment-data residency matters to you. And because the engine posts the highest truth-recall of the three tools tested — 63.74% of 819 labeled URLs on Firecrawl's public dataset (diagnose_3way.py, 2026-05-08) — fewer postings are silently dropped during collection before they ever reach the dedupe step. For per-page economics on a large multi-board run, see /pricing.
Sources
- fastCRW canonical facts: API surface and JSON-schema extraction, credit costs, 3-way scrape benchmark — truth-recall 63.74% of 819 labeled URLs,
diagnose_3way.py, 2026-05-08, honest gaps incl. single-URL extraction and statelessness, product identity / AGPL-3.0. - fastCRW repo and docs: github.com/fastcrw/crw · fastcrw.com
Related: Job board scraper · Build a jobs aggregator · Structured extraction with a JSON schema · Scheduled crawls on cron
