Remove Duplicates: Deduplicate & Merge Datasets by Field
Pricing
from $0.35 / 1,000 output items
Remove Duplicates: Deduplicate & Merge Datasets by Field
Remove duplicates: merge several Apify datasets into one and remove duplicate rows by the fields you choose (e.g. url, placeId, email). Case, whitespace and URL normalization, keep first or last, pick or omit fields. Start with no dataset for a free demo: 5 sample rows in, 3 unique rows out.
Pricing
from $0.35 / 1,000 output items
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Merge Apify datasets and remove duplicates: 5 rows in, 3 unique rows out
| name | city | result | url |
|---|---|---|---|
| Blue Bottle Coffee | Oakland | kept | https://bluebottlecoffee.com/ |
| Blue Bottle Coffee | Oakland | removed (same URL after normalization) | http://www.bluebottlecoffee.com |
| Stumptown Coffee | Portland | kept | https://www.stumptowncoffee.com/ |
| Intelligentsia | Chicago | kept | https://www.intelligentsia.com/ |
| Stumptown Coffee | Portland | removed (same URL after normalization) | https://stumptowncoffee.com |
(real result of the free demo on 2026-11-04: deduplicated by url with URL normalization; the output dataset holds the 3 kept rows)
For anyone who runs Apify scrapers more than once and ends up with overlapping results. This Actor merges any
number of Apify datasets into one clean dataset and removes duplicates by the fields you choose.
Pick the runs in Datasets (the field lists the datasets in your account; no ID to copy) and the fields to compare (for example url).
Try it: press Start with the input as it is (no dataset picked). You get the free demo above in a few seconds:
3 unique rows in the dataset and STATS (5 read, 3 written). Not charged.
Price: from $0.35 per 1,000 output items on Apify's paid plans (the price shown on this page); $0.50 per 1,000 on the free plan. Reading and comparing is free; you pay only for what is written.
- Dedup by any fields:
url,placeId,title + company, nested fields likeaddress.city, or whole items - Smart matching: ignore letter case, extra whitespace, full-width characters; optional URL normalization (http/https, www, trailing slash)
- Keep first or last (e.g. "newest run wins")
- Output unique items or only the duplicates (to audit what was removed)
- Pick / omit fields, optionally tag each item with its source dataset
- Items are processed as a stream (never all loaded at once), but the dedup keys of everything seen so far are kept in memory — comfortable up to a few million items; for larger datasets split the run (keep="last" also holds one position per key)
Input example
{"datasetIds": ["aBcDeF123", "gHiJkL456"],"dedupFields": ["placeId"],"keep": "last","normalizeUrls": true}
Output
The merged items in the default dataset. Run statistics are saved in the key-value store as STATS:
{ "datasets": 2, "itemsRead": 15234, "duplicatesFound": 4120, "itemsWritten": 11114, "stoppedAtChargeLimit": false }
Use cases
- Combine Google Maps / jobs / e-commerce scraper runs and remove repeated places, jobs or products
- Merge daily runs into one master list keeping the latest version of each record
- Find which records appear in more than one dataset (
output: duplicatesOnly)
Pricing
| Event | Free plan | Paid plans (Store discount tiers Bronze / Silver / Gold) |
|---|---|---|
| Output item (one item written to the output dataset) | $0.50 per 1,000 | $0.45 / $0.40 / $0.35 per 1,000 |
The price on this page ("from $0.35") is the Gold tier price. Set a max charge per run to cap spend. On the Apify Free plan, the $5 of monthly platform credit covers about 10,000 output items a month — enough to try it on real data.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- CSV / XLSX Converter — convert CSV, TSV, Excel XLSX, JSON and NDJSON files or Apify datasets into each other
- Dataset Transform — flatten, filter, rename and convert any Apify dataset, export CSV / JSON / JSONL with a link
- Google Sheets Export — export an Apify dataset to Google Sheets
- Google Maps Leads Cleaner — dedupe Google Maps scraper results, format phones (E.164), CRM-ready leads
- Job Postings Normalizer — unify fields, salaries and dates from any job scraper and remove duplicates