{"uid":"cap_y01mIA2n3FVDkeITOxBFK","slug":"gpt-5-5-x402-regex-match-tool-95173530","name":"GPT-5.5 x402 Regex Match Tool","description":"Run a JavaScript regular expression against short text and return bounded matches without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/regex-match","method":"GET","headers":{},"bodySchema":{"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"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["text","pattern"],"properties":{"text":{"type":"string","maxLength":10000,"minLength":1},"flags":{"type":"string","maxLength":8},"limit":{"type":"integer","maximum":100,"minimum":1},"pattern":{"type":"string","maxLength":300,"minLength":1}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iSjSB_eg7F1Gdi-xaJSbK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs bounded regex pattern matching against a text string, paid per-call via x402 USDC on Base","exampleAgentPrompt":"Use regex to find all matches of the pattern \\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Z|a-z]{2,}\\b in this text: 'Contact us at support@example.com or sales@company.org for help' — return up to 10 matches.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok status, tool name ('regexMatch'), a summary string, the matched substrings found in the text, match count, and a fetchedAt timestamp. Results are bounded by the optional limit parameter (max 100).","failureModes":["Missing required 'text' or 'pattern' query parameter returns 400 error","Pattern exceeding 300 characters is rejected","Text exceeding 10,000 characters is rejected","Invalid regex syntax in pattern causes error response","limit value outside 1-100 range is rejected","Payment failure via x402 (insufficient USDC balance or wallet misconfiguration) blocks the call","Invalid flags string (exceeding 8 chars) rejected"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call regex matching without a subscription, especially when processing short to medium text blocks (up to 10,000 chars) and want to pay fractions of a cent ($0.0001 USDC) per operation via x402 on Base. Prefer over full LLM-based extraction when the pattern is well-defined and deterministic regex is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:34.251Z","isFirstParty":false}