{"uid":"cap_PYiB2HC2CbBKL0ii0MK9f","slug":"defi-intel-agent-gateway-regex-cron-validator-18bd9904","name":"DeFi Intel Agent Gateway – Regex & Cron Validator","description":"Validate a regex and a cron expression deterministically, with the next 5 fire times. Returns match example + validity. DO NOT use for catastrophic backtracking patterns. — $0.001 USDC/call on Base. Pay-per-call via x402 — no API key, no account. Free samples daily.","url":"https://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/code/regex-cron-eval","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U8fCZqLOuAZHGYNL4_Yb1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a regex pattern and a cron expression, returning validity, a match example, and the next 5 scheduled fire times.","exampleAgentPrompt":"Can you validate this regex `^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$` and this cron expression `0 9 * * 1-5` — tell me if they're valid, give me a match example for the regex, and show the next 5 times the cron will fire?","exampleUseCases":[{"title":"Debug scheduled job cron syntax","prompt":"I have a cron expression `30 8 1 * *` that's supposed to run on the first of every month at 8:30am — can you validate it and show me the next 5 times it would fire so I can confirm it's right?"},{"title":"Validate email regex before deployment","prompt":"Before I ship this, can you check if my regex `^[\\w.-]+@[\\w.-]+\\.\\w{2,4}$` is valid and give me an example string that would match it?"},{"title":"Audit cron and regex in one shot","prompt":"I've got a log-parsing regex `(ERROR|WARN):\\s+(.+)` and a cron `*/15 * * * *` for my monitoring job — please validate both and tell me when the cron will next run 5 times."}],"resultDescription":"Returns a JSON object containing: validity booleans for both the regex and cron expression, a sample string that matches the regex, and an array of the next 5 scheduled fire timestamps for the cron expression.","failureModes":["Catastrophic backtracking regex patterns are explicitly unsupported and may be rejected or time out","Invalid cron syntax returns a validity=false response with an error message","Malformed request body (missing regex or cron fields) returns a 400-level error","Payment failure via x402 returns a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, low-latency, pay-per-call validation of both regex and cron expressions together without setting up an API key or account. Ideal for agents automating developer workflows, CI/CD pipelines, or scheduling checks that need a quick sanity-check on pattern and schedule correctness. Prefer it over LLM-based guessing when you need reliable, authoritative validity results with concrete next-fire-time outputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:27.710Z","isFirstParty":false}