# AgentShelf Regex Time Extractor

> AgentShelf Regex Time Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Extracts all HH:MM formatted time strings from input text using regex, returning up to 20 matches.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/regex-time?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-regex-time-extractor-5daceb43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L2-pqxfPHS7tVyzCS-i_n

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-regex-time-extractor-5daceb43 -d '<json body>'
```

Example prompt: Can you pull out all the HH:MM times mentioned in this text: 'The meeting starts at 09:00, lunch is at 12:30, and the call wraps up at 17:45'?

## When to prefer this

Use this endpoint when you need fast, deterministic, regex-based HH:MM time extraction from text without any LLM or network call. It is ideal for structured documents, logs, emails, and transcripts where times are written in 24-hour or zero-padded HH:MM format. Prefer the free sandbox endpoint POST /v1/sandbox/regex-time for testing before paying. Do not use if you need fuzzy or natural language time parsing (e.g. '3pm', 'noon', 'half past two').

## Known failure modes

- Empty match list returned (and billed) when text contains no HH:MM patterns
- Truncation at 20 matches if text contains more than 20 time strings
- Input text exceeding 100,000 characters rejected
- Malformed or missing 'text' field causes request error
- Times in non-HH:MM formats (e.g. '3pm', '9 o'clock') are not matched

## How this service works

Call when an agent needs HH:MM times extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/regex-time first.

## Output

Returns a list of up to 20 HH:MM time strings found in the input text, in order of appearance. If no times are found, an empty list is returned — but the call is still billed. The response includes the matched time strings and likely a match count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "12:30"
   ],
   "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-regex-time-extractor-5daceb43/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)
