Canonicalize a URL
Canonicalize a URL: WHATWG parsing already lowercases the host, resolves dot-segments and drops default ports; on top of that, query parameters are sorted by default and you can optionally drop the fragment or a trailing slash. Returns the normalized URL and whether it changed.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
453 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://url.openverbs.com/v1/normalize
| Category | Everything else |
|---|---|
| Provider host | url.openverbs.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.002 | 453 ms |
Example input (from the provider)
{
"body": {
"removeHash": false,
"sortQuery": false,
"url": "example"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"lowercaseHostname": {
"description": "Lowercase the hostname (always applied by WHATWG). Default true.",
"type": "boolean"
},
"removeHash": {
"description": "Drop the #fragment. Default false.",
"type": "boolean"
},
"removeTrailingSlash": {
"description": "Drop a trailing '/' from the path. Default false.",
"type": "boolean"
},
"sortQuery": {
"description": "Sort query parameters alphabetically. Default true.",
"type": "boolean"
},
"url": {
"description": "The URL to normalize.",
"maxLength": 8192,
"minLength": 1,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}