MockAPI Documentation
Everything you need to know about creating, managing, and consuming mock APIs with MockAPI. Build realistic API endpoints for development and testing without backend infrastructure.
Welcome to MockAPI
MockAPI is a platform that lets you design, build, and serve realistic mock APIs in minutes. Whether you need REST endpoints, GraphQL schemas, or both, MockAPI generates lifelike data so your frontend, mobile, or integration teams can work without waiting on backend services.
New to MockAPI?
Start with the Quick Start guide to create your first project and endpoint in under 5 minutes.
Key Features
- REST & GraphQL: Create mock endpoints for both REST and GraphQL APIs with full HTTP method support.
- Smart Data Generation: 140+ property types powered by Faker.js with locale support for realistic mock data.
- Import & Export: Import from OpenAPI/Swagger, Postman Collections, GraphQL SDL, or plain JSON.
- Stateful REST & simulation controls: Persist CRUD data in DynamoDB, simulate rate limits and latency, switch scenarios per request, compare OpenAPI to your project, and automate with the Management API.
- Team Collaboration: Invite team members, assign roles, and manage permissions per project.
- API Playground: Test your mock endpoints directly from the dashboard with built-in request tooling.
- Custom Domains: Serve mock APIs from your own domain with automatic SSL certificates.
- Request Logging: Monitor every request with detailed logs, response times, and analytics.
Explore the Documentation
Quick Start
Create your first mock API in under 5 minutes
Projects
Organize and manage your mock API workspaces
Data Models
Define data schemas with typed properties
Data Generation
140+ property types for realistic mock data
REST API
Create and configure REST endpoints
GraphQL
Build GraphQL schemas and endpoints
Authentication
Authenticate requests to your mock APIs
API Playground
Test endpoints interactively
Import & Export
Import from OpenAPI, Postman, and more
API simulation
Stateful mocks, rate limits, scenarios, drift detection, Management API
Collaboration
Teams, roles, and permission management
Organizations
Org-level billing, seats, SSO, and member management
Logs & Monitoring
Track requests and monitor API usage
Plans & Billing
Compare plans and manage your subscription
Custom Domains
Serve APIs from your own domain
Settings
Configure projects, account, and API keys
How MockAPI Works
MockAPI follows a straightforward workflow:
- 1Create a Project: Projects are isolated workspaces that hold your models, endpoints, and configuration.
- 2Define Data Models: Models describe the shape of your data with typed properties. MockAPI uses these to generate realistic responses.
- 3Configure Endpoints: Create REST endpoints or GraphQL schemas, then map them to your models.
- 4Use Your API Key: Every project has a unique API key. Include it in your requests to authenticate and receive mock responses.
- 5Consume & Iterate: Call your mock API from any HTTP client, test in the Playground, and monitor with request logs.