# Delx Commerce — Extract Numbers from Text

> Delx Commerce — Extract Numbers from Text 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).

Extracts all numbers from a given text string, returning a count and list of the found numeric values.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/extract-numbers?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-extract-numbers-from-text-3718dde3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_33dneDmFQPIY9ezmAGQjG

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-extract-numbers-from-text-3718dde3 -d '<json body>'
```

Example prompt: Can you pull out all the numbers from this text for me: 'The order totaled $1,250.00 across 3 items, shipped in 2 boxes weighing 4.5 kg each, arriving within 7 days'?

## When to prefer this

Choose this endpoint when you need a simple, reliable, pay-per-use extraction of all numeric values from a text string without setting up accounts or subscriptions. It is ideal for agents processing documents, reports, or freeform text where only the numeric data is needed. At $0.001 USDC per call with no signup required and verifiable delivery via x402, it is well-suited for high-frequency automated pipelines where cost predictability matters.

## Known failure modes

- Text exceeds 100,000 character limit — request rejected
- Empty or missing `text` field — returns count 0 with empty array
- Payment not included or insufficient USDC — 402 Payment Required response
- Malformed JSON body — 400 Bad Request
- Text contains no numbers — returns count 0 and empty numbers array

## 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: `count` (integer total number of numeric values found), `numbers` (array of the extracted numeric values), and `schema` (a version identifier string 'delx/extract-numbers/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Primary text input (max 100k chars). Processed first-party; not retained as a dataset."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 0,
  "schema": "delx/extract-numbers/v1",
  "numbers": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-extract-numbers-from-text-3718dde3/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)
