Build Faster with
Mock APIs
Create powerful mock APIs with advanced rule-based routing, intelligent proxying, and real-time monitoring. Match requests by method, path, headers, query params, and body content. Perfect for development, testing, and prototyping.
No credit card required • Free to start
Everything you need
Powerful features to mock any API scenario
Advanced Rules Engine
Create complex routing rules with AND/OR logic. Match on HTTP methods, paths, headers, query params, and body content. Supports exact match, contains, regex, and more operators.
Smart Proxying
Conditionally forward requests to real backends. Mix mocked and proxied responses based on your rules. Perfect for gradual API transitions.
Real-Time Monitoring
Watch requests flow through your APIs in real-time via WebSocket. Debug with full request/response inspection and response source tracking.
Powerful Features for Every Need
Everything you need to mock complex API scenarios
Rule-Based Routing
Define multiple routes with complex AND/OR conditions. First matching route returns its configured response.
Flexible Operators
Equal, not equal, contains, not contains, regex, and not regex operators for precise request matching.
Conditional Proxying
Forward specific requests to upstream servers based on rules. Mix mocked and real API responses seamlessly.
Path Patterns
Match paths with wildcards (/*), named parameters ({id}, :id), and exact patterns. Flexible routing for any API structure.
Live Request Monitoring
Real-time WebSocket connection shows every request with full headers, body, response, and source (Mock/Proxy/Echo).
Custom Responses
Configure status codes, headers, and body content. JSON, XML, plain text - full control over responses.
Rate Limiting
Per-API rate limiting with configurable requests per second and burst sizes. Protect your mock APIs from abuse.
Cloud Storage
API configurations stored securely in Cloudflare Workers KV for instant global access and high availability.
Secure Authentication
Admin endpoints protected with Supabase JWT tokens. Your configurations and monitoring stay secure.
How It Works
Get your mock API up and running in minutes
Create Your API
Choose a unique subdomain for your mock API. Your endpoint will be available instantly at your-api.mockit.app
Define Routes & Rules
Set up routing rules based on HTTP method, path (with wildcards and parameters), headers, query parameters, or request body. Use powerful operators like regex, contains, or exact match. Optionally configure proxy rules to forward specific requests to upstream servers.
Configure Responses
Define custom status codes, headers, and response bodies. JSON, XML, or plain text - return exactly what your application needs.
Start Making Requests
Your mock API is live! Make requests from your application, tests, or tools. Responses are returned instantly based on your configured rules.
Perfect for Every Stage
From development to production testing
Development
Build frontend features before the backend is ready. No more waiting for API endpoints.
Testing
Test edge cases and error scenarios without modifying your backend code.
Prototyping
Quickly prototype and demo new features with realistic API responses.
Documentation
Create interactive API documentation with real working examples.
Ready to start mocking?
Join developers who are building faster with MockIt