Start with pre-built templates for common use cases and accelerate your development workflow
Templates are pre-configured projects with endpoints, schemas, and mock data already set up for common API patterns. Instead of building everything from scratch, start with a familiar template and customize it to your needs.
Skip the setup and start developing immediately with pre-configured endpoints
Industry-standard API patterns used by thousands of developers
Templates are starting pointsβmodify endpoints, schemas, and data as needed
Standard user data structure with contact information, address, and company details.
id (number) - Unique identifiername (string) - Full nameusername (string) - Usernameemail (string) - Email addressaddress (object) - Street, suite, city, zipcodephone (string) - Phone numberwebsite (string) - Personal websitecompany (object) - Company name, catchphrase, bsMock Data:
10 realistic user records
Perfect for: User management systems, authentication, profile pages, admin dashboards
Blog posts with user associations - simple content management structure.
id (number) - Unique identifieruserId (number) - Author's user IDtitle (string) - Post titlebody (string) - Post contentRelationships:
Posts belong to Users (via userId)
Mock Data:
20 blog post records
Perfect for: Blog platforms, content management systems, news sites, article publishing
Comment system with post associations and user details.
id (number) - Unique identifierpostId (number) - Associated post IDname (string) - Commenter nameemail (string) - Commenter emailbody (string) - Comment textRelationships:
Comments belong to Posts (via postId)
Mock Data:
30 comment records
Perfect for: Comment systems, discussion forums, feedback sections, reviews
Photo album structure with user ownership.
id (number) - Unique identifieruserId (number) - Album owner's user IDtitle (string) - Album titleRelationships:
Albums belong to Users (via userId)
Mock Data:
15 album records
Perfect for: Photo galleries, media organization, collections, portfolio sites
Photo metadata with album associations and image URLs.
id (number) - Unique identifieralbumId (number) - Parent album IDtitle (string) - Photo title/descriptionurl (string) - Full-size image URLthumbnailUrl (string) - Thumbnail image URLRelationships:
Photos belong to Albums (via albumId)
Mock Data:
25 photo records with placeholder images
Perfect for: Image galleries, media libraries, asset management, photo sharing apps
Task list with completion status and user assignments.
id (number) - Unique identifieruserId (number) - Task owner's user IDtitle (string) - Task descriptioncompleted (boolean) - Completion statusRelationships:
Todos belong to Users (via userId)
Mock Data:
20 todo records
Perfect for: Task management apps, todo lists, project tracking, productivity tools
These templates are designed to work together, mimicking real-world data relationships. Understanding these connections helps you build more realistic and functional mock APIs.
userId)userId)userId)postId)albumId)Here are common API request patterns you can use with these templates. All examples assume your project is deployed and accessible at https://your-api.mockapibuilder.io.
Get all users:
GET /api/users
Response:
[
{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "Sincere@april.biz",
...
}
]Get a specific user:
GET /api/users/1
Response:
{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "Sincere@april.biz"
}Get posts by a specific user:
GET /api/posts?userId=1
Response:
[
{
"id": 1,
"userId": 1,
"title": "Post title",
"body": "Post content..."
}
]Create a new post:
POST /api/posts
Content-Type: application/json
{
"userId": 1,
"title": "My New Post",
"body": "This is the content of my post"
}
Response:
{
"id": 101,
"userId": 1,
"title": "My New Post",
"body": "This is the content of my post"
}Mark a todo as completed:
PATCH /api/todos/1
Content-Type: application/json
{
"completed": true
}
Response:
{
"id": 1,
"userId": 1,
"title": "delectus aut autem",
"completed": true
}Delete a post:
DELETE /api/posts/1
Response:
{
"message": "Post deleted successfully"
}You can use multiple templates together in a single project to create more complex, realistic APIs. Here are some common combinations:
Combine Users + Posts + Comments to create a full-featured blog system.
Combine Users + Albums + Photos for a media platform.
Combine Users + Todos for a productivity app.
Go to the Mock API Builder homepage or click "Create New Project"
Scroll to the "Start from a template" section and review available templates
Click on the template card that best matches your use case
The form will auto-populate with template fields. You can modify them before creating
Click "Generate & Save Project" and your API is ready to use immediately
Templates provide a starting point, but you have complete freedom to customize them:
Before creating the project, you can add new fields or remove existing ones from the template's data contract.
Modify field types (string, number, boolean, date, array, object) to match your specific needs.
Change the example values to generate more relevant mock data for your use case.
Increase or decrease the number of mock records generated (1-100 records).