Remove Duplicates: Deduplicate & Merge Datasets by Field avatar

Remove Duplicates: Deduplicate & Merge Datasets by Field

Pricing

from $0.35 / 1,000 output items

Go to Apify Store
Remove Duplicates: Deduplicate & Merge Datasets by Field

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

Actor Factory

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Merge Apify datasets and remove duplicates: 5 rows in, 3 unique rows out

namecityresulturl
Blue Bottle CoffeeOaklandkepthttps://bluebottlecoffee.com/
Blue Bottle CoffeeOaklandremoved (same URL after normalization)http://www.bluebottlecoffee.com
Stumptown CoffeePortlandkepthttps://www.stumptowncoffee.com/
IntelligentsiaChicagokepthttps://www.intelligentsia.com/
Stumptown CoffeePortlandremoved (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 like address.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

EventFree planPaid 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