BBC Consumer Contracts vs Specmatic
BBC Consumer Contracts
github.comSpecmatic
specmatic.ioSide by side
| Figure | BBC Consumer Contracts | Specmatic |
|---|---|---|
| Price from | Free | $1.67/mo |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 8 |
| Spec score · Contract Testing Tools | 8.1 (#8) | 7.8 (#13) |
| Purpose | Consumer Contracts lets API consumers define executable JavaScript contracts describing the responses they expect from services. | Specmatic transforms API specifications into executable contracts for designing, building, and governing APIs. |
Plans
Specmatic
- Open Source (Free)Free
- Enterprise Tier — Next 1,000 Seats$20 a year
- Enterprise Tier — Next 500 Seats$30 a year
- Enterprise Tier — 251–500 Seats$40 a year
- Enterprise Tier — Next 250 Seats$40 a year
- Enterprise Tier — First 250 Seats$50 a year
- Enterprise Tier — 2,000+ Seats$120 a year
- Enterprise Tier — More than 2,000 Seats$120 a year
In their own words
BBC Consumer Contracts
BBC Consumer Contracts is a free JavaScript package for executable consumer-driven API contracts. It describes the requests a consumer makes and the responses expected in return. Every contract requires consumer, name, request, and response properties. The package uses the request HTTP client and Joi schemas to check response status codes, headers, and JSON bodies. Optional before and after functions support setup and cleanup, using callbacks or asynchronous functions. Retry behavior accepts numeric or custom settings; the documented default maximum is zero. The consumer-contracts run command validates contracts recursively in a contracts directory or runs one named file. Programmatic callers can pass an array to validateContracts, which runs every contract instead of stopping at the first failure. Installation instructions cover global CLI use and local pnpm development dependencies. It requires Node.js 18 or later and pnpm 10 or later, and supports API and self-hosted use under Apache License 2.0.
Specmatic
Specmatic turns API specifications into executable contracts for designing, building, and governing APIs. Its suite includes Genie, which generates API specifications from plain English; Studio for visual API workflows and contract testing; and Insights for API governance and analytics. Listed formats include OpenAPI, AsyncAPI, Avro, GraphQL SDL, Protobuf, WSDL, and Arazzo. Protocols include HTTP/REST, Kafka, gRPC, GraphQL, Google Pub/Sub, JMS, MQTT, RabbitMQ, SOAP, WebSocket, and MCP. The free Open Source plan includes contract and API resilience testing, service virtualization, backward compatibility testing, a proxy server, and a specification coverage report. Enterprise adds Studio and Insights, available as SaaS or on-premise, alongside additional protocol and workflow capabilities. The software supports Linux, macOS, Windows, and self-hosted environments, with installation options including shell and PowerShell scripts, npm, and pip. A free plan is available; the pricing note lists paid access from $10/user/mo (annual).