mockfly logo

Free Public Mock APIs

Ready-to-use fake REST APIs for testing, prototyping and learning. No signup, no setup, no database — just call them.

GEThttps://api.mockfly.dev/hub/users/1

Deterministic data

Every item is generated with a seeded Faker.js instance, so /hub/users/5 always returns the same user. Your tests and tutorials stay reproducible — today, tomorrow and after every deploy.

Full CRUD, zero persistence

POST, PUT, PATCH and DELETE respond exactly like a real API would — echoing your payload with a new id — but nothing is stored. Safe and open for everyone.

Pagination built in

Every list endpoint supports _page and _limit so you can build and test paginated UIs without any backend work.

Simulate errors and latency

Add ?_status=500 to force any status code, or ?_delay=2000 to simulate a slow network. Test your error handling and loading states with a query param.

Available APIs

Loading available APIs…

Need your own endpoints?

These public APIs are fixed. With a free Mockfly account you can build your own mock APIs: custom endpoints, conditional responses, Faker.js templates, AI-generated data and more.

Create your own mock API