
Specmatic Review
- MIT-licensed core CLI
- Free for OpenAPI, SOAP, MCP
- Enterprise tier for gRPC, GraphQL, Kafka
- Studio and Insights are paid
- Maintained by Specmatic
- Free MIT core
- Contract testing and virtualization
- Backward compatibility checking
- Spec coverage report
- Repository created in 2020
- Co-created by Hari Krishnan
- Specmatic, based in India
- Open core with an enterprise tier
Overview
Specmatic is a contract-driven development tool that treats API specifications as executable contracts. The same spec drives both provider contract testing and consumer-side service virtualization, so there is no separate generated contract file. It was created around 2020, co-created by Hari Krishnan, is written in Kotlin on the JVM, and runs as a standalone JAR, a Docker image, and through language-agnostic usage. The core CLI is MIT licensed.
Specmatic is genuinely a contract testing tool, in the spec-as-contract flavor rather than consumer-driven pacts. As a provider tester, it reads the spec, auto-generates request cases including boundary and negative cases, and validates responses against the schema with no test code. As a consumer aid, it runs the same spec as a guaranteed spec-compliant smart mock. It also checks backward compatibility between spec versions to catch breaking changes. It explicitly contrasts with Pact: the spec is the contract, so there are no hand-written consumer interactions and no broker.
Specmatic is for teams practicing contract-driven or API-first development who want the OpenAPI, AsyncAPI, gRPC, or GraphQL spec to be the single source of truth and executable contract. The MIT core covers OpenAPI, SOAP, and MCP, while gRPC, GraphQL, AsyncAPI, and Kafka sit in the paid Enterprise tier alongside Specmatic Studio and Insights. Buyers should note that test quality depends on spec quality, that the community is smaller than Pact, that the core is JVM-based, and that several protocols are Enterprise-only.
Key Featuresโ
Spec as Executable Contractโ
Specmatic uses one API spec as the contract for both sides, with no intermediate contract file. This is the core of contract-driven development.
No-Code Contract Testingโ
It reads the spec, auto-generates request cases, and validates the provider's responses against the schema with no test code. This turns the spec into provider tests.
Service Virtualizationโ
The same spec runs as a smart mock that is guaranteed spec-compliant, so consumers develop and test against it. This decouples consumers from the real provider.
Backward Compatibility Checkingโ
Specmatic compares spec versions to detect breaking changes before deploy. This shifts compatibility checks left.
Resilience Testingโ
Generative testing derives boundary and negative cases automatically from the spec. This exercises edge cases beyond the happy path.
Proxy Serverโ
A proxy server can record traffic and generate a spec from it. This bootstraps contracts from existing services.
Spec Coverage Reportโ
A coverage report shows how much of the spec is exercised by tests. This surfaces untested endpoints.
Many Protocolsโ
It supports OpenAPI, SOAP, and MCP in the core, plus gRPC, GraphQL, AsyncAPI, and Kafka in the enterprise tier. This reaches synchronous and asynchronous APIs.
Best Selling Pointsโ
- One spec serves as the executable contract for provider tests and consumer mocks.
- No hand-written consumer interactions and no broker, unlike Pact.
- Auto-generated contract tests with no test code.
- Spec-compliant service virtualization for consumers.
- Backward compatibility checking between spec versions.
- A free MIT core, with an enterprise tier for more protocols.
Supported Integrationsโ
Specmatic integrates with build tools, JUnit, Docker, and CI/CD, and is language-agnostic via the CLI.
Connect Specmatic across specs, JUnit, Docker, and CI/CD.
- OpenAPI
- SOAP
- gRPC (enterprise)
- JUnit
- Docker
- CI/CD
Spec Formats (Core)
- OpenAPI / REST
- WSDL / SOAP
- MCP
Spec Formats (Enterprise)
- gRPC / Protobuf
- GraphQL
- AsyncAPI / Kafka
- Avro
Build & Run
- JUnit 5 support
- Standalone JAR
- Docker image
- Maven Central
Distribution
- Git contract repo
- CI/CD pipelines
- Spring Boot
- Specmatic Insights
Adoptersโ
Specmatic is a growing contract-driven development tool with named enterprise users on its site.
- Commonwealth Bank
- British Airways
- Macquarie
- TM Forum
- API-first teams
- Microservices teams
- Spec-first organizations
- Event-driven teams (enterprise)
Adoption & Usage Statisticsโ
- 380+ GitHub stars
- ~39 contributors
- 2.46.4 current release as of June 2026
- 2020 repository created
- Conference presence across APIDays and GOTO
- A growing contract-driven development tool
Note: Specmatic is adopted within the API community rather than rated on commercial review sites, and metrics are from the GitHub repository and the vendor site.
Supported Platformsโ
Specmatic runs on the JVM as a JAR or Docker image, and is language-agnostic in use.
Specmatic runs on the JVM and is language-agnostic via the CLI.
- Kotlin / JVM
- Standalone JAR
- Docker
- OpenAPI
- SOAP
- Language-agnostic
- Runtime: Kotlin on the JVM, run as a standalone JAR or Docker image.
- Usage: language-agnostic against any service over the supported protocols.
- Core protocols: OpenAPI, SOAP, and MCP.
- Enterprise protocols: gRPC, GraphQL, AsyncAPI, Kafka, and Avro.
Reportingโ
Specmatic produces contract test results, compatibility reports, and a spec coverage report, with a commercial dashboard.
Specmatic produces test results, compatibility, and coverage reports.
Result Outputs
Contract test, compatibility, and coverage outputs, plus Insights.
- JUnit XMLContract test results
- Coverage ReportSpec coverage of endpoints
- CompatibilityBackward compatibility report
- InsightsOrg governance dashboard (paid)
- JUnit XML carries contract test results for CI.
- The coverage report shows how much of the spec is exercised.
- Compatibility reports flag breaking changes between spec versions.
- Specmatic Insights is a commercial governance dashboard across pipelines.
Ecosystem & Extensionsโ
Specmatic is an open-core tool with commercial products around governance and UI.
- The MIT core CLI provides contract testing and virtualization.
- Specmatic Studio is a visual, no-code commercial UI.
- Specmatic Insights aggregates results into an org governance dashboard.
- JUnit support and Docker images integrate it into builds and pipelines.
Releases and Maintenanceโ
- Current release: Specmatic 2.46.4, published in June 2026.
- Cadence: frequent releases, with active commits.
- Maintenance: actively maintained by the Specmatic company.
- Positioning: recent marketing leans toward an AI-ready API governance framing.
Pricingโ
Specmatic is open core, with a free MIT CLI and a per-seat enterprise tier.
| Plan | Price | Scope | Notes |
|---|---|---|---|
| Open Source | $0 | OpenAPI, SOAP, MCP | Contract testing, virtualization, coverage |
| Enterprise (first 250 seats) | $50/user/month | Adds protocols and products | gRPC, GraphQL, Kafka, Studio, Insights |
| Enterprise (volume) | Down to $10/user/month | Larger seat brackets | Unlimited runs at the top bracket |
- The MIT core is free and covers OpenAPI, SOAP, and MCP.
- The enterprise tier adds gRPC, GraphQL, AsyncAPI, Kafka, and Avro, plus Studio and Insights.
- Enterprise pricing is per seat, billed annually, with a 50-seat minimum.
- Per-seat rates step down by seat bracket, and published pricing can change.
Strengthsโ
- One spec serves as the executable contract for both sides.
- No hand-written consumer interactions and no broker.
- Auto-generated contract tests with no test code.
- Spec-compliant service virtualization for consumers.
- Backward compatibility checking between spec versions.
- A free MIT core with a clear enterprise upgrade path.
Limitationsโ
- Test quality depends on spec quality, so weak specs produce weak tests.
- The community is smaller than Pact, with a few hundred GitHub stars.
- The core is JVM-based, with other languages used through the CLI and Docker.
- The spec-as-contract model cannot start from consumer code first.
- gRPC, GraphQL, AsyncAPI, and Kafka are enterprise-only, not in the free core.
- Recent AI and governance rebranding can obscure the contract-testing core.
Best Fit Scenariosโ
- Teams practicing contract-driven or API-first development.
- Organizations that want the spec as the single source of truth.
- Microservices teams wanting provider tests and consumer mocks from one artifact.
- REST and SOAP teams, who are fully served by the free core.
- gRPC, GraphQL, and Kafka teams that can adopt the enterprise tier.
- Teams that want backward compatibility checks before deploy.