Welcome to Axomock Docs
Learn how to use Axomock to supercharge your frontend development. No database, no configuration. Just fast, regenerative mock data.
Quick start
You can use any HTTP client (fetch, axios, curl) to access the API.
fetch('https://axomock.fauzantaslim.biz.id/api/users/1')
.then(res => res.json())
.then(console.log);
Pagination
Use limit and skip query parameters to paginate results.
// Get 10 users, skipping the first 20
fetch('/api/users?limit=10&skip=20')
Sorting
Use sortBy and order (asc/desc) to sort data.
// Get users sorted by firstName in descending order
fetch('/api/users?sortBy=firstName&order=desc')
Delay simulation
Append ?delay=ms to any API endpoint to simulate slow network connections.
// Wait 3000ms (3 seconds) before receiving the response
fetch('/api/users?delay=3000')