Skip to content

Features


Chimera is a blazing-fast mock API server written in Rust. It’s built to simulate real-world API behavior with flexible configuration and robust features.

  • HTTP
  • Websocket
  • Additional protocol support on the way
  • Serve mock data from any JSON file.
  • Nested routes supported out-of-the-box.
  • Dynamic value resolution using JSON path-like traversal.
  • Route matching with support for long and nested paths (e.g. /api/v2/data).
  • Full support for GET, POST, PUT, PATCH, and DELETE methods.
  • Simulate latency using the --latency flag.
  • Add pagination with --page to break large arrays into chunks.
  • Sort array responses via CLI or config using key-order combinations (e.g., --sort price asc).
  • Generate random mock data using a .sc schema file with the --schema and --random flags.
  • CORS is fully enabled so Chimera can be used easily in browser-based applications.
  • Verbose, color-coded logs for requests and responses.
  • Info, warning, and error messages are clearly distinguished.
  • Supports URL-encoded and multipart/form-data form submissions.
  • Customize data file location with --path.
  • Configure port, logging, and sort behavior with CLI options.
  • Easily scriptable.
  • Designed with future plugin/webhook/GraphQL support in mind.

Whether you’re prototyping, testing frontends, or replacing real APIs during development, Chimera gives you the tools to create a reliable and highly customizable mock server.