# ISO Week Date Regex Extractor

> ISO Week Date 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-10-02).

Extracts all ISO week date strings (e.g. 2024-W03-5) from a block of text, returning up to 20 matches.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/regex-iso-week?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iso-week-date-regex-extractor-0a078373
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wvv2dx8_6kIUyt3t9q1YW

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 iso-week-date-regex-extractor-0a078373 -d '<json body>'
```

Example prompt: Can you extract all the ISO week dates from this report text: 'The sprint ran from 2024-W03-1 to 2024-W04-5 and the review was scheduled for 2024-W05-3'?

## When to prefer this

Use this endpoint when you need to reliably extract ISO 8601 week date strings (YYYY-Www-D format) from arbitrary text and are willing to pay $0.004 USDC per call. If cost is a concern and you have access to the free sandbox version (POST /v1/sandbox/regex-iso-week), prefer that first. Choose this over manual regex when working within an agent pipeline that needs structured match results without executing local code.

## Known failure modes

- Empty match list returned if no ISO week dates exist in the text — still billed $0.004 USDC
- Input text exceeding 100,000 characters will be rejected with a validation error
- Malformed or missing 'text' field returns a 400 error
- Matches are capped at 20; additional occurrences beyond 20 are silently truncated

## How this service works

Call when an agent needs ISO week dates 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-iso-week first.

## Output

Returns a list of up to 20 ISO week date strings matched in the input text (e.g. ['2024-W03-1', '2024-W04-5']). An empty list is returned if no matches are found, and the call is still billed in that case.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "2026-W01"
   ],
   "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/iso-week-date-regex-extractor-0a078373/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)
