# pagos.andreax.dev Regex Generator

> pagos.andreax.dev Regex Generator is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Generates a regular expression pattern from a natural language description of what it should capture

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/regex
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagos-andreax-dev-regex-generator-4d0979ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h7TAcaq9uu-x0m5WxB9hW

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 pagos-andreax-dev-regex-generator-4d0979ff
```

Example prompt: Can you generate a regex pattern that captures valid email addresses, including subdomains?

## When to prefer this

Choose this endpoint when you need to quickly generate a regex from a plain English description without writing one manually, especially in high-volume developer workflows or automated pipelines that need on-the-fly pattern generation. Prefer it over manual regex crafting when the pattern requirements are clearly expressible in natural language.

## Known failure modes

- Ambiguous or too-broad description results in an overly permissive regex
- Very complex or contradictory requirements may yield an incorrect or incomplete pattern
- Empty or missing 'input' query parameter returns a 400 error
- Payment not provided or invalid results in a 402 Payment Required response

## How this service works

Genera una regex desde una descripción. Herramienta dev de alto volumen. input=qué capturar.

## Output

Returns a regular expression pattern string that matches the described input, ready to use in code for validation or extraction purposes. May also include an example demonstrating the pattern in use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "qué debe capturar el patrón"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagos-andreax-dev-regex-generator-4d0979ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
