# Delx Commerce — Extract Integers from Text

> Delx Commerce — Extract Integers 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-02).

Extracts all integers found in a text string, returning their values and count

## Facts

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

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-integers-from-text-d6b426fd -d '<json body>'
```

Example prompt: Pull out all the integers from this text: 'We shipped 42 units on day 5 and returned 3 items, losing -19 from inventory.'

## When to prefer this

Use this endpoint when you need a fast, cheap, pay-per-call extraction of integers from arbitrary text without setting up an account or managing API keys. Ideal for agent workflows that occasionally need to parse numbers from text at $0.001 per call with USDC micropayment via x402, especially when you need verifiable delivery and no signup overhead.

## Known failure modes

- Empty text input returns count of 0 and empty values array
- Non-string input types may cause a 400 error
- Text with no integers returns count 0 and empty array
- Payment failure via x402 prevents call from completing
- Very long text inputs may increase latency or cause timeout

## 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 an array of all integer values found in the input text (including negatives), plus the total count of integers found. Schema: {count: number, values: number[], schema: 'delx/util-extract-ints/v1'}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "schema": "delx/util-extract-ints/v1",
  "values": [
   42,
   19,
   -3
  ]
 }
}
```

## More

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