Free Fake API for Students & Developers
Instant mock REST APIs with full CRUD operations, search, pagination, sorting, and filtering. Perfect for learning, testing, and prototyping without backend setup.
// Get all users
fetch('https://fakeapi.in/api/photos')
.then(response => response.json())
.then(data => console.log(data));
// Create new user
fetch('https://fakeapi.in/api/photos', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'John Doe',
email: 'john@example.com'
})
})
.then(response => response.json())
.then(data => console.log(data));Everything You Need for API Testing
Complete fake API platform with all the features you need for development and learning
π
Full CRUD Support
Complete GET, POST, PUT, DELETE endpoints for all resources
π
Search & Pagination
Advanced search with query parameters and built-in pagination
π
Sorting & Filtering
Sort by any field and filter data with multiple parameters
π
Student Friendly
Perfect for learning API development and testing frontend apps
Ready-to-Use API Endpoints
Start making requests immediately with our pre-built endpoints and example data
| Method | Route | Description | Example Response | Try It |
|---|---|---|---|---|
| GET | /api/users | Get all users | ||
| GET | /api/users/1 | Get user by ID | ||
| GET | /api/users?q=John | Search users by name containing 'John' | ||
| GET | /api/users?age=25 | Filter users by age | ||
| GET | /api/users?gender=male | Filter users by gender | ||
| GET | /api/users?company=Acme | Filter users by company name | ||
| GET | /api/users?jobTitle=Developer | Filter users by job title | ||
| GET | /api/users?sortField=name&sortOrder=asc | Get users sorted by name ascending | ||
| GET | /api/users?sortField=name&sortOrder=desc | Get users sorted by name descending | ||
| GET | /api/users?page=2&limit=10 | Get users with pagination (page 2, 10 per page) | ||
| GET | /api/users?sortField=name&sortOrder=desc&page=2&limit=50 | Combined filters: search, filter, sort, and paginate users | ||
| POST | /api/users | Create new user | ||
| PUT | /api/users/1 | Update existing user | ||
| PATCH | /api/users/1 | Partially update an existing user | ||
| DELETE | /api/users/1 | Delete user by ID |
Get Started in Seconds
No registration required. Start making API calls immediately:
fetch('https://fakeapi.in/users')
.then(response => response.json())
.then(data => console.log(data));Available API Resources
Comprehensive set of fake data resources for all your testing needs
