Cross Marketplace Queries

Query Tensor, Sniper, and MagicEden in a single call using GraphQL.

Going through our getting started section will help you understand few basics first.

pageGetting Started

Cross program queries are only possible with Shyft. It is the easiest way to query multiple protocols in a single call.

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

  • Get an API key if you don't have one.

  • Head to any GraphQL client of your choice, for example Hasura.

  • Enter the GraphQL endpoint for your preferred network

    • Mainnet: https://programs.shyft.to/v0/graphql/?api_key={api-key}&network=mainnet-beta

    • Devnet: https://programs.shyft.to/v0/graphql/?api_key={api-key}&network=devnet

  • Start filtering, sorting and querying data.

Last updated