Api Endpoint

Quartermaster Regex Tester

Test a regular expression against text and return every match with numbered and named capture groups. Deterministic.

Open interactive test console

Offering

Provider
quartermaster.surewhynot.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://quartermaster.surewhynot.app/v1/regex
MIME type
application/json
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
Dev, regex, regular-expression, match, parsing, deterministic

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": "0x5253666c40432f009ebd99908b9cd2a7fd1019cb"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "FgcKNzsBXSEHGNZNWetPsjXiBZk1WFoU6sF2zVsnzXfa"
  }
]

Observed health

Status
Healthy
Latest latency
1177 ms
Average latency
757 ms
HTTP status
402
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

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "pattern": {
          "type": "string",
          "maxLength": 1000,
          "description": "Regular expression source"
        },
        "text": {
          "type": "string",
          "maxLength": 20000,
          "description": "Text to match against"
        },
        "flags": {
          "type": "string",
          "description": "Any of g i m s u y (g always applied)"
        }
      },
      "required": [
        "pattern",
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "json",
  "example": {
    "flags": "g",
    "matched": true,
    "matches": [
      {
        "index": 5,
        "match": "a@b.com"
      },
      {
        "index": 17,
        "match": "c@d.org"
      }
    ],
    "pattern": "\\b\\w+@\\w+\\.\\w+\\b",
    "truncated": false,
    "match_count": 2
  }
}