> For the complete documentation index, see [llms.txt](https://docs.shyft.to/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shyft.to/solana-indexers/case-studies/drift.md).

# Drift

Drift Protocol is a decentralized exchange offering low slippage, fees, and price impact. It features a robust, efficient platform that incentivizes market makers and liquidity providers. When developing applications on Drift Protocol, you might need to fetch on-chain data. Drift's Solana SDK provides access to this information. However, <mark style="color:yellow;">SuperIndexers</mark> offer a faster and more efficient alternative to traditional RPC calls used by the SDK.

Going through our <mark style="color:yellow;">getting started</mark> section will help you understand few basics first.

{% content-ref url="/pages/u1PUzJS4QLAL6nLyVpe3" %}
[Getting Started](/solana-indexers/graphql-apis/getting-started.md)
{% endcontent-ref %}

TLDR:  In order to start querying protocols, follow these steps:

* Get an [<mark style="color:red;">API key</mark>](https://shyft.to/get-api-key) if you don't have one.
* Head to any GraphQL client of your choice, for example [<mark style="color:red;">Hasura</mark>](https://cloud.hasura.io/public/graphiql)<mark style="color:red;">.</mark>
* Enter the GraphQL endpoint for your preferred network
  * Mainnet: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={api-key}\\&network=mainnet-beta></mark>
  * Devnet: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={api-key}\\&network=devnet></mark>
* Start filtering, sorting and querying data.

The schema name for Drift v2 is <mark style="color:yellow;">drift\_{AccountName}</mark>.
