Strawberry GraphQL
strawberry.rocks
- Free plan
- API
- Self-hosted
What Strawberry GraphQL is
Strawberry GraphQL is a free Python library for creating GraphQL APIs, with schemas defined using Python type hints. It supports async/await for non-blocking resolvers, and schema and field extensions let developers add custom logic. Generics support reusable types, while built-in dataloader support batches multiple queries. The library can also create federated GraphQL schemas. Its documentation lists integrations with Django, Channels, FastAPI, Flask, Quart, Sanic, Chalice, Starlette, Litestar and AIOHTTP, but notes that the integration table may be out of date. The getting-started guide uses pip and requires Python 3.10 or later. Strawberry is MIT licensed and intended for self-hosted deployment. Authentication is handled by the web framework; authorization uses Strawberry Permissions classes. The project is open source and maintained by a small developer team, with enterprise support available through Farbun. The listed plan is free.
Who it suits
It suits Python developers building GraphQL APIs who want type-hint-based schemas and options such as async resolvers, federation and data loading. Teams needing enterprise support can access it through Farbun.
Good to know, and what to watch
- Python type hints define GraphQL schemas.
- Built-in dataloader batches multiple queries.
- Supports async/await and federated schemas.
- Free plan; MIT licensed.
- Lists integrations with multiple Python frameworks.
- Requires Python 3.10 or later.
- Integration table is not up to date.
- Enterprise support is available through Farbun.
Plans
Every plan and priceStrawberry GraphQL
Free plan
The verdict
Strawberry GraphQL offers a free, self-hosted route to building GraphQL APIs in Python, with type hints, async support and built-in data loading. Check framework integration details against current documentation, since its integration table may be out of date.
What the maker publishes
- Async
- It supports async/await so resolvers can run in a non-blocking way. source
- Authentication and authorization
- The guide says authentication is handled by the web framework and authorization in Strawberry uses Permissions classes. source
- Data loading
- Built-in dataloader support batches multiple queries into one. source
- Extensibility
- Schema and field extensions let developers add custom logic. source
- Federation
- It supports creating a federated GraphQL schema. source
- Framework integrations
- The documentation lists integrations including Django, Channels, FastAPI, Flask, Quart, Sanic, Chalice, Starlette, Litestar, and AIOHTTP, while warning that its integration table is not up to date. source
- Generics
- It supports generics for reusable types. source
- Installation and runtime
- The getting-started guide installs Strawberry with pip and says it requires Python 3.10 or later. source
- License
- The repository states that Strawberry is licensed under the MIT license. source
- Security contact
- The repository asks users to report sensitive security bugs directly to [email protected] instead of using the issue tracker. source
- Support
- The project is open source and maintained by a small developer team; enterprise support is available through Farbun. source
- Type hints
- It uses Python type hints to define GraphQL schemas and provide a developer experience for creating GraphQL libraries. source
- What it does
- Strawberry is a developer-friendly GraphQL library for Python for creating GraphQL APIs. source
Checked against the maker's pages on 3 Oct 2026.