Quick answers to common questions about Mock API Builder. Find solutions to the most frequently asked questions from our community.
Use the search function or browse through the categories below. Still need help? Check our Getting Help page for support options.
Account setup, project creation, and basic usage
Schema definition, data generation, and customization
Endpoints, methods, authentication, and responses
Authentication, rate limiting, and usage quotas
Account is optional but recommended. You have two ways to use the platform:
Learn more about Guest Mode or Create an Account.
Creating your first API is easy:
Check out our Quick Start Guide for detailed step-by-step instructions.
Yes! Mock API Builder supports importing OpenAPI (Swagger) specifications in JSON or YAML format. You can:
The system will automatically parse your spec and create corresponding endpoints and schemas. Learn more in our OpenAPI Import Guide.
/users, /posts). Each endpoint can support different HTTP methods (GET, POST, etc.).Example: Project "Blog API" might have endpoints like /posts, /comments, and /authors.
Guest projects expire exactly 24 hours after they are created. A countdown banner on the project dashboard shows the remaining time. Once expired, the project and all its data are permanently deleted.
Yes! You can convert a guest project to a permanent one by clicking "Save Project" in the countdown banner. This will prompt you to create an account (or log in), and your project will be preserved permanently.
You have two main options for collaboration:
Check out our Sharing Guide and Workspaces Preview.
Mock API Builder uses Faker.js to generate realistic mock data based on your schema. When you define a field type, the system automatically generates appropriate data:
| Field Type | Example Data |
|---|---|
internet.email | john.doe@example.com |
person.fullName | Jane Smith |
lorem.sentence | Lorem ipsum dolor sit amet. |
datatype.number | 42, 1337, 999 |
See our Mock Data Generation guide for all available data types and options.
Yes! You have several options for data:
"status": "active")helpers.arrayElementLearn more about data customization in our Schema Design Guide.
By default, list endpoints generate and return 10 records. You can control this with query parameters:
Limits: Maximum 100 records per request to ensure good performance. Use pagination for larger datasets.
It depends on your configuration.
Learn more: Check out our Stateful Mocking Guide to learn how to build realistic CRUD APIs.
Yes! Mock API Builder supports Multi-Environment configurations. You can:
Learn more in our Environments Guide.
Mock API Builder supports all standard RESTful HTTP methods:
Each endpoint can be configured to support one or more of these methods.
CORS is automatically enabled for all Mock API Builder endpoints. The API includes:
Access-Control-Allow-Origin: *Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONSAccess-Control-Allow-Headers: Content-Type, AuthorizationThis means you can call your mock API from any frontend application without CORS issues. For production APIs, you should configure CORS more restrictively.
Yes! You can configure different status codes for various scenarios:
?status=500 to test error handling?delay=2000 to simulate slow responses (milliseconds)Yes! Use query parameters to filter and sort results:
The filtering behavior depends on your schema configuration. Check our Query Parameters Guide for more advanced filtering options.
To add authentication to your mock API:
Learn more in our Authentication Guide.
All users share the same rate limit: 60 requests per minute with a daily cap of 5,000 requests.
When you exceed the rate limit, you'll receive a 429 Too Many Requests response with a Retry-After header.
Not Recommended: Mock API Builder is designed for development and testing, not production use.
Here's why you shouldn't use it in production:
Best Practice: Use Mock API Builder during development and testing, then switch to a real backend API for production. You can export your schema and use it as a foundation for building your actual API.
Follow these security best practices:
Check out these additional resources: