Fake APIs
to help debug and test

Simulate APIs you don't control to enable test scenarios you need.

Powerful Features

Unbelievably simple to use

  • Import Swagger 2.0/OAS 3.X

    Import an Open API specification file (yaml/json) and automatically generate an API mock with associated requests, responses, and data attributes

  • Export Swagger 2.0/OAS 3.X

    We infer an Open API contract from the API mock resources, requests, and responses you define in the associated API mock.

  • Configure Active Responses

    Explicitly toggle responses on/off or use our JavaScript API to activate responses based on request headers, query parameters, path parameters or body contents

  • Proxy Requests/Responses

    Wedge API mocks between clients and destination APIs you don't control to pass through real requests/responses by default while allowing you to script conditional fake responses you normally couldn't produce.

  • Simulate Delays/Disconnects

    Add a delay or disconnect to API mock responses to test API client behavior in either case

  • Log HTTP Requests

    Send requests to an API mock and evaluate HTTP request/response status codes, parameters,headers, and bodies

Use Cases

For Developers, Testers, and PMs

Design Your API First And Unblock Teams

Talking about how an API might work is never as informative as trying it first hand. Use Service Mocks as a tool for API clients and providers to agree on the design of an API rather than churning through your design in code. As soon as the design is finished consumers can work from an API fake to start.

Test Sad Path Scenarios

It's difficult to get the APIs you depend on to return errors. Use Service Mocks to create a Fake API and point your application or service to the mock for testing. You can work through your error and timeout tests by activating the appropriate mock responses as needed

Make Your Test Environment More Predictable

Setup API fakes and deploy them as Proxies between your clients and the services they call. Then use Service Mocks' powerful scripting feature to activate fake responses based on request data (e.g. email address) or default to passing along the requests and responses to or from the real services.

Publish Documentation For Your APIs

One of the biggest complaints in API development is the lack of documentation. Use Service Mocks to publish documentation in the Swagger or Redoc Open Source formats and share links with other teams in your organization or third party partners.

Debug HTTP Requests

You can quickly setup an API Fake endpoint with Service Mocks and view request logs that will show you everything you send in the request and return in a response including headers, path/query params, the req/res bodies and status codes.

Source Control And Continuous Integration

Already defining Swagger 2.0 or Open API 3.X contract definitions in your API development workflow? Easily automate the creation of mock definitions via the Service Mocks API or CLI in your Continuous Integration pipelines by source controlling and pushing them to Service Mocks automatically

Pricing

The right price for you, whoever you are

We want to find the balance of price and value for you and your team

Custom Plan

Flexible Pricing

All features included

  • 3 free API mocks to start

  • Up to 5 users as you explore

  • Flexible API mock count limit

  • Flexible user count limit

  • Flexible API mock daily request limit