Skip to content

REST and GraphQL API

The ONEKEY API consists of two parts: REST and GraphQL API.

REST API endpoints are mainly responsible for authentication, registration, file downloads and firmware uploads/downloads:

https://app.eu.onekey.com/api/docs

With the GraphQL API, you can perform any action that is available on the ONEKEY platform:

https://app.eu.onekey.com/api/graphql-docs/

Important

The GraphQL API is only accessible after authentication and tenant selection with the REST API.

An interactive GraphQL Playground is accessible on the platform by enabling GraphQL console access:

  1. Click on your profile in the top-right corner:
    Select profile
  2. Enable the GraphQL console access toggle.
  3. Click GQL next to the Upload firmware button.