Skip to content
SupportDashboard

GraphQL API Overview

Get an instant, realtime GraphQL API over your PostgreSQL database — queries, mutations, and live subscriptions.

GraphQL API realtime subscriptions queries mutations database API

Nhost gives you a powerful GraphQL engine that generates realtime GraphQL APIs directly from your Postgres database — queries, mutations, and live subscriptions, with no resolvers to write.

Hero LightHero Light

Instant APIs on all your data.

query GetTodos {
todos {
title
completed
}
}

Define granular, role-based permissions at the level of rows and columns.

You can read more about Permissions.

The Nhost JavaScript SDK ships with a simple GraphQL client that you can use for simple operations. Nhost is agnostic regarding the client you choose and works well with many clients:

  • Apollo Client
  • URQL
  • React Query
  • SWR
  • etc