Mock HTTP API Server

Build APIs and accelerate API development with instant mock servers.

https://d33wubrfki0l68.cloudfront.net/47594cf606c57e017dab1af448caf6fa42c617b0/bee7d/images/mocking/hero.svg

OpenAPI Mocking

Mocking your API with Stoplight is your API design’s perfect companion. Powered by Prism, the instant mock server routes incoming requests to example responses or dynamically generates examples on the fly based on your OpenAPI v2/v3 document (formerly known as Swagger).

Instant Mock Server

Supercharge any OpenAPI Specification with Stoplight Studio using our online Mock REST API server. Once you have created or imported your OpenAPI document, you have access to an instant mock server, which automatically reloads when your document changes. A mock API simulates the behavior of a real API allowing collaboration and feedback on your API design.

https://d33wubrfki0l68.cloudfront.net/f3c3cf1914e16d3a68553f1beab374a151a694c1/e7466/images/design/mock.svg

Virtualization

With mocking, you can accelerate the development of new APIs. Teams can work in tandem before the API is available through virtualization. Stoplight’s mock servers can virtualize internal and external APIs within your platform with dynamic responses generated from your JSON Schema, which can be run locally or hosted with Stoplight (coming soon).

https://d33wubrfki0l68.cloudfront.net/9d7119013222c57d7bd72659125e34e9f6033787/06eea/images/mocking/feedback.svg

Automatic Request Validation

Validates requests and responses against your OpenAPI document. Simulates real server behavior by automatically validating incoming request headers, query strings, and request bodies against your OpenAPI document.

https://d33wubrfki0l68.cloudfront.net/890e9618f030b6fe50dcf840c15fcf094c467a53/405bb/images/development/validation.svg

Customizable

Need a specific example or a dynamically generated example? No problem! You can customize responses to what fits for your API when mocking with Stoplight.

https://d33wubrfki0l68.cloudfront.net/14f1dd3369d599ecd7e44993c340c67feb74bc17/021aa/images/mocking/dynamic.svg
Ready to mock your API?