Mocking Quick Start
Inspectr lets you spin up a mock server from any OpenAPI file in seconds. Choose one of the options below to get started.
Option 1: Launch in the Browser
Section titled “Option 1: Launch in the Browser”Open the URL https://inspectr.dev/launch with a reference to any remote OpenAPI document:
https://inspectr.dev/launch?openapi=https://inspectr.dev/demo/hello.openapi.yaml
Replace the openapi
parameter with the URL of your own OpenAPI file. Inspectr will start immediately with mocking enabled.


You can easily mock the typical OpenAPI example APIs using Inspectr, by clicking the launch link:
-
Click here Launch Museum API or visit https://inspectr.dev/launch?openapi=https://inspectr.dev/demo/museum.openapi.yaml
-
Click here Train Travel API or visit https://inspectr.dev/launch?openapi=https://inspectr.dev/demo/train-travel-api-openapi-source.yaml
-
Galaxy API by Scalar
Click here Galaxy API or visit https://inspectr.dev/launch?openapi=https://inspectr.dev/demo/galaxy.openapi.yaml
Option 2: Start from the CLI
Section titled “Option 2: Start from the CLI”Run Inspectr locally and point it to the same OpenAPI spec:
npx @inspectr/inspectr --mock-backend=https://inspectr.dev/demo/hello.openapi.yaml
The proxy listens on port 8080
and the UI is available at http://localhost:4004.