Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

API-Mocked

Free#22 of 26 in API Mocking Tools

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.

6.8/10Editor score
API-Mocked6.8 Visit API-Mocked

At a glance

  • Editor score
    6.8 / 10
  • Pricing
    Open source
  • Best for
    Self-hosted HTTP and WebSocket mocks
  • Paid from
    Free
  • Dynamic responses
    Yes
  • Facts checked
    20 Sep 2026
API-Mocked screenshot
  • 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

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on github.com

API-Mocked fact sheet

Free planNot verified
Paid fromFree
Dynamic responsesYes
OpenAPI importNot verified
Request matchingPath
Mock data generationNot verified
Local deploymentYes
Supported protocolsHTTP, HTTPS, WebSockets
DeploymentSelf-hosted
SupportDocs
Built forSolo, Small business (editorial estimate)
PricingOpen source
Websitegithub.com
Facts checked20 Sep 2026

Alternatives to API-Mocked

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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — API-Mocked 6.8/10

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