Free and open first
Best API Mocking Tools in 2026
Building against an API before a live service is ready can call for tools that return controllable mock responses. Compare supported protocols and request matching, then consider dynamic responses, OpenAPI import, and mock data generation. Local deployment, free-plan availability, and paid-from pricing add practical setup and cost points. Microcks, Mockzilla, and MockServer are among the entries to compare; WireMock, Mockfly, and Knockout API are also shown. The listed criteria can help you weigh how each tool describes creating mocks and fitting them into your development workflow.
- 26 apps
- Research read 23 Sept 2026
- How the order is worked out
- 1
Mockzilla
Free plan Open source APILinuxMac+3Mockzilla offers both hosted mock APIs and an offline CLI, with request validation, fault simulation, and pull-request environments.
- 2
Beeceptor
Free plan APILinuxMac+3Beeceptor combines configurable mocks with proxying, traffic recording, and failure simulation across a wide range of API protocols.
- 3
Microcks
Free plan APIExtensionLinux+4Microcks combines API mocking, contract testing, and pipeline automation in an open-source tool.
- 4
Mockfly
Free plan APIExtensionLinux+2Mockfly combines hosted and local mock API workflows with imports, conditional responses, and team tools.
- 5
Imposter
Free plan LinuxMacSelf-hosted+1Choose Imposter if your development or QA workflow needs configurable API mocks, request validation, data capture, or endpoint proxying.
- 6
json-server
Free plan APISelf-hostedChoose json-server for a free local REST API built from JSON or JSON5 files, with routes and query features for testing and prototyping.
- 7
Mockoon
Free plan APILinuxMac+3Mockoon covers local mock creation as well as automated, serverless, and private deployment workflows.
- 8
MockServer
Free plan APILinuxMac+3MockServer covers mocking, proxying, verification, and chaos testing across a broad set of protocols and deployment options.
- 9
Knockout API
Free plan APIWebKnockout API combines a broad set of image tools with asynchronous video background removal and developer clients.
- 10
Mocki
Free plan APISelf-hostedWebMocki combines configurable API behavior, local execution, and managed hosting for development and testing.
- 11
Mockttp
Free plan LinuxMacSelf-hosted+2Mockttp offers HTTP mocking and proxy capabilities as a JavaScript library, with support for parallel testing.
- 12
MockAPI
Free plan APIWebMockAPI provides configurable REST resources and generated data for prototyping, testing and learning.
- 13
WireMock
Free plan APILinuxSelf-hosted+1WireMock offers request matching, response simulation, and replay for testing against simulated dependencies.
- 14
WireMock
Free plan APILinuxMac+3WireMock Cloud supports a broad set of protocols and workflows, with local and CI/CD simulation options. Check the Free plan's call cap and the Enterprise quote-based pricing against your needs.
- 15
moqapi.dev
Free plan APIWebmoqapi.dev brings specification imports, endpoint generation, testing tools, and authentication testing into one platform. The Free Mode plan includes three projects, while Team costs $29 a month.
- 16
Stoplight Prism
Free plan APISelf-hostedWebChoose Prism if you need a free, open-source server for mocking APIs, validating data, or checking a target API against its OpenAPI document.
- 17
Mirage JS
Free plan WebMirage JS offers a configurable way to simulate API behavior in browser-based development and testing. Its Node runtime boundary matters for teams that need to mock server-side requests.
- 18
Mock Service Worker
Free plan Self-hostedWebMSW offers reusable request mocking across browser and Node.js contexts, with support for several API protocols and clients.
- 19
MockWebServer
Free plan AndroidMockWebServer offers request capture and controllable responses for basic client tests.
- 20
OpenAPI Mock
Free plan LinuxSelf-hostedWindowsOpenAPI Mock offers flexible response generation and deployment options for OpenAPI 3.x.
- 21
Hoverfly
Free trial APILinuxMac+3Choose Hoverfly Cloud if your team needs hosted API simulation for development, functional testing, or performance testing, with traffic replay and configurable simulated behavior.
- 22
OpenAPI Server
Free plan APISelf-hostedOpenAPI Server covers local mocking, specification validation, and optional backend proxying. Its runtime requirement and lack of TypeScript mock support are important considerations.
- 23
Pretender.js
Free plan WebPretender.js provides flexible browser request mocking with route tracking and timing controls. Its browser-only scope makes it unsuitable for use outside the browser.
- 24
Parasoft Virtualize
Free plan LinuxMacWeb+1 - 25
API-Mocked
Paid Self-hostedAPI-Mocked provides a compact, self-hosted way to simulate APIs across common protocols.
#1Places #1, #2, #3, #4, #5 on this list can be bought by the makers of the software on it. See the price
More in Developer Tools
- API Monetization Software41
- API Monitoring Tools27
- API Security Software30
- API Security Testing Software27
- API Testing Tools34
- Application Dependency Mapping Software42
- Application Performance Monitoring37
- Application Security Orchestration Platforms23
- Artifact repository software64
- Bare Metal Provisioning Software28
- BDD Testing Tools30
- Browser Automation Tools63