Cassandre GraphQL API allows you to query your data (balances, strategies, orders, trades and positions).


To deploy the GraphQL API on your bot, just add this spring boot starter to your pom.xml:


Access the API with GraphiQL

Start your bot and open a browser to http://localhost:8080/graphiqlopen in new window. GraphiQL is a query editor that comes out of the box with the DGS frameworkopen in new window we are using.

For example, you can enter this query to display all your strategies:

query {
    strategies{ strategyId name }

Secure your API

To secure your API with a key, add this property: in your

API Documentation

You can view the API documentation at this address.