Api Endpoint

fastx402.tools

Escapes a literal string for safe insertion into a regular expression, with an optional target flavor such as JavaScript, Python, or PCRE. Use it when constructing patterns from user-provided or generated text.

Open interactive test console

Offering

Provider
fastx402.tools
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://fastx402.tools/regex-escape
MIME type
application/json
First seen
2026-10-23T22:49:50.276Z
Last seen
Tags
Dev

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
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xFe6Ae9ec9DE12817f23958F11b6CE69194b6Bd7E"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "5zYuctvYNqYyqQYURqJQjQ1HrM5AXaXx4SeRx3Jr2oeA"
  }
]

Observed health

Status
Healthy
Latest latency
822 ms
Average latency
680 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Literal text to escape (max 2000 characters)"
        },
        "flavor": {
          "type": "string",
          "description": "Target regex flavor: javascript (default), python, or pcre"
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "flavor": {
          "type": "string"
        },
        "escaped": {
          "type": "string"
        },
        "pattern": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}