Skip to content

GraphQL

Directly query the Whisk server

All data in Whisk is served via a GraphQL API. Whisk SDK's components and hooks abstract this away (but use it under the hood). If you need direct data access or want to use Whisk outside of React, you can use the GraphQL API directly.

API: https://api.whisk.so/graphql

Playground

The Whisk GraphQL playground is a great way to explore the API and test queries. To use the playground:

Get your test API key

Book a quick call to discuss your use case, and get access to see if Whisk is the right fit.

Add authorization header

In the Headers section of the playground, add the following:

Headers
{
  "Authorization": "Bearer <YOUR_API_KEY>"
}

Query the API

Try running a query like this:

Example Query
{
  identity(address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045") {
    aggregate {
      name
      avatar
      bio
    }
  }
}

Example of what your playground should look like: GraphQL Example