73 paid APIs.
$0.00 spent.

Develop against OpenAI, Stripe, Twilio, and 70 more without spending a cent — or even having an API key. Backend and browser calls intercepted transparently.

You're building an AI feature. Every test run costs money — $0.003 per GPT-4 completion, but you're testing 200 times a day while iterating on the prompt. By Friday, your dev costs are higher than the hosting bill. And that's just OpenAI. Factor in Stripe test charges, Twilio SMS tests, SendGrid email sends — the development cost of building against paid APIs is real.

Donk runs a local mock server that replaces 73 API providers with zero-cost, instant, realistic responses. Your server calls api.openai.com? Donk intercepts it via HTTP_PROXY and returns a mock completion with proper schema, streaming tokens over SSE just like the real API. Your browser calls api.stripe.com via fetch()? The gateway intercepts it, injects CORS headers, and returns a mock payment intent.

All 73 Providers

AI / LLM 16

OpenAI, Anthropic, Google AI, Azure OpenAI, Bedrock, Mistral, Cohere, Groq, Perplexity, Together, Fireworks, OpenRouter, AI21, Replicate, HuggingFace, NLP Cloud

Payments 7

Stripe, PayPal, Square, Paddle, LemonSqueezy, Razorpay, Adyen

Email 6

SendGrid, Mailgun, Postmark, Resend, Amazon SES, Brevo

SMS & Voice 4

Twilio, Vonage, Plivo, MessageBird

Auth 3

Firebase Auth, Auth0, Clerk

Search, Maps, CRM, and 37 more

Algolia, Mapbox, HubSpot, Plaid, Shopify, DeepL, Pusher, DocuSign, Supabase, and many more

How Interception Works

  • Server-sideHTTP_PROXY injected into your backend process. Every outgoing request to mocked hostnames redirected to the mock server. Even hardcoded SDKs.
  • Browser-side — The gateway intercepts fetch() calls to mocked API hostnames. CORS headers injected. OPTIONS preflight handled.
  • Per-provider control — Mock OpenAI but let Stripe hit the real API. Toggle per provider, per project.
  • SSE streaming — OpenAI and Anthropic completions stream token by token, just like the real API
  • Custom routes — Add your own mock endpoints for edge-case testing
  • Request log with timestamps and matched routes
🎬

Video: 40–50 seconds. Building an OpenAI chat feature with mocked completions. Show streaming response. Toggle to real API.

Download Donk

Windows 10/11 · ~100 MB · No dependencies

Download for Windows