Merge CSV files and remove duplicates by a key column
Stack two or more CSV, JSON or Excel files into one table with one row per key, and save it as a CSV. Works the same on Apify datasets from many runs. Here: two exchange rate tables, one row per currency.
Input
Output fields
Sign up on Apify or log in
The Merge & Dedupe Datasets: Combine Runs, Remove Duplicates Actor is ready to run with the inputs already set for "Merge CSV files and remove duplicates by a key column". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Merge CSV files and remove duplicates by a key column" task
The Merge & Dedupe Datasets: Combine Runs, Remove Duplicates Actor will start running based on the input automatically. You can also change all the input fields, like or: file urls (csv, json, jsonl or excel), dedupe by (fields that make a row unique), and more, to match your specific use case.
Receive the "Merge CSV files and remove duplicates by a key column" 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 country, currency, units per usd, 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 CSV files and remove duplicates by a key column" task via API.

Integrate "Merge CSV files and remove duplicates by a key column" into your workflow
Connect "Merge CSV files and remove duplicates by a key column" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay