Instantly generate a full REST API with realistic fake data. No backend setup, no hardcoded JSON arrays. Just define your schema and get to work.
// 200 OK - 24ms
{
"data": [
{
"id": "user_8x92m",
"name": "Alex Rivera",
"role": "frontend_dev",
"is_active": true
},
{
"id": "user_p4k91",
"name": "Sarah Chen",
"role": "designer",
"is_active": false
}
],
"meta": { "total": 142, "page": 1 }
}Pick fields, hit Generate. Call the endpoint directly from your code or sign up to get a persistent CRUD API.
Available fields — click to add (max 6)
Your schema (3/6)
Hit "Generate Preview" to see your data here.
curl -X POST https://api.restfaker.dev/api/preview \
-H "Content-Type: application/json" \
-d '{"fields":[{"name":"name","type":"person","subtype":"fullName"},{"name":"email","type":"internet","subtype":"email"},{"name":"jobTitle","type":"person","subtype":"jobTitle"}],"count":10}'Stop writing boilerplate backend code for prototypes. Define what you need and get a production-ready mock API instantly.
Use the schema builder to create routes like /users, /products, or /orders. Pick from 200+ Faker.js field types.
We instantly generate up to 100 realistic records per route. Need a fresh dataset? Hit regenerate from your dashboard.
Get a live API endpoint immediately. Supports GET, QUERY, POST, PATCH, and DELETE with sorting and pagination out of the box.
Built for speed and flexibility. Don't let the backend team block your frontend progress.
Connect Claude and other AI agents directly to Rest Faker over the Model Context Protocol. Scaffold projects, resources, and mock data from your editor — no clicking through the dashboard.
Explore MCP docs
Add fields through a clean form-based builder. Pick a category and subtype from 200+ Faker.js options — no schema code required.
Every route gets GET, POST, PATCH, DELETE, and the HTTP QUERY method — a safe, idempotent endpoint that accepts filter criteria in the request body.
Filter by any schema field (?firstName=John), sort with ?sort=field&order=desc, and paginate with ?page=2&perPage=10. Pass filters in the body via QUERY for complex queries.
Every project gets a unique API token and a live base URL. Share the token with teammates — everyone hits the same endpoint.
Need a fresh dataset? One click wipes and regenerates data based on your rules instantly.
Export a ready-to-use Postman collection for every route, or download TypeScript interfaces for all your schemas.
Every inbound request is logged with its method, headers, body, and response. Debug your frontend API calls directly from the dashboard.
Skip the blank canvas. Start from a real-world data model — Blog, E-commerce, CRM, and more — with entities, fields, and relationships pre-wired. Your API is live in seconds.
Explore templates
No distractions. Just the tools you need to define data structures and get endpoints.
We handle the server, database, and routing. You focus on the frontend.
Start free. Upgrade when you need more capacity.
Perfect for trying things out
For teams building real products
For large teams and agencies
From OpenAPI import to mobile prototyping — Rest Faker adapts to how your team works.
Import your OpenAPI spec and get a live mock instantly.
Swagger 2.0 and OpenAPI 3.0 both supported.
Define schemas and generate CRUD endpoints in seconds.
200+ Faker.js types for realistic generated data.
Works with fetch, Axios, TanStack Query, and SWR.
Fetch in Server Components, Client Components, and Route Handlers.
React Native, Flutter, Swift, and Kotlin ready.
Rest Faker is currently in public beta. No credit card required.