FREEDOM251

Freedom251 › API Mocking Tools

API-Mocked

Paid Self-hosted

Visit API-Mocked Alternatives

API-Mocked's own site

What API-Mocked is

API-Mocked is a free, open-source standalone server for mocking APIs and serving known content, usually static. It is self-hosted and handles HTTP, HTTPS, and WebSocket traffic, with requests matched by path. Configuration uses HCL, and the project provides a single binary that can run directly or with a configuration file. Multiple servers can run at once, including HTTP/2-only servers. Authentication options include JWT and BasicAuth, while CORS headers can be used for cross-origin requests. Responses may be delayed, repeated, or sent on a timer, and values can be taken from request headers, query paths, and JWTs. WebSocket connections are handled through Socket.IO, including broadcast behavior. The README says the server sends an HPKP header. API-Mocked supports dynamic responses and local deployment, and is licensed under the MIT License. Its scope is a configurable mock server rather than an API catalog or lifecycle system.

Who it suits

API-Mocked suits developers who need to run their own configurable mock server. It is useful when tests or clients require HTTP, HTTPS, or WebSocket responses with controlled timing and request-based values.

What it does well

  • Free and MIT licensed
  • Single-binary deployment
  • HTTP, HTTPS, and WebSockets
  • JWT and BasicAuth support
  • Dynamic request-based responses

What to know first

  • Self-hosted deployment required
  • Configuration uses HCL
  • WebSockets use Socket.IO
  • Focused on mocking rather than API management

Verdict

API-Mocked provides a compact, self-hosted way to simulate APIs across common protocols. Its response timing, authentication, and dynamic-value controls support varied mock scenarios without a hosted service.

Facts from API-Mocked's own pages

Authentication
It supports JWT and BasicAuth authentication. · github.com, 7 Oct 2026
Configuration
It uses HCL configuration files, and the project says it compiles to a single binary. · github.com, 7 Oct 2026
CORS
It can use CORS headers. · github.com, 7 Oct 2026
Dynamic values
Responses can use values from headers, query paths, and JWTs. · github.com, 4 Oct 2026
License
The repository identifies the project as MIT licensed. · github.com, 7 Oct 2026
Protocols
It can mock HTTP, HTTPS and WebSockets. · github.com, 7 Oct 2026
Purpose
API-Mocked is a stand-alone server for mocking APIs and serving known, usually static, content. · github.com, 7 Oct 2026
Request data
Responses can use values from headers, query paths and JWTs. · github.com, 7 Oct 2026
Response behavior
It supports delayed responses, multiple responses, and responses sent on a timer. · github.com, 4 Oct 2026
Responses
It can return multiple responses, delay responses, and send multiple responses on a timer. · github.com, 7 Oct 2026
Security details
The README lists JWT and BasicAuth support and says the server sends back an HPKP header. · github.com, 4 Oct 2026
Server options
It can start multiple servers at once and supports HTTP/2-only servers. · github.com, 7 Oct 2026
Single binary
The project says it compiles to a single binary that can be started directly or with a config file. · github.com, 4 Oct 2026
WebSocket integration
WebSocket connections are supported via Socket.IO. · github.com, 7 Oct 2026
WebSockets
The README shows WebSocket connections handled via Socket.IO, including a broadcast example. · github.com, 4 Oct 2026

Where API-Mocked stands on Freedom251

Look at these too