# whatchuneed Regex Utility

> whatchuneed Regex Utility is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Applies a regular expression pattern to an input string and returns the match results

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/regex
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-regex-utility-e305e682
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RInDuQx-MKPp17B8VeKat

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 whatchuneed-regex-utility-e305e682 -d '<json body>'
```

Example prompt: Can you run a regex match on this text — 'Contact us at support@example.com or sales@company.org' — using the pattern ([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}) to extract all email addresses?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call regex execution without setting up your own compute environment, particularly in agentic workflows where pattern matching or text extraction is a one-off step within a larger pipeline.

## Known failure modes

- Invalid or malformed regex pattern causes a processing error
- Input string is missing from the request body
- Regex pattern causes catastrophic backtracking, leading to timeout
- Pattern matches nothing in the input, returning empty match results
- Unsupported regex syntax or flags

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a result object containing regex match results such as matched substrings, captured groups, and a status field indicating success or failure of the operation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

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