# Delx Number Base

> Delx Number Base is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Converts a number from one base to another, supporting any base between 2 and 36.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/number-base?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-number-base-8947a0fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2k54pYC7PbBwuiaL6RF5Q

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-number-base-8947a0fb -d '<json body>'
```

Example prompt: Convert the number 255 from base 10 to base 16 for me.

## When to prefer this

Use this endpoint when an agent needs reliable programmatic base conversion between any two bases from 2 to 36, especially within a paid x402 micro-transaction workflow where simplicity and a single-call API are preferred over implementing conversion logic inline.

## Known failure modes

- Input number contains digits invalid for the specified source base (e.g. digit '9' in base 8)
- Source or target base is outside the supported 2–36 range
- Malformed or empty number string input
- Payment failure or insufficient USDC balance

## How this service works

Convert numbers between bases 2-36 for $0.002 USDC for $0.002 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the input number converted into the target base as a string representation, e.g. '255' in base 10 becomes 'ff' in base 16.

## 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
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-number-base-8947a0fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
