Mock API in a couple of minutes

Paste your JSON —
get a working API.

Don't want to stand up a backend for a couple of endpoints? Upload your data and Mockly serves it as a real REST API: read and write, pages, filters, relations.

Start for free
Free to startNo cardReady in a minute
api.mockly.site/m/acme/products200
GET/m/acme/products?page=1&limit=2
{
  "items": [
    { "id": 1, "name": "Coffee", "price": 290 },
    { "id": 2, "name": "Tea", "price": 190 }
  ],
  "meta": { "total_items": 2, "total_pages": 1, "current_page": 1, "per_page": 2 }
}
How it works

Three steps to a live endpoint

01
Paste your JSON

Just an array or an object into a new collection. Any shape works.

data.json
[
  { "name": "Coffee", "price": 290 },
  { "name": "Tea", "price": 190 }
]
02
Get your endpoint

A hosted URL under your project id, instantly.

api.mockly.site/m/acme/products
200 · live< 40ms
03
Query like production

CRUD, pagination, filters, relations — the contract never drifts.

GET /m/acme/products?page=1
{
  "items": [ … ],
  "meta": { "total_items": 2 }
}
Features

Everything a real API gives you

Without standing up a backend.

CRUD

Full read & write

GET, POST, PATCH, PUT, DELETE — records echo their id back.

POST /products 201
PAGINATION

page & limit

Structured meta: total_items, total_pages, current_page, per_page.

?page=2&limit=20
FILTERING

Substring, wildcard, range

Only matching records come back: substring match, wildcards, numeric range. And q searches every field at once.

?name=*coffee*&price_gte=100
SORTING

sortBy & order

Sorting happens server-side — clicking a table column actually works. Numbers compare as numbers.

?sortBy=price&order=desc
RELATIONS

Related records in one request

Got a userId? Mockly attaches the record from users under user. Nested data without a second round trip.

?_relations=user
SCOPES

Your project endpoint

Every collection is served under the project public id, isolated and shareable.

/acme/products
mockly