{"uid":"cap_qNda5pR7GDgCswuEl_Z-h","slug":"apexapi-regex-test-a22bad6d","name":"ApexAPI Regex Test","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://apex-api-gamma.vercel.app/api/tools/regex/test","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.144119","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.144119/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144119","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144119","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0BJywp4eXVxNi9KYwre2y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.144119","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests a string against a regular expression pattern to determine if it matches","exampleAgentPrompt":"Can you test if the string 'hello@example.com' matches the regex pattern '^[\\w.-]+@[\\w.-]+\\.\\w{2,}$'?","exampleUseCases":null,"resultDescription":"Returns a JSON object indicating whether the input string matched the provided regular expression, potentially including matched groups or capture details.","failureModes":["Invalid or malformed regex pattern causing parse error","Missing input string or pattern in the request body","Rate limiting or payment failure returning 402 status","Regex pattern causes catastrophic backtracking or timeout","Empty query parameter returning ambiguous result"],"whenToPreferThis":"Use this endpoint when you need a quick, server-side regex test without setting up local regex libraries, or when validating user input patterns in an agent workflow that requires programmatic pattern matching at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:59:47.167Z","isFirstParty":false}