# AI Rook Regex Test

> AI Rook Regex Test is a paid API for AI agents from agents.ai-rook.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Tests whether a given string matches a specified regular expression pattern

## Facts

- Endpoint: GET https://agents.ai-rook.com/api/regex-test
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-rook-regex-test-c99e745c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NNp53AfUpZRNVXKXlxx3d

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 ai-rook-regex-test-c99e745c
```

Example prompt: Can you test whether the string 'hello-world_123' matches the regex pattern '^[a-z0-9_-]+$'?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call regex match check without spinning up a runtime environment, or when your agent pipeline needs to validate string patterns on-demand without API keys or signup overhead. Ideal for lightweight validation steps in agentic workflows.

## Known failure modes

- Invalid or malformed regex pattern causing a parse error
- Missing required input string or pattern parameters
- Pattern causes catastrophic backtracking or timeout
- Unsupported regex syntax or flags

## How this service works

Live crypto trading intelligence for AI agents — real-time BTC signals, CVD, order flow, and active strategy setups, no API keys or signup. 43 pay-per-call endpoints total: trading data, AI inference (MiniMax M2.7 (456B-parameter Mixture-of-Experts)), web utilities, verification, and ERC-8183 ACP escrow with on-chain ERC-8004 reputation attestation (Agent ID 59646). Four payment rails: USDC on Base mainnet (default), USDC on Solana mainnet, HBAR/USDC on Hedera testnet, USDT on BNB Chain testnet. One free trial call per endpoint. Prices from $0.001/call.

## Output

Returns a boolean or match result indicating whether the provided input string matches the given regular expression pattern, along with any capture groups or match details if applicable.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-rook-regex-test-c99e745c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.ai-rook.com](https://www.zero.xyz/host/agents.ai-rook.com/llms.txt)
