MockAPI vs WireMock
MockAPI
mockapi.ioWireMock
wiremock.orgSide by side
| Figure | MockAPI | WireMock |
|---|---|---|
| Price from | $2.92/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Web | Yes | Yes |
| Linux | — | Yes |
| API | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 3 | 2 |
| Spec score · API Mocking Tools | 8.9 (#4) | 7.4 (#16) |
| Purpose | MockAPI provides hosted REST APIs for prototyping, testing and learning. | WireMock simulates APIs and software dependencies so teams can test without those dependencies, simulate edge cases, and develop dependent features in parallel. |
Plans
In their own words
MockAPI
MockAPI lets users create REST API endpoints, generate custom data, and operate on it through a RESTful interface. Each project receives a unique base URL shared by its endpoints. Users define resource schemas and field-level generators, including Faker.js functions such as lorem.sentences and datatype.boolean. Relations between resources can be configured, with endpoints generated automatically. Generated resources support GET, POST, PUT, PATCH, and DELETE operations. Listed query capabilities include pagination, sorting, filtering, data generation, and customizable responses, and OpenAPI import is supported. The service is described for prototyping, testing, and learning. Documentation covers projects, resources, data generation, code examples, filtering, pagination, and relations. The Free plan costs nothing for 1 project and 2 resources. Paid monthly access costs $5 a month, and paid annual access costs $35 a year; each paid plan allows 20 projects and 50 resources. Custom endpoints and webhooks are marked coming soon.
WireMock
WireMock simulates APIs and software dependencies so teams can test without live services, exercise edge cases, and build dependent features in parallel. It can match requests using URL patterns, headers, query parameters, cookies, and body content, then return templated responses or simulate delays, network faults, and malformed replies. It can also record interactions with real services and replay them during tests.
The project integrates with JUnit and other testing frameworks, with setup paths for Maven, Gradle, Scala SBT, standalone use, and Docker. Its documented capabilities cover HTTP-based protocols and REST, plus WebSockets, webhooks, HTTPS, gRPC, and GraphQL. WireMock Java is available as a standalone JAR, Docker image, experimental Helm chart, and NPM package; WireMock Cloud is another option. The Free plan costs nothing and includes 1,000 calls per month, one user, three mock APIs, and a 10 requests-per-second limit. Free and trial plans stop running mocks after their API quota is exceeded until the next quota cycle.