Merge & Dedup Datasets - Only New Items, Filter, Transform avatar

Merge & Dedup Datasets - Only New Items, Filter, Transform

Pricing

from $0.30 / 1,000 output items

Go to Apify Store
Merge & Dedup Datasets - Only New Items, Filter, Transform

Merge & Dedup Datasets - Only New Items, Filter, Transform

Merge any number of datasets into one clean list: remove duplicates by any field (smart URL matching), return only items that are new since the last run, filter rows and pick/rename columns. Streams millions of rows.

Pricing

from $0.30 / 1,000 output items

Rating

0.0

(0)

Developer

Riccardo Bonadio

Riccardo Bonadio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Merge & Dedup Datasets: only new items, filter, transform

Combine the results of many scraper runs into one clean list. Paste the dataset IDs, choose which field identifies a duplicate (for example url, email or placeId), and get back a single deduplicated, filtered dataset, ready for export to CSV, Excel or JSON.

What it is for

  • You ran the same scraper 20 times (different cities, keywords, days) and need one master list without duplicates.
  • You want to filter the rows (only rating ≥ 4, only country = IT, only rows where email exists).
  • You want to clean the columns: keep only some fields, drop others, rename them before sending to a CRM.

Only new items since the last run

Turn on Only new items and the Actor remembers every item it has already delivered (by your key fields, e.g. url). Schedule a scraper + this Actor and each run gives you just what is new: new listings, new jobs, new reviews. The memory is kept in your account under a name you choose, so you can have one per project. Only rows actually delivered are remembered: if a run is cut short (max items or cost limit), the rest comes in the next run, so nothing is ever lost.

Why this one

This Actor
Smart URL matchinghttps://www.site.com/a/, http://site.com/a#top and site.com/a?utm_source=x are recognised as the same URL; real parameters like ?id=5 are kept
Case- and space-insensitiveACME Inc = acme inc (can be switched off)
Multi-field and nested keyse.g. name + address.city
Items with an empty key are keptrows without an email are not all collapsed into one
Streams datalow memory, handles millions of rows; only a short hash of each key is kept in memory (about 120 bytes per unique item)
Clear errorsa wrong dataset ID is reported and skipped, never silently created
Fair pricingyou pay only for rows written to the output. Removed duplicates and filtered rows are free.

Input example

{
"datasetIds": ["aBcD123...", "eFgH456..."],
"dedupFields": ["url"],
"filters": [{ "field": "rating", "operator": "gte", "value": 4 }],
"fields": ["title", "url", "rating", "phone"],
"renameFields": { "title": "name" },
"addSourceField": "_source"
}

Filter operators: eq, ne, contains, notContains, exists, notExists, gt, gte, lt, lte, regex, in. Filters run first, then deduplication (on the original field names), then field selection/renaming.

Output

One row per unique item. A SUMMARY record in the key-value store reports items read, written, duplicates removed and any datasets that could not be found.

Use it in a pipeline

Call it from another Actor, from an integration ("run after the scraper finishes") or via API, and set Output dataset name to keep appending runs into one named master dataset.

Pricing

Pay per output item (see the Pricing tab). With a maximum cost per run set in the run options, the Actor stops cleanly when the limit is reached.