Learn
Short, practical recipes for forging mock APIs — built around real MockSmith behaviour, no filler.
Comparison
json-server is great locally. When you need a shared URL, realistic data and relations without maintaining a db.json, a hosted mock is the better fit.
Recipe · Pagination
Build a fake REST endpoint with real pagination — page, limit, total and totalPages — and wire an infinite scroll against stable data.
Recipe · Auth
Lock your mock endpoints behind an Authorization: Bearer header — one key flips every route from public to protected, with clean 401s to test against.
Recipe · Relations
Model users, posts and comments where every foreign key points to a record that actually exists — no dangling ids, no hand-wiring.
Recipe · Testing
Flaky tests often come from random fixtures. Get deterministic, seeded mock data that's identical on every run — and reset it on a schedule.
Recipe · OpenAPI
Import an OpenAPI 3.1 document to generate a working mock from its schemas, and export any project back to OpenAPI for Swagger UI, Postman or client codegen — free on every plan.
Recipe · Third-party APIs
Develop against a fake Stripe-shaped API: stable customers and charges, simulated latency and failures, pinned responses, and a library of webhook payloads to replay.