Prism

Prism is a toolkit for API mocking and contract testing built on OpenAPI v2, OpenAPI v3.x, and Postman Collection specifications.

  • Development
  • Tools & Utilities
Prism is a toolkit for API mocking and contract testing built on OpenAPI v2, OpenAPI v3.x, and Postman Collection specifications. It turns your API description file into a lifelike mock server and adds a validation proxy that checks requests and responses against the spec, so developers and API consumers can build against endpoints before a real backend exists. Host it yourself to keep your API contracts and traffic under your own control.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

75/100 Good

Maintained
100last commit 2 days ago
Popular
745,072 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
701 GB minimum RAM
Security check
72no serious findings, 2 minor, CI, tests, OpenSSF Scorecard 4.8/10

Availability: platform listings confirmed 43 days ago

GitHub stars
5,072
Open issues
145
Last commit
2026-11-19
Latest release
v5.16.0
License
Apache-2.0
Activity
declining

Checked 2 days ago - source: GitHub (stoplightio/prism)

Resources & Compatibility

Minimum requirements: 1 GB RAM. ARM (e.g. Raspberry Pi) is not supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install the Prism CLI first Use npm install -g @stoplight/prism-cli so your terminal can run the prism command. If you skip this, you may not have a simple way to start the mock server. source
  • Point Prism at an OpenAPI spec Before starting, run prism mock with the URL or file path to your OpenAPI file (the map of your API). That file is the blueprint for Prism, and without it there are no endpoints to mock. source
  • Test Prism on its local address After starting, check http://127.0.0.1:4010 in a browser or a tool like curl. This is a local-only address, so other devices on your network may not reach it without extra configuration. source

Fetched 42 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How do I install self-hosted Prism from the command line?

Install the CLI globally with npm install -g @stoplight/prism-cli.

How do I start a Prism mock server?

Run the prism mock command with a URL to an OpenAPI document.

How do I use Prism as a validation proxy?

Run the prism proxy command with an OpenAPI document and the real API endpoint.

Which API specification formats does Prism support?

It supports OpenAPI v3.1, OpenAPI v3.0, OpenAPI v2.0, and Postman Collections.

Answers sourced from github.com

Community

Collected 48 days ago - public community threads