# Delx Commerce Ordinal Converter

> Delx Commerce Ordinal Converter 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-02).

Converts an integer into its English ordinal string (e.g. 21 → '21st')

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/ordinal?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-ordinal-converter-931ce3a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bEkBrlHEknp1J-R_8g5IT

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-ordinal-converter-931ce3a8 -d '<json body>'
```

Example prompt: What is the ordinal form of 42? I need it formatted like '42nd' for a leaderboard display.

## When to prefer this

Choose this endpoint when an agent needs a reliable, pay-per-call, no-signup ordinal formatter with verifiable on-chain payment — especially useful in automated pipelines where you want exact pricing and no subscription overhead. Prefer it over writing custom ordinal logic when correctness and zero maintenance matter.

## Known failure modes

- Missing or non-integer n field returns an error
- Negative integers may not be supported
- Payment failure via x402 if USDC balance is insufficient or Base/Solana transaction is rejected

## 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 original integer n, a schema identifier ('delx/util-ordinal/v1'), and the ordinal string representation of n (e.g. '21st', '2nd', '100th').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "description": "Input field: n."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "n": 21,
  "schema": "delx/util-ordinal/v1",
  "ordinal": "21st"
 }
}
```

## More

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