A mock REST API whose data actually makes sense.
Build your frontend against an API the backend hasn't built yet. Unlike a typical fake-data server, SeedBase serves a referentially consistent database: /users/1/orders returns orders that really belong to user 1, every declared foreign key resolves, and distributions look production-like.
Or define your own endpoints, fields and nested shape in a visual builder, bring your own OpenAPI contract, and explore it all in a built-in Swagger UI.
No backend · no login to call it · CORS open · free tier, no card
From schema to a live REST API in two minutes
Pick a template or import your own schema (SQL, Django, Prisma), generate, and enable the mock API. You get an unguessable token URL you can hit straight from the browser.
curl "https://seedbase.dev/api/v1/mock/<token>/users"
# → [ { "id": 1, "name": "Alex Smith", "email": "..." }, ... ]
curl "https://seedbase.dev/api/v1/mock/<token>/users/1/orders"
# → orders that actually belong to user 1 (FK resolves)What the mock API gives you
Relations that resolve
Follow foreign keys: /orders/5/line_items, /users/1/orders. Children point at parents that exist, so your relational UI has something real to render.
Pagination, filter, sort, search
?page=&page_size=, ?status=open, ?_sort=created_at&_order=desc, ?q=text. Plain JSON arrays with an X-Total-Count header, the convention you already know from JSON Server.
No backend, no login
Token in the URL, CORS open. Call it from your React/Vue/Svelte app on localhost without auth headers or a proxy. Disable it with one click.
Real distributions
Not every user has exactly five orders. Long-tail and normal distributions surface the pagination, empty-state and N+1 edges that flat mock data hides.
Domain-aware values
Pick an industry and product names, categories and brands match it, a medical project serves drug names, a toy shop serves toys, not generic placeholders.
Straight from your editor
Enable the mock API and copy its URL from the VS Code or JetBrains plugin, or insert FK-consistent sample rows right at your caret as SQL, PHP, Python or JSON.
Or design the exact shape your frontend expects
The auto endpoints mirror your tables. But your frontend rarely wants a raw table dump, it wants /people, a paginated envelope, a couple of renamed fields and the related rows nested in. Define that yourself, no code.
Build endpoints by clicking
Pick a path (/people/{id}), a table, a response shape (list, single, or { data, total, page } envelope), select and rename fields, and embed children so one call returns a user with their orders inside. Served from your real generated data.
Bring your own OpenAPI
Already have an OpenAPI 3 spec? Paste it in and SeedBase serves exactly your endpoints, paths and schemas, filled with FK-consistent, realistic data. The mock matches the contract your team already agreed on.
Swagger explorer built in
Every mock ships an interactive API explorer at /<token>/docs and a machine-readable /openapi.json. Share the URL, let teammates try requests in the browser, generate a client.
FAQ
What makes this different from a normal mock API?
Tools like JSON Server, Mockoon or Mockaroo return flat, unrelated rows. SeedBase reads your schema and serves a referentially consistent database: /users/1/orders returns orders that actually belong to user 1, products point at categories that exist, distributions are realistic. Data that is structurally real, not just real-looking.
Do I need a backend or any setup?
No. Pick a schema, generate, enable the mock API. You get a token URL you can call from the browser, no login, CORS open. Built for developing a frontend against an API that doesn't exist yet.
Which query features does it support?
Pagination, exact filters, full-text search (?q=), sorting (?_sort=&_order=), single rows and foreign-key navigation. Plain JSON arrays with X-Total-Count.
Can I make the data fit my industry?
Yes, pick an industry and the product names, categories and brands match it. More on the generator →
Can I define my own endpoints and response shape?
Yes. A visual builder lets you design custom paths (/people/{id}), choose a list / single / paginated-envelope shape, pick and rename fields, and embed related rows. Or paste your own OpenAPI 3 contract and SeedBase serves exactly those endpoints. Every mock ships a Swagger explorer at /<token>/docs.
Mock your API in two minutes
Sign up, pick a schema, enable the mock API. No backend, no credit card, the free tier is enough to wire it into your frontend today.
- FK-consistent
- Pagination & filter
- No login to call
- EU-hosted
Related: test data from SQL · Prisma · Compare: vs Mockaroo · vs Faker