# ScriptMasterLabs ACP x402 Regex Test

> ScriptMasterLabs ACP x402 Regex Test is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Tests a regular expression pattern against input strings, accessible via pay-per-call USDC micropayment on Base via x402.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/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/scriptmasterlabs-acp-x402-regex-test-93bcad16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jDk46YdGRiDVIfHpMdEMk

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 scriptmasterlabs-acp-x402-regex-test-93bcad16
```

Example prompt: Can you test whether the regex pattern ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ matches the string 'user@example.com' using the ScriptMasterLabs regex test endpoint?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call regex testing capability without setting up your own infrastructure, especially in agent workflows that already use x402/USDC micropayments on Base. Ideal for one-off pattern validation tasks within automated pipelines.

## Known failure modes

- Invalid or malformed regex pattern causes a parsing error
- Missing required 'properties' parameter returns a bad request response
- Service unavailable on Render cold start causing timeout
- Payment not settled in USDC results in 402 Payment Required response
- Empty input string may return no match rather than an error

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a result indicating whether the provided string matches the given regex pattern, along with any match details or validation outcome.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-acp-x402-regex-test-93bcad16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
