Instant realtime GraphQL APIs on all your data, with fine-grained access control
open coreApache-2.0self-hostablefree
Hasura generates a GraphQL API over your databases and services, with filtering, pagination, sorting, aggregations and field- and row-level authorization, without writing resolvers. The open source Hasura GraphQL Engine, which started on Postgres, adds realtime subscriptions and triggers webhooks on database events, and can be self-hosted with Docker; Hasura DDN (Data Delivery Network) is the hosted supergraph platform built on its v3 engine, with connectors for PostgreSQL, MySQL, SQL Server, MongoDB, Elasticsearch, Snowflake, ClickHouse and more, a Relay API, nested filtering and aggregations, API versioning, breaking-change detection in CI/CD and a schema registry. DDN is priced per active model, with a free plan for one developer. Hasura, Inc. now also makes PromptQL.
Problems it solves
- get a GraphQL API on my Postgres database without writing resolvers
- expose our database through an API with row-level and field-level permissions per role
- push live updates to the frontend when rows in Postgres change
- call a webhook whenever a row is inserted or updated in my database
- combine several databases and services into one federated GraphQL API for many teams
- catch breaking changes to our GraphQL schema in CI before they ship
- self-host an open source GraphQL engine in Docker next to our database
- our API platform needs SOC 2 Type 2, a BAA and private networking
Features
- GraphQL API with filtering, pagination, sorting and aggregations generated from your data
- field- and entity-level authorization
- realtime subscriptions
- event triggers that call webhooks on database changes
- connectors for PostgreSQL, MySQL, SQL Server, MongoDB, Elasticsearch, Snowflake and ClickHouse
- code and API connectors, and building your own connector
- Relay API, nested filtering, aggregations, pagination and sorting
- API versioning and breaking change detection
- schema registry and changelog; federated multi-repo CI/CD on Advanced
- query plan and trace viewer
View 2 more
- global edge network with autoscaling and zero cold start (DDN)
- dedicated VPC, PrivateLink and choice of cloud regions (private deployments)
Ways to run it
Hasura DDN
Free; Base from $5/active model/month; Advanced from $30/active model/month1
Hasura GraphQL Engine
You arrange
- a database such as PostgreSQL
- a server or container platform to run it, such as Docker
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has single sign-on | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Hasura does.
- PostgREST A RESTful API served straight from your PostgreSQL database
