Skip to main content
Version: Current



At the moment, Squid SDK GraphQL server can only be used with squids that use Postgres as their target database.

GraphQL is an API query language, and a server-side runtime for executing queries using a custom type system. Head over to the official documentation website for more info.

A GraphQL API served by the GraphQL server has two components:

  1. Core API is defined by the schema file.
  2. Extensions added via custom resolvers.

In this section we cover the core GraphQL API, with short explanations on how to perform GraphQL queries, how to paginate and sort results. This functionality is supported via OpenReader, Subsquid's own implementation of OpenCRUD.