Remove Duplicates: Deduplicate & Merge Datasets by Field
Pricing
from $0.25 / 1,000 output items
Remove Duplicates: Deduplicate & Merge Datasets by Field
Returns one merged dataset with duplicate rows removed by the fields you choose (e.g. url, placeId, email), from several Apify datasets. Case, whitespace and URL normalization, keep first or last, pick or omit fields. No dataset = free demo: 5 sample rows in, 3 unique rows out.
Pricing
from $0.25 / 1,000 output items
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
17 hours ago
Last modified
Categories
Features
Share
Merge Apify datasets and remove duplicates: 5 rows in, 3 unique rows out
| name | city | result | url |
|---|---|---|---|
| Harbor Coffee | Oakland | kept | https://harbor-coffee.example.com/ |
| Harbor Coffee | Oakland | removed (same URL after normalization) | http://www.harbor-coffee.example.com |
| Rose City Roasters | Portland | kept | https://www.rosecity-roasters.example.com/ |
| Lakeside Tea House | Chicago | kept | https://www.lakeside-tea.example.com/ |
| Rose City Roasters | Portland | removed (same URL after normalization) | https://rosecity-roasters.example.com |
Dataset IDs can also be pasted as dataset URLs from the Apify Console.
(result of the free demo: 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.245 per 1,000 output items on Apify's paid plans (the price shown on this page); $0.35 per 1,000 on the free plan. The $5 monthly free credit covers about 14,000 output items. 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.35 per 1,000 | $0.315 / $0.28 / $0.245 per 1,000 |
The price on this page ("from $0.245") 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 14,000 output items a month — enough to try it on real data.
Limits and safety: a run stops by itself after 4 minutes (the items written so far stay charged once; the status message and STATS.stoppedEarly say so) and a stalled dataset read is given up after 60 seconds; at most 2,000,000 input rows are read per run. If a run stops early, the status message says after which input row; start a new run with only the data after that row (a new run starts from the first row again). If a run is moved to another server or restarted, it continues without writing or charging the same items twice.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- CSV to Excel 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