Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Stoplight Prism

github.com

  • Free plan
  • Web
  • API
  • Self-hosted
7.2 Club score Visit github.com

What Stoplight Prism is

Stoplight Prism is a free, open-source command-line HTTP server that turns OpenAPI files or Postman Collections into API servers for mocking, transformations, and validation. Teams can generate mock servers from API descriptions while a backend is still being built, and Prism can produce dynamic random examples. It validates request and response data against the API description. In proxy mode, it identifies discrepancies between an OpenAPI document and a target API, helping check consistency before production. The project lists OpenAPI 3.1, 3.0, and 2.0 support, plus Postman Collections, and supports OpenAPI v3.0 callbacks that deliver payloads to URLs. Prism can run standalone or in continuous integration for parallel frontend and backend work. Installation options include npm, standalone binaries, Docker, and Docker Compose. The listed requirement is Node.js >= 18.20.1, or >= 18.16 for Node.js 18.x. Prism uses the Apache-2.0 license, and hosted Prism-powered mock servers are available through Stoplight Platform and Studio.

Who it suits

Prism suits developers and teams building or validating APIs, including workflows that need mock servers, contract checks, or CI integration.

Good to know, and what to watch

  • Free open-source HTTP server
  • Generates API mocks from specifications
  • Validates requests and responses
  • Supports proxy discrepancy checks
  • Runs in continuous integration
  • Requires Node.js version 18.x or newer
  • Command-line server requires technical setup
  • Hosted option uses Stoplight services

Prism Open Source

Free

Free plan

The verdict

Prism provides specification-driven mocking and validation for API development. Its standalone, container, and CI options fit teams that want to test API behavior before production.

What the maker publishes

Callbacks
Prism supports OpenAPI v3.0 callbacks for delivering payloads to URLs. source
Dynamic examples
It can generate dynamic, random examples based on an API description. source
Hosted option
Stoplight says hosted mock servers powered by Prism are available through Stoplight Platform and Stoplight Studio. source
Install options
The installation guide documents npm, standalone binaries, Docker, and Docker Compose installation options. source
License
The repository identifies its license as Apache-2.0. source
Mock servers
It generates mock servers from API specifications so teams can try an API before its backend is built. source
Run modes
Prism is an open-source command-line HTTP server that can run standalone or in continuous integration. source
Runtime requirement
The README lists Node.js >= 18.20.1 as a requirement, with >= 18.16 for Node.js 18.x. source
Specifications
The project README lists support for OpenAPI 3.1, 3.0, 2.0, and Postman Collections. source
Support
The repository points users to Stoplight documentation and its community for help. source
Use cases
The maker describes Prism as useful for parallel frontend and backend development and for checking API consistency in pre-production. source
Validation
Prism can validate request and response data against the API description. source
Validation proxy
Its proxy mode identifies discrepancies between an OpenAPI document and a target API. source
What it does
Prism turns OpenAPI or Postman Collection files into an HTTP API server for mocking, transformations, and validations. source

Checked against the maker's pages on 8 Oct 2026.