URL decode
Try it interactively →POST /api/url-decodeURL-decode percent-encoded strings (`%20` → space, `%2F` → `/`, etc.). Optional `+ → space` translation for application/x-www-form-urlencoded bodies.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| input* | string | — | Percent-encoded text. |
| scope | enum (component | form) | "component" | `component` (plain percent-decode) or `form` (also translates `+` to space). |
Response
Modes: json, text. Cache: yes (24h TTL).
Code samples
Built from the search example.
curl -X POST https://api.xtract.bot/api/url-decode \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Account-Id: $XTRACT_ACCOUNT_ID" \
-H "X-Api-Key: $XTRACT_API_KEY" \
-d '{
"input": "hello%20world%20%26%20foo%3Dbar",
"scope": "component"
}'