Mock Users API
Free REST API for testing user management features with full CRUD operations
Documentation
A free REST API for testing and prototyping user management features. Perfect for testing user management features, prototyping authentication systems, learning REST APIs, creating demo applications without backend setup, and testing API client libraries. No authentication required.
Available Endpoints
GET
/api/mock/usersGet all usersGET
/api/mock/users/:idGet a specific userPOST
/api/mock/usersCreate a new userPUT
/api/mock/users/:idUpdate a userDELETE
/api/mock/users/:idDelete a userUser Schema
{
"id": 1,
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"avatar": "https://api.dicebear.com/7.x/avataaars/svg?seed=John",
"createdAt": "2024-01-01T00:00:00.000Z"
}Interactive API Tester
Note: This is a stateless mock API. POST, PUT, and DELETE requests will return success responses, but no data is actually modified. All requests return the same consistent dataset for testing purposes.
Code Examples
fetch('/api/mock/users')
.then(response => response.json())
.then(data => console.log(data))About this tool
Use it to
- Test user management features without backend setup
- Prototype authentication and user profile systems
- Learn REST API integration and HTTP requests
- Build demo applications with realistic user data
- Get All Users
- Fetch a list of all users with GET /api/mock/users to display in your application or test pagination features.
- Create New User
- Test user registration by POSTing user data with email, firstName, lastName, and avatar fields.
Related tools
- Mock Posts API
Free REST API for testing blog and content management features with CRUD operations
- Mock Todos API
Free REST API for testing task management and todo list features with CRUD operations
- Mock Products API
Free REST API for testing e-commerce and product catalog features with CRUD operations
- Mock Comments API
Free REST API for testing comment systems and discussion features with CRUD operations