API-Mocked
API-Mocked: A self-hosted, open-source mock server with dynamic responses and Socket.IO support. Ranked #22 of 26 in API Mocking Tools by our editors (6.8/10); pricing: Open source; best for self-hosted HTTP and WebSocket mocks.
At a glance
- Editor score6.8 / 10
- PricingOpen source
- Best forSelf-hosted HTTP and WebSocket mocks
- Paid fromFree
- Dynamic responsesYes
- Facts checked20 Sep 2026

Where it wins
- Supports HTTP, HTTPS, and WebSocket connections through Socket.IO
- Uses request data from headers, query paths, and JWTs in responses
- Provides delayed, multiple, and timer-based responses
Where it doesn't
- Request matching is limited to paths
- The workflow centers on HCL rather than OpenAPI import
- Deployment is self-hosted rather than managed
Our verdict on API-Mocked
API-Mocked is an open-source standalone server for developers who need local API mocks during development and API testing. Written in Go, it compiles to a single binary and serves configured HTTP and HTTPS endpoints, alongside WebSocket connections through Socket.IO. Its self-hosted model suits teams that want to run mocks in their own environment and define behavior directly in configuration.
The strongest feature is its control over response behavior. HCL configuration supports authentication with JWT and BasicAuth, CORS headers, delayed responses, multiple responses, and timer-based responses. Response values can come from request headers, query paths, and JWTs, allowing mocks to reflect request-specific data rather than returning only fixed payloads. This makes API-Mocked useful for testing authentication flows, asynchronous behavior, and changing response scenarios.
API-Mocked remains focused on a narrow, configuration-driven mocking workflow. Request matching is path-based, so teams needing detailed matching across query parameters, headers, or request bodies may need a different tool. The workflow also centers on HCL instead of OpenAPI import or generated mock data, and deployment is self-hosted rather than managed. Choose API-Mocked when a compact local server, open-source codebase, HTTP and HTTPS coverage, or Socket.IO support matters. Choose an alternative when a broader integration ecosystem, OpenAPI-centered workflow, or hosted service is the priority.
Your product? Our editors can test API-Mocked in depth and publish a review, labelled as paid · from $149/mo →
API-Mocked pricing
API-Mocked fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Dynamic responses | Yes |
| OpenAPI import | Not verified |
| Request matching | Path |
| Mock data generation | Not verified |
| Local deployment | Yes |
| Supported protocols | HTTP, HTTPS, WebSockets |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business (editorial estimate) |
| Pricing | Open source |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Alternatives to API-Mocked
- BeeceptorA broad API mocking platform with protocol coverage, contract testing, and hosted or self-hosted deployment.9.4
- MockServerA free, open-source choice for teams that need broad, self-hosted API control.9.1
- WireMockA flexible mocking platform spanning hosted, local, CI/CD, Kubernetes, and self-managed use.9.0
See all API-Mocked alternatives →
Used API-Mocked? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used API-Mocked for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
API-Mocked is listed in our API Mocking Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/api-mocked/"><img src="https://www.itechguides.com/best/badge/api-mocked.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


