# ScriptMasterLabs ACP x402 — Regex Test

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

Tests a regular expression pattern against input text, returning match results, settled via x402 micropayment in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/regex-test?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-acp-x402-regex-test-4ce5b9c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHFSrQUrgXTGB6x8nk5Df

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-4ce5b9c5
```

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 API?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call regex testing capability without standing up your own compute, especially in agent workflows already integrated with x402/USDC micropayment infrastructure on Base. It is suitable for quick pattern validation steps inside automated pipelines where a full code execution environment is unavailable.

## Known failure modes

- Invalid or malformed regex pattern causes an error response
- Missing required input fields returns an empty or error result
- Payment failure via x402 protocol results in 402 response before execution
- Empty or missing properties string may yield no meaningful match result
- Service hosted on Render may have cold-start latency or occasional downtime

## 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 the result of evaluating the provided regex pattern against the input string — indicating whether there is a match, and potentially returning matched groups or positions. The response is a JSON object reflecting the match 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-4ce5b9c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
