{"uid":"cap_Z83csMHcxGonfsMjOs4t2","slug":"fastapi-online-regex-pattern-generator-da0d125c","name":"fastapi.online — Regex Pattern Generator","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/regex-generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"flavor":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":2000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oZzENGwQEm-UXwf42NQVm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a regular expression pattern from a natural language description, with optional flavor/dialect selection","exampleAgentPrompt":"Can you generate a regex pattern that matches valid email addresses, using Python flavor?","exampleUseCases":[{"title":"Email validation regex for form","prompt":"I need a Python-flavor regex that matches valid email addresses — something like user@domain.com format with no spaces."},{"title":"Log parsing pattern from description","prompt":"Generate a regex in PCRE flavor that captures a timestamp and log level from lines like '2024-01-15 ERROR: something failed'."},{"title":"Input sanitization for phone numbers","prompt":"Write me a JavaScript-flavor regex that matches US phone numbers in formats like (555) 123-4567 or 555-123-4567."}],"resultDescription":"A generated regular expression pattern matching the provided description, optionally tailored to the specified regex flavor or dialect (e.g. Python, PCRE, JavaScript).","failureModes":["Description too vague to produce a meaningful pattern","Unsupported or unrecognized flavor value returns error","Description exceeds 2000 character limit","Empty or missing description field returns validation error","Generated regex may not perfectly match all edge cases of the described pattern"],"whenToPreferThis":"Use this endpoint when you need to quickly generate a regular expression from a plain-English description without writing it manually — especially useful for developers who know what they want to match but not the exact regex syntax, or for agents automating code generation tasks. Choose this over generic LLM chat when you want a pay-per-call, no-signup solution with flavor-specific output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:04:35.505Z","isFirstParty":false}