# agentshelf.syntexa.ch LEI Regex Extractor

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

Extracts up to 20 LEI (Legal Entity Identifier) formatted tokens from a block of text using regex matching, with no network calls.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/regex-lei?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-lei-regex-extractor-22ab3c40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vzLaAOH-6OBlG2tS7Zro

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 agentshelf-syntexa-ch-lei-regex-extractor-22ab3c40 -d '<json body>'
```

Example prompt: Can you scan this regulatory filing text and extract all LEI codes from it? Here's the text: 'Counterparty 529900T8BM49AURSDO55 executed the trade on behalf of 7LTWFZYICNSX8D621K86.'

## When to prefer this

Use this endpoint when you need fast, deterministic, offline regex-based extraction of LEI-format tokens from text, with no LLM or network dependency. Prefer the free sandbox endpoint POST /v1/sandbox/regex-lei first for testing. Choose this over LLM-based entity extraction when you need exact 20-character alphanumeric LEI pattern matching at low cost and high reliability.

## Known failure modes

- Empty match list returned (and billed) when no LEI-pattern strings exist in the input
- Input text exceeds 100,000 character limit — request rejected
- Input text is empty or missing — request rejected
- More than 20 matches exist in text — only the first 20 are returned, remainder silently truncated
- Payment of $0.009 USDC not provided — request rejected via x402

## How this service works

Call when an agent needs LEI-shaped tokens extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/regex-lei first.

## Output

A list of up to 20 LEI-shaped token strings found in the input text, extracted via regex pattern matching. If no LEIs are found, an empty list is returned — but the call is still billed at $0.009 USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "5493001KJTIIGC8Y1R12"
   ],
   "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/agentshelf-syntexa-ch-lei-regex-extractor-22ab3c40/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)
