Mockly

Schema-driven mock API service with realistic data. Perfect for prototyping, testing, and demos.

⚡️

Instant Access

No signup required. Start using our API endpoints immediately with realistic fake data.

📝

Schema-Driven

All endpoints are auto-generated from JSON schemas. Add new resources without code.

🔄

RESTful API

Standard REST endpoints with collection, single item, and metadata routes.

🎨

Realistic Data

50+ data generators produce realistic names, emails, addresses, and more.

🚀

Fast & Reliable

Built with Go for high performance. CORS enabled for browser access.

🆓

Free Forever

Completely free to use. No rate limits. Perfect for learning and testing.

Get Started in Seconds

Fetch Users (via group path)
// Browse by category
fetch('https://api.mockly.codes/people')
  .then(res => res.json())
  .then(data => console.log(data.resources));

// Get users via group path
fetch('https://api.mockly.codes/people/users?count=5')
  .then(res => res.json())
  .then(data => console.log(data));

Response:

[
  {
    "id": 42,
    "username": "johndoe",
    "email": "john@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "city": "San Francisco",
    "country": "USA"
  },
  // ... 4 more users
]

Available Resources

Browse 100 resources organized into 14 categories

💼 business

12 resources

🛒 commerce

14 resources

📝 content

8 resources

🎓 education

1 resources

💰 finance

6 resources

🍔 food

3 resources

🌍 location

6 resources

🎬 media

10 resources

👥 people

10 resources

productivity

6 resources

📚 reference

3 resources

💬 social

9 resources

sports

2 resources

✈️ travel

10 resources

Check the documentation for detailed API usage and examples.

Perfect For

Frontend Development

Build UIs without waiting for backend APIs. Test edge cases with controlled data.

Learning & Tutorials

Practice API integration without complex setup. Perfect for coding bootcamps.

Prototyping

Quickly validate ideas with realistic data. Show demos to stakeholders.

Testing

Test applications with consistent, reproducible data. Mock external dependencies.