Skip to content
SPECIFICTION
Get listed

Mockfly vs Pretender.js

Mockfly

mockfly.dev

Pretender.js

github.com

Side by side

FigureMockflyPretender.js
Price from€12.50/mo—
Free planYes—
Free trial——
Open source——
WebYesYes
LinuxYes—
APIYes—
Self-hostedYes—
Plans published70
Spec score · API Mocking Tools9.2 (#2)6.4 (#25)
PurposeMockfly creates hosted mock REST API endpoints so teams can build and test before a backend is ready.Pretender is a mock server library for XMLHttpRequest and Fetch with an Express/Sinatra-style routing syntax.
ResponsesEach endpoint can have multiple responses selected by conditional rules based on incoming requests.Route handlers can return a response array containing an HTTP status, headers, and body, or return a Promise.
What it doesMockfly provides hosted HTTPS mock API endpoints so teams can build and test before a real backend exists.Pretender is a mock server library for XMLHttpRequest and Fetch with an Express- or Sinatra-style syntax for defining routes and handlers.

Plans

Mockfly

  • StarterFree
  • StarterFree
  • Pro€15 a month
  • Team€49 a month
  • Pro annual€150 a year
  • Company€199 a month
  • CompanyPriced on request

Mockfly pricing →

Pretender.js

No plans published.

Pretender.js pricing →

In their own words

Mockfly

Mockfly provides hosted mock REST API endpoints for teams building or testing before a backend is ready. An endpoint can return JSON, XML, or files such as PDFs and CSVs, and can select among several responses using rules tied to incoming requests. Mock data can use Faker.js templates or AI-generated JSON. Projects can start from OpenAPI, Swagger, Postman collection, or HAR imports; a Chrome extension can capture browser requests and add selected endpoints. Teams can share and edit mocks, inspect request logs, and review response-body history. For offline work, the mockfly-cli npm package pulls projects to serve locally. A public REST API and MCP server support programmatic mock creation and editing. Mockfly lists API, extension, Linux, self-hosted, and web platforms, and supports REST and WebSocket. The free Starter plan allows 500 requests per day, one project, four endpoints, and two responses per endpoint. Pro costs €15 a month; Team costs €49 a month; Company is listed from €199 a month.

Visit mockfly.dev

Pretender.js

Pretender.js has no write-up on Specifiction yet; its figures are above.

Visit github.com