Schemathesis
Generate API tests from schemas to find edge cases and inconsistent responses.
Testing & QA · Documentation reviewed 2026-11-10. Not independently tested.
When it helps
Teams testing documented API behavior with generated inputs instead of relying only on hand-written examples.
What to consider
MIT. Coverage depends on the schema and test configuration. Generated requests can create or delete application data, and findings still need investigation.
Getting started
Install the documented Python CLI, provide a supported API schema, and begin against a disposable or resettable development service.
Access & costs
- Runs
- Local / Self-hosted
- External account
- Not required
- API key
- Not required
- Costs
- Your hardware / hosting
Local test generation needs no model account or API key. An authenticated target API may need test credentials and can charge for requests.
- Supported Python environment
- Supported API schema
- Authorized test endpoint and test data
Repository evidence
Stars: 3,801 · License: MIT
Last code push: 2026-11-22
Statistics retrieved: 2026-11-23T00:42:59+00:00
Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.
Adding model calls?
Plan the tokens, retries, and fallback costs before connecting your tools.