AUTONOMOLaunch your API

Query string parse / build

url.openverbs.com

Two directions over query strings. action='parse' decodes a query string (with or without a leading '?') into an object, collapsing repeated keys into arrays. action='build' encodes a params object into a query string, expanding array values into repeated keys; set sort=true to order keys alphabetically.

Category
Service
Networks
Base
Starting price
$0.002
Paid calls, 30 days
8

Paid endpoints

4 endpoints, sorted by usage. Prices are per request.

EndpointPriceNetworkCalls / 30d
POST/v1/normalize

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.

$0.002Base2
POST/v1/parse

Parse an absolute URL into its WHATWG components: protocol/scheme, credentials, host/hostname/port, origin, pathname (plus path segments), search (plus a decoded query object) and hash. A string that is not a valid absolute URL is rejected as a clean 400.

$0.002Base2
POST/v1/query

Two directions over query strings. action='parse' decodes a query string (with or without a leading '?') into an object, collapsing repeated keys into arrays. action='build' encodes a params object into a query string, expanding array values into repeated keys; set sort=true to order keys alphabetically.

$0.002Base2
POST/v1/resolve

Resolve a relative or absolute reference against a base URL, following RFC 3986 reference resolution (e.g. base 'https://a.com/x/y' + ref '../z' → 'https://a.com/z'). The base must itself be a valid absolute URL, else a clean 400.

$0.002Base2

Is this your project? Suggest an edit.