GitHub

Static-first architecture

Fake APIs for modern frontend development.

Public mock APIs for demos, testing, tutorials and prototypes. Fully open source, deployable anywhere, and optimized for speed.

ENDPOINTS
GET /api/users
GET /api/products
GET /api/orders
GET /api/dashboard/stats
FETCH USAGE
fetch("https://mockapi.run/api/users")
.then(res => res.json())
.then(console.log)

API Resources

Available Categories

Select a category to view endpoints and sample responses.

Live Data

Beautiful, structured JSON.

Responses are designed to be predictable and rich, perfect for building robust frontend prototypes without a backend.

No Auth Required

All endpoints are public. No API keys, no tokens, no setup. Just fetch and build.

CDN-First Speed

Global edge delivery ensures < 50ms response times anywhere in the world.

SAMPLE RESPONSE: /api/users/1
{
  "id": 1,
  "name": "Leanne Graham",
  "username": "Bret",
  "email": "Sincere@april.biz",
  "address": {
    "street": "Kulas Light",
    "city": "Gwenborough",
    "zipcode": "92998-3874"
  },
  "company": {
    "name": "Romaguera-Crona",
    "catchPhrase": "Multi-layered client-server"
  }
}

Developer Experience

Built for your workflow.

We've removed every hurdle between your idea and a working demo.

Copy & Paste

Every endpoint is ready to be dropped directly into your codebase with one click.

Instant Usage

No registration or account creation. The service is always available and always free.

Static-First

Built with Astro and served from static files for maximum reliability and uptime.

Community Driven

Fully Open Source.

mockapi.run is MIT licensed. You can use our public service or fork the repo and host your own static API in minutes.

Explore the Repository

Ready to build your next demo?

No keys. No waiting. Just APIs.

Explore the APIs