Go to example tasks

Remove duplicate rows from scraper results

Removes duplicate items from one or more of your Apify datasets by the url field (spaces around the key are ignored) and keeps the first occurrence, in the order the datasets are listed. Rows keep your own fields at the top level, ready for a spreadsheet or database. Run it as it is on two built-in sample datasets, which are deduplicated by sku: 3 of 30 items are removed.

Try for free
Merge, Deduplicate & Join Datasets
Merge, Deduplicate & Join Datasetsquietworkslab/merge-dedup-datasets
Sku
Name
Maker
Price
+7 fields
Text
Number
Boolean
List
Object

Input

Remove duplicates:true
Duplicate key fields:url
Which duplicate to keep:first

Output fields

Sku
Name
Maker
Price
Currency
Url
Maker country
Maker support email
Maker lead time days
Source dataset
Duplicate count

How it works

Sign up on Apify or log in

The Merge, Deduplicate & Join Datasets Actor is ready to run with the inputs already set for "Remove duplicate rows from scraper results". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Remove duplicate rows from scraper results" task

The Merge, Deduplicate & Join Datasets Actor will start running based on the input automatically. You can also change all the input fields, like remove duplicates, duplicate key fields, and more, to match your specific use case.

Receive the "Remove duplicate rows from scraper results" 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 sku, name, maker, 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 "Remove duplicate rows from scraper results" task via API.

Image

Integrate "Remove duplicate rows from scraper results" into your workflow

Connect "Remove duplicate rows from scraper results" 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

Frequently asked questions

The duplicate removal task compares the url field. Change dedupeKeys to any field, such as id or sku, or to several fields; dots reach nested fields. Items without a value in the key fields are always kept.

The duplicate removal task ignores only spaces around the key. Add case in keyNormalization to treat ABC and abc as the same key; only the comparison changes, the output keeps the original values.

The Merge, Deduplicate & Join Datasets Actor charges $0.0001 per item read ($0.10 per 1,000) on the FREE tier, less with Apify Store discounts, plus Apify's Actor start event. The built-in sample is not charged per item.