Merge, Dedupe & Transform Datasets avatar

Merge, Dedupe & Transform Datasets

Pricing

from $0.20 / 1,000 rows

Go to Apify Store
Merge, Dedupe & Transform Datasets

Merge, Dedupe & Transform Datasets

Combine several Apify datasets into one clean dataset: remove duplicates by any field, keep first or newest copy, flatten nested data, pick, drop or rename columns. Pay only for rows written.

Pricing

from $0.20 / 1,000 rows

Rating

0.0

(0)

Developer

BrightLedger

BrightLedger

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Security

Limited permissions

Share

Combine the results of several runs into one clean dataset. Remove duplicates by any field, keep the first or newest copy, flatten nested data, and pick, drop, or rename columns.

Common uses

  • Combine daily or weekly scrapes into one list with no repeats (dedupe by url).
  • Merge lead lists from different tools and remove duplicate companies (dedupe by domain) or people (dedupe by email).
  • Keep the freshest data: choose Last seen to keep the newest copy of each record in its original position.
  • Prepare for export: flatten nested fields and keep only the columns you need before sending to CSV, Excel, or Google Sheets.

How matching works

  • Duplicates are matched on the fields you list, across all datasets, in the order you give them.
  • By default matching ignores case and extra spaces (Acme.com = acme.com ).
  • Rows where all key fields are empty are kept as they are, never merged into one.
  • Nested fields can be used as keys with dots, e.g. socials.linkedin.

Input tips

Run outputs are unnamed datasets, so they may not show in the dataset picker. Switch the input to JSON and paste their IDs (open a run, then the Storage tab, then copy the Dataset ID):

{
"datasetIds": ["FIRST_DATASET_ID", "SECOND_DATASET_ID"],
"dedupeFields": ["domain"],
"keep": "first"
}

Output

  • The combined rows in this run's dataset, with an optional _sourceDatasetId column.
  • A summary record: items read per dataset, duplicates removed, rows written.

Pricing

You pay per row written to the output. Removed duplicates are free.

Works well with

  • Company Website to AI Company Profile (brightledger/company-website-profiler): merge profiles from several runs, dedupe by domain.
  • Google Sheets Export (brightledger/google-sheets-export): send the clean result to your sheet.