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.

Getting 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:{api-key}&network=mainnet-beta

    • Devnet:{api-key}&network=devnet

  • Start filtering, sorting and querying data.

Last updated