Go to example tasks

Canonicalize URLs for a site migration

Normalize scheme, www hostnames, path slashes, query ordering, fragments, and trailing slashes before a site migration.

Try for free
URL Hygiene & Dedup API
URL Hygiene & Dedup APIcraigtechservicesllc/url-hygiene-dedup-api
Input index
Normalized URL
Duplicate
Duplicate of input index
+5 fields
Text
Number
Boolean
List
Object

Input

URLs:http://www.example.com//services/?b=2&a=1#overview+2
Treat HTTP and HTTPS as equal:true
Treat www and apex hostnames as equal:true
Collapse repeated path slashes:true
Remove trailing slash from non-root paths:true
Sort query parameters:true
Emit first occurrence only:true

Output fields

Input index
Normalized URL
Duplicate
Duplicate of input index
Registrable domain
Is valid
Invalid reason
Changes
Original URL

How it works

Sign up on Apify01

Create your Apify account to access the URL Hygiene & Dedup API.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

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