# Bolt Regex Matcher

> Bolt Regex Matcher is a paid API for AI agents from datsavault.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-02).

Applies a regular expression pattern to a text string and returns match results

## Facts

- Endpoint: POST https://datsavault.vercel.app/api/regex?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bolt-regex-matcher-2373dc43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P5uOgTfRXVyca0U1l5mu5

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 bolt-regex-matcher-2373dc43 -d '<json body>'
```

Example prompt: Run a regex pattern on this text — pattern is `(\d{3})-\d{4}` with the global flag — and pull out every match from: 'Call us at 555-1234 or 800-5678 for support.'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use regex matching service without setting up server-side processing. Ideal for agents that need to extract structured data, validate formats, or search for patterns within strings on demand. Best when you already know your regex pattern and need fast, lightweight evaluation without a full NLP pipeline.

## Known failure modes

- Invalid regex pattern syntax causes a failure response
- Missing required fields (text or pattern) returns an error
- Flags string with unsupported characters may cause a parse error
- No matches found may return empty match data with success true
- Very large text inputs may hit size or timeout limits

## How this service works

Utility toolkit for AI agents. 54 endpoints — tools, data, and AI processing. Pay per request in USDC via x402.

## Output

Returns a JSON object with a `success` boolean and a `data` object containing the regex match results, such as matched substrings, capture groups, and match indices depending on the pattern and flags used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "pattern"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "flags": {
   "type": "string"
  },
  "pattern": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bolt-regex-matcher-2373dc43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from datsavault.vercel.app](https://www.zero.xyz/host/datsavault.vercel.app/llms.txt)
