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

YAML

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.

config.yml

port: 3000
endpoints:
  - path: hello
    method: post
    responses:
      - type: json
        body:
           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.