# Delx Commerce — URL-Safe Decode

> Delx Commerce — URL-Safe Decode is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Decodes URL-safe encoded text, reversing percent-encoding or URL-safe transformations to return the original string.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/url-decode-safe?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-url-safe-decode-51392c80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TY8RVWcye95O4RwTsNV7Y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-url-safe-decode-51392c80 -d '<json body>'
```

Example prompt: Can you URL-decode this string for me: 'hello+delx+%26+agents' — I need the original plain text back.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use URL-safe decoding operation with no signup or account required, paid via USDC on Base or Solana. Ideal for AI agents needing on-demand text decoding in automated pipelines where simplicity and verifiable delivery matter more than bulk-processing throughput.

## Known failure modes

- Malformed or invalid URL encoding may produce unexpected output or an error response
- Empty input text field may return an empty string or a validation error
- Deeply nested or double-encoded strings may only be decoded one level
- Network or payment verification failure via x402 protocol may result in a 402 Payment Required response
- Input exceeding size limits may be rejected

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the decoded plain text string (field: 'text') along with a schema identifier ('delx/util-url-decode-safe/v1'). The output is the original unescaped version of the input, with all URL-safe encoded characters converted back to their literal forms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello delx & agents",
  "schema": "delx/util-url-decode-safe/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-url-safe-decode-51392c80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
