# Ethereum Address Regex Extractor

> Ethereum Address Regex Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-29).

Extracts all 0x-prefixed 20-byte hex Ethereum addresses from a text string, returning up to 20 matches.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/regex-eth-address?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ethereum-address-regex-extractor-a269016d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tb2KKdUajGVcjJpRTGxvS

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 ethereum-address-regex-extractor-a269016d -d '<json body>'
```

Example prompt: Can you extract all Ethereum wallet addresses from this text: 'Send funds to 0xAbCd1234... and also 0x9Ef0...'?

## When to prefer this

Use this endpoint when you need to reliably extract 0x-prefixed 20-byte Ethereum addresses from arbitrary text without spinning up a local regex engine. It is especially useful in agent pipelines where text parsing utilities are not available. Always try the free /v1/sandbox/regex-eth-address endpoint first to avoid unnecessary charges, and only call this paid endpoint when the sandbox is unavailable or quota is exhausted.

## Known failure modes

- Empty match list returned if no Ethereum addresses are present in the text — still billed $0.004 USDC
- Input text exceeding 100,000 characters will be rejected
- Malformed or non-hex 0x-prefixed strings will not be matched
- Only first 20 matches returned if text contains more than 20 addresses
- Payment failure if insufficient USDC balance for x402 protocol

## How this service works

Call when an agent needs 0x-prefixed 20-byte hex extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/regex-eth-address first.

## Output

A list of up to 20 Ethereum addresses found in the input text, each formatted as a 0x-prefixed 40-character hexadecimal string (20 bytes). If no addresses are found, an empty list is returned — but the call is still billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ethereum-address-regex-extractor-a269016d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
