# Delx Commerce Unit Converter

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

Converts values between units of measurement via a pay-per-result API using USDC micropayments

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/unit-convert?utm_source=zero.xyz
- Price: $0.002/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-unit-converter-65805301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k2sEAxe-xtDKEa1cWV_NK

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-unit-converter-65805301 -d '<json body>'
```

Example prompt: Convert 72 degrees Fahrenheit to Celsius for me — I need the exact numeric result.

## When to prefer this

Choose this endpoint when your agent pipeline needs programmatic unit conversion without API key signup, prefers verifiable micropayment billing at $0.002 per call via USDC, and operates in a Web3-native or x402-compatible payment context. Ideal for agents that need on-demand, pay-as-you-go computation rather than a subscription-based conversion service.

## Known failure modes

- Unsupported unit type pair — e.g. converting between incompatible measurement categories (length to weight)
- Missing required fields (input body, type, bodyType) returns a 400 validation error
- Payment not received or insufficient USDC balance causes a 402 Payment Required response
- Invalid or malformed numeric input value
- Network timeout on Base or Solana payment verification

## How this service works

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

## Output

A JSON object containing the converted value in the target unit, returned after a successful USDC micropayment of $0.002 via the x402 protocol on Base or Solana.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-unit-converter-65805301/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)
