Merge and deduplicate scraped datasets
Merge several Apify datasets or runs into one and remove duplicate rows by the key fields you choose (for example url or id), keeping the first or last copy. This example runs on built-in synthetic demo rows; select your own source datasets to clean real scrape results before export.
Input
Output fields
Sign up on Apify or log in
The Dataset Deduplication & Merge - Remove Duplicates JSON Actor is ready to run with the inputs already set for "Merge and deduplicate scraped datasets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Merge and deduplicate scraped datasets" task
The Dataset Deduplication & Merge - Remove Duplicates JSON Actor will start running based on the input automatically. You can also change all the input fields, like source run ids (advanced), deduplication key fields, and more, to match your specific use case.
Receive the "Merge and deduplicate scraped datasets" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as item, occurrences, sourcedatasetid, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Merge and deduplicate scraped datasets" task via API.

The merge and deduplicate task reads the selected datasets or runs, keeps one row per unique key (for example url or id) and writes the merged result to a new dataset.
No. The merge and deduplicate task example uses four built-in synthetic product rows with one duplicate. Select your own datasets to process real data.
The first 50 source rows of every run of the merge and deduplicate task are free. After that the Actor charges per saved source row; the Pricing tab shows the current price.