logo
icon

Mockoon CLI

Mockoon CLI is an open-source API mock server for creating and running fake REST APIs. Define endpoints, response bodies, headers, and status codes — then serve them instantly for development and testing. Stateless and config-driven.

template cover
Deployed0 times
Publisherfuturize.rush
Created2026-03-30
Services
service icon
Tags
Tool

Mockoon CLI

An open-source API mock server that lets you create and run fake REST APIs for development and testing. Define endpoints with custom responses, headers, latency, and rules — all without writing backend code.

What You Can Do After Deployment

  1. Visit your domain — verify the mock server is running
  2. Define mock routes — configure endpoints via environment files or the Mockoon desktop app
  3. Send requests — point your frontend or integration tests at the mock server
  4. Simulate latency — add response delays to test loading states and timeouts
  5. Use dynamic responses — leverage templating helpers to generate realistic fake data

Key Features

  • Create unlimited mock API endpoints with custom responses
  • Response rules for conditional responses based on request parameters
  • Built-in templating with Faker.js helpers for dynamic data
  • Configurable response latency and HTTP status codes
  • CORS support out of the box
  • Import and export via OpenAPI / Swagger specs
  • Proxy mode to forward unmatched requests to a real API
  • Logging of all incoming requests for debugging
  • Stateless — no database required

License

MIT — GitHub | Website