Go to example tasks

Merge datasets and keep the newest copy of each item

Merge Apify datasets listed oldest first and keep the last (newest) copy of each URL, then output only url, title, rating, city and scrapedAt, with address.city renamed to city. This example uses our public demo dataset (19 items, 10 unique URLs). Use it to combine daily runs of a scraper into one up-to-date table.

Try for free
Merge & Deduplicate Datasets
Merge & Deduplicate Datasetsctriolab/merge-dedupe-datasets
Url
Title
Rating
Address
+1 field
Text
Number
Boolean
List
Object

Input

Datasets to merge(required):CotvbQSQ340wBAwq3
Deduplicate by fields:url
Which duplicate to keep:last
Output only these fields:url+4
Rename fields:{1 field}

Output fields

Url
Title
Rating
Address
Scraped at

How it works

Sign up on Apify or log in

The Merge & Deduplicate Datasets Actor is ready to run with the inputs already set for "Merge datasets and keep the newest copy of each item". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Merge datasets and keep the newest copy of each item" task

The Merge & Deduplicate Datasets Actor will start running based on the input automatically. You can also change all the input fields, like datasets to merge, deduplicate by fields, and more, to match your specific use case.

Receive the "Merge datasets and keep the newest copy of each item" 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 url, title, rating, 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 datasets and keep the newest copy of each item" task via API.

Image

Integrate "Merge datasets and keep the newest copy of each item" into your workflow

Connect "Merge datasets and keep the newest copy of each item" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay