Mockoon Playground API

Mockoon's playground is a ready-to-use mock API for all your prototyping needs: fake JSON data, JSON placeholders, realistic CRUD API mock, etc.

Mockoon's playground is a ready-to-use mock API for all your prototyping needs: fake JSON data, JSON placeholders, realistic CRUD API mock, etc. It is also a good way to discover Mockoon's features. The playground offers the resources below, populated with fake data (generated using Faker.js).

You can use this playground for:

Learning and teaching APIs

Quick prototyping

Discovering Mockoon features

Available resources

Contacts /contacts
100 items
Fake contacts JSON data including name, email, phone, complete address, etc.
Copy
{ "id": "d421a174-8a96-4f42-addb-dccf00872970", "name": "Devyn Stamm", "email": "[email protected]", "phone": "991-570-7464 x620", "address": { "street": "664 Baumbach Port", "city": "Fort Vanessa", "state": "Maine", "zip": "72249-8454" }, "age": 56 }
Fake movies JSON data including title, genre, director, release year, rating, etc.
Copy
{ "id": "c476c2ce-f138-459d-9b7f-00781e550460", "title": "necessitatibus brevis vicissitudo", "genre": "vulgus", "director": "Stewart Kiehn", "releaseYear": 1954, "rating": 7, "isPopular": false }
Fake photos JSON data including URL, caption, likes, etc.
Copy
{ "id": "f50bf6e1-fbb2-4096-aff1-dad2a3dda30f", "url": "https://loremflickr.com/1024/768", "caption": "Adsidue amplexus quam pecco armarium [...]", "likes": 12, "isFeatured": true }
Fake blog posts JSON data including title, author, date, content, number of views, etc.
Copy
{ "id": "0fd57703-4755-40a1-bbf7-2bee858c3a67", "title": "Sumptus appono tametsi [...]", "author": "Jermaine Daniel", "date": "2023-04-30T10:10:02.970Z", "content": "Crustulum consequatur ut audacia [...]", "views": 1289, "isPublished": true }
Fake todos JSON data including title, completion status, priority, due date, etc.
Copy
{ "id": "c7266f89-b777-45aa-83ad-01d4bad47eb7", "title": "optimize real-time architectures", "completed": true, "priority": 0, "dueDate": "2024-09-24T10:13:39.649Z" }
Fake users JSON data including name, email, phone, address, birthdate, etc.
Copy
{ "id": "dabf8912-0eb2-4648-98df-7d113a15bbfc", "name": "Sean Kris", "email": "[email protected]", "phone": "271-410-4874 x85762", "address": "623 Jailyn Village, Pasadena, IA 54138", "birthdate": "2005-07-26", "isActive": true }

Playground API base URL

https://playground.mockoon.com/

Available routes/methods for each resource (replace {resources} with the resource name on the left, e.g. /contacts):

  • GET/{resources}
    Returns the entire array
  • GET/{resources}/:id
    Returns an object by its id property
  • POST/{resources}
    Inserts a new object in the array (autogenerate the id (UUID) if not provided)
  • PUT/{resources}/:id
    Performs a full object update by its id (replace)
  • PATCH/{resources}/:id
    Performs a partial object update by its id (merge)
  • DELETE/{resources}/:id
    Deletes an object by its id

Playground FAQ

While the playground offers a lot of flexibility, it's not meant to be used in production. We monitor the playground's usage and apply rate limiting (you may get 429 "Too Many Requests" errors). Please don't abuse it and use it only for prototyping purposes.
All the methods like POST, PUT or DELETE work as expected and will modify the data or return a 404 after deletion. Be kind and don't abuse it, the data is shared between all the users. Work with your own objects! 😉
The service is frequently reset to its initial state and goes to sleep after ~15 minutes of inactivity, which also resets its state.
The playground goes to sleep after ~15 minutes of inactivity. The first request after this period may be slow (up to 10-20 seconds) as the service is waking up. But it should be fast enough after that.
The playground data were created using Mockoon Desktop. It is running with the CLI in a Docker container. It principally uses the CRUD routes and data buckets features.
You can ask for help or discuss ideas and improvements on our GitHub Discussion forum. You are also welcome on our Discord server. If you found an issue with the playground, you can open an issue on the playground repository.