Skip to content

Free fake REST API

A free fake REST API with your own resources

Public placeholder APIs are great until you need your own fields. MockAPI gives you a free, hosted fake REST API shaped like your app, with realistic JSON, CRUD and pagination.

Free forever plan · No credit card required

terminal
curl "https://api.mockapi.com/products?page=1&limit=2" \
  -H "x-api-key: $MOCKAPI_KEY"

Fixed placeholder data

Public fake APIs only offer their own posts, todos and users.

Writes don’t persist

Fake POSTs that never show up make demos feel broken.

No control

You cannot add fields, errors or latency to someone else’s API.

What you get

Your own resources

Users, products, orders, invoices: any model with any fields.

Realistic JSON

140+ data types across 60+ locales, including images and dates.

CRUD that persists

Stateful mode keeps what you create (Developer plan and up).

Pagination & sorting

page, limit, sortBy, sortOrder and field filters on stateful list endpoints.

Hosted HTTPS

Call it from CodePen, StackBlitz, a phone or a CI job.

Free forever

No credit card. Upgrade only when you need more requests or state.

Get started in three steps

  1. 01

    Create a free account

    No credit card. Takes under a minute.

  2. 02

    Define a model

    Pick fields and data types, or try the model builder first.

  3. 03

    Create an endpoint

    Get a hosted URL that returns realistic JSON immediately.

FAQ

Common questions

Is it really free?

Yes. The Free plan is free forever and includes 500 requests per month per project, 3 projects and 25 endpoints per project.

How is this different from JSONPlaceholder?

JSONPlaceholder serves a fixed public dataset. MockAPI serves your own resources and fields, with optional persistence, auth, scenarios and GraphQL.

Can I try it without signing up?

Yes. The model builder demo generates sample JSON in your browser, and the playground on the homepage shows stateful CRUD in action.

Build against a mock API that behaves like your real one

Create your first endpoint in under two minutes.

Free forever · No credit card required