Api Endpoint

x402 Utils

Run a regular expression on a text: every match with its position and capture groups (named too), and the text with a replacement applied. RE2 syntax, which runs in linear time (no lookaround or backreferences).

Open interactive test console

Offering

Provider
utils.kagurazaka.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://utils.kagurazaka.dev/v1/regex
MIME type
Not provided
First seen
2026-10-25T21:33:42.825Z
Last seen
Tags
regex, Text, developer-tools

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xF1643BD00D3c071d9a0c12A4E7d3a17e6E19f8a5"
  }
]

Observed health

Status
Healthy
Latest latency
45 ms
Average latency
160 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "flags": {
          "description": "any of i (ignore case), m (multiline), s (dot matches newline)",
          "type": "string"
        },
        "pattern": {
          "description": "the pattern (up to 2000 characters)",
          "type": "string"
        },
        "replacement": {
          "description": "optional replacement, $1 for groups",
          "type": "string"
        },
        "text": {
          "description": "the text (up to 1 MB)",
          "type": "string"
        }
      },
      "required": [
        "pattern",
        "text"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "count": {},
        "matched": {},
        "matches": {},
        "replaced": {}
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}