API Referentie - RegExMakker Docs
The ultimate regex playground for Dutch developers. REST API documentation for integrating regex validation into your applications.
API Key & Bearer Tokens
All requests to the RegExMakker API require authentication via a Bearer token in the Authorization header. Generate your key in the developer dashboard under Settings > API Access.
Header Format
Include Authorization: Bearer sk_live_4eC39HqLyjWDarjtT1zdp7dc in every request. Keys are scoped to your organization and support read/write permissions for pattern validation and schema generation.
Rate Limits
Free tier: 1,000 requests per day. Pro tier: 50,000 requests per day with a burst allowance of 120 requests per minute. Exceeding limits returns HTTP 429 with a Retry-After header.
Webhook Security
Callbacks are signed using HMAC-SHA256. Verify the X-RegExMakker-Signature header against your webhook secret before processing validation results or pattern updates.
Core Validation Routes
Interact with the pattern engine using standard HTTP methods. All responses return JSON with consistent error envelopes and execution metrics.
POST /v1/regex/validate
Submit a test string and pattern for real-time validation. Payload requires pattern, input, and optional flags. Returns match groups, capture indices, and performance latency in microseconds.
GET /v1/regex/optimize
Analyze complex patterns for catastrophic backtracking risks. Returns refactored expressions, time-complexity warnings, and recommended alternation groupings based on your input corpus.
POST /v1/regex/generate
Provide sample strings and negative examples to auto-generate a validated regex. Supports Dutch postal codes, BSN formats, and EU VAT identifiers out of the box.