Mock your API at scale with Mocki

Using Mocki you can create, run and deploy mock services without hassle. Use your mock services to run tests independent of external services, design APIs and remove backend dependencies for your frontend team.

Read More
remove dependencies

Create a Mock JSON API ๐Ÿš€

Use the form below to create a simple API response. If you want more features such as multiple endpoints, custom headers, simulated failures and much more sign in with your GitHub account to start creating a fully fledged mock REST API.

Isolated Testing

Create mock services to use in your integration tests for 100% isolated testing of your service and independence of external dependencies.

Generate Test Data

Using Mockis test data generator you can generate realistic test data for your client.

Simulate Failures

Simulate random failures and delays in your services to easily cover negative test cases.

Configuration as Code

Sync your service with your code repository to keep your mock service up to date with the latest changes without manual steps.

Managed Hosting

Using our managed hosting solution your mock service is always available for any consumer. Access a dashboard to gather insights on how your mock service is used.

Run Locally

Using our Open Source CLI you can run your services locally. This enables you to run your service without requiring an internet connection to reach external services.

Define your mock API


Define your service in a yaml-file and either run it locally with our command line tool or deploy it to our managed hosting in a single command. Integrate with GitHub to keep your mock up to date with the latest changes in your repository.

Web Interface

If you just want to set your API up quickly you can also use our web interface to define your mock service.


port: 3000
  - path: hello
    method: post
      - type: json
           message: Hello World!

mocki run --config ./config.yml

[mocki] Mock API running at port 3000

curl -X POST http://localhost:3000/hello 200 OK { "message": "Hello World!" }
GitHub Logo

Integrate with GitHub

Define your service in a yaml-file and either run it locally with our command line tool or deploy it to our managed hosting in a single command. Integrate with GitHub to keep your mock up to date with the latest changes in your repository.

After setting up your project, all members of yout GitHub organization will have access to it seamlessly.

Become independent of external dependencies

To avoid having to depend on external services and APIs during testing and development of your application, Mocki can help you simulate them. Using the editor you can easily set up mock responses for any API.

Easily collaborate and share your mock projects with team members in your GitHub organization by simply logging in to Mocki using GitHub.

Get started with Mocki »
Mocki Editor
Mocki Dashboard

Manage your mock APIs from one interface

In the dashboard view, you get an overview of your mock APIs and the latest changes made to them. If you are using our GitHub integration to configure your mock APIs you can get an overview of the different stages that exist for each API. A new stage will be created for each branch that you configure in Mocki. That way, you will be able to manage different versions of your mocks and get them updated as soon as you push changes to GitHub.

Mockis features for randomized responses, delays and simulated errors makes testing corner cases and error handling in your application easier.

Start creating »

Go offline

Today, it is very hard to develop anything without an internet connection. There is always an API or a service that your app vill need access to.

Using Mocki CLI you can simulate those APIs and services with a simple configuration file and a single command. You get all features that you get when using our cloud solution but running offline on your workstation. This enables you to go fully offline and no longer be dependent on an internet connection to get the job done.

Read more about to use Mocki to simulate external services »
Mocki Local
Mocki Fake Data

Take control of test data

Have you ever been in a scenario where you need specific test data to be able to run all test cases? We have, too. To get rid of this problem Mocki has support for generating realistic test data for use in your application. Instead of having to request someone to manually create the data in the correct environment, you can take control of the test data and set it up any way you want.

Learn how to set up test data »

Built for microservices

Mocki is a perfect fit for microservice testing and development. Instead of having to deploy your entire fleet of microservices to be able to carry out testing and development of a new service, use Mocki to simulate the external services. This will enable you to improve costs, productivity and developer experience.

Read more about how we used Mocki to improve the testing workflow for one of our clients »