---
description: Easiest and the fastest way to query Kamino Protocol.
---

# Kamino

<mark style="color:yellow;">Kamino</mark> is a decentralised lending and borrowing protocol where users can earn interest by lending their crypto assets or borrow assets by collateralising their holdings. You can use Kamino SDK as well to query on-chain data. But since it internally uses getProgramAccounts, its almost 10x slower than using Shyft's SuperIndexers.

Kamino also provides the option to invest in <mark style="color:yellow;">liquidity vaults</mark>. The vaults deposit your liquidity into CLMM DEXs and help you earn fee on trades. They do this by investing liquidity into investing strategies.

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

{% content-ref url="../graphql-apis/getting-started" %}
[getting-started](../graphql-apis/getting-started)
{% 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.
