Start · 5 minutes
Getting started
Go from an empty account to a working REST API with related, realistic data. Everything you create through the API is saved, so a POST today is still there tomorrow.
Five steps
- Create an accountSign up at app.relmock.com with your email or Google. Open the link in the confirmation email to finish.
- Create a projectOn Projects, click New project and give it a name, such as Shop API. Relmock opens its Schema page.
- Add tablesAdd a table yourself with + Table, pick ready-made ones from Templates, describe your app to Describe with AI, or import a SQL, OpenAPI or Prisma file.
- Save, then generate dataChanges on the Schema page are a draft until you click Save. Then click Generate data. Every table gets realistic records, and foreign keys point at records that exist.
- Call your APICopy the mock URL from the status bar at the bottom of the page and call it from your app, curl or Postman.

Call your API
Every table answers the usual REST routes. Lists take filters, sorting and pages.
# list paid orders, biggest first
GET https://app.relmock.com/mock/<token>/orders?status=paid&_sort=total&_order=desc
# create an order; it stays saved
POST https://app.relmock.com/mock/<token>/orders
{ "user_id": 3, "status": "pending", "total": 42.5 }
From JavaScript:
const API = "https://app.relmock.com/mock/<token>";
const orders = await fetch(`${API}/orders?user_id=3`).then((r) => r.json());
Tip
Send a foreign key that doesn't exist, like
"user_id": 999, and you get 422, as a real database would refuse it. Deleting a user who still has orders answers 409 unless the relation's delete rule says otherwise.What to read next
- Tables, fields and relations: types, keys, delete rules and the draft.
- Generating data: value lists, ranges and data that changes over time.
- Using your mock API: every query parameter and error.
- Network, latency and time: test your loading and error states.
Free plan
Up to 3 projects, 20 tables per project, 200 records per table and 5 AI schema requests a day. All limits are on Limits, FAQ and help.