Relmock

A mockapi.io alternative

Comparison · last checked November 2026

mockapi.io is a hosted mock API that has been around for years: you define resources, it generates data with Faker and stores what you POST. Relmock is in the same category. The difference is that Relmock treats your mock as a small relational database, so the awkward cases your real backend has show up while you build the frontend.

What they have in common

Where Relmock is different

mockapi.ioRelmock
RelationsParent and child resources with nested URLsAny table can link to any other; foreign keys are checked, a bad key answers 422
Deleting linked recordsNot documentedPer relation: block (409), cascade, or clear the link
Write validationNot documentedRequired fields, ranges, lengths, regex and enums, with per-field errors
ImportNot documentedOpenAPI, Prisma, GraphQL schema, pg_dump, mysqldump, JSON, CSV, Postman
ExportNot documentedOpenAPI, SQL, Prisma, TypeScript, Postman and data, 8 formats
Design with AINot documentedDescribe the app; the AI drafts linked tables
Mock loginNot documentedSign-up and sign-in endpoints with JWTs and per-user data
Failure testingCustom responses on paid plansNetwork modes, latency, forced status codes, a mock clock
AI coding assistantsNot documentedMCP server for Claude Code, Cursor and VS Code
Free plan1 project with 2 resources (2026 listings)3 projects, 20 tables each, 200 records per table

mockapi.io details are from its public site and pricing listings as of 2026; "not documented" means we could not find it in its public pages, not that it is missing; they change, so check mockapi.io for the current state. If something here is out of date, write to support@relmock.com and it will be fixed.

When mockapi.io is the better choice

Try the difference in one request

POST /orders  { "customerId": 4, "total": -5 }
422 Unprocessable Entity
{ "error": "Unprocessable Entity",
  "message": "Validation failed: total must be at least 0",
  "errors": [{ "field": "total", "message": "must be at least 0" }] }

POST /orders  { "customerId": 999, "total": 20 }
422 Unprocessable Entity   customerId=999 does not match any record in 'customers'.

DELETE /customers/4
409 Conflict   (orders still point at it, and the rule is "block")

Your frontend gets the same kind of error it will get from the real backend, so you build the error states now instead of after launch.

Relmock's free plan has no time limit and needs no card: 3 projects, 20 tables per project, 200 records per table and 2,000 mock calls a month (all limits). It is REST only; there is no GraphQL endpoint.

Create a free account Read the getting-started guide

Other comparisons: JSONPlaceholder, json-server.