Leaderboard API
Programatically Query Your Seasons Leaderboard
You can test-drive the API in our interactive graphql playground here.
You will need an API key to set in an authorization header. If you don’t have one yet, reach out to the Absinthe team here to get you one. Look at the points api docs to learn more.
Setting The Authorization Header
Before being able to introspect the schema through our interactive graphql playground or through a direct call, you will need to set the API key as an authorization header via this format:
{"Authorization": "Bearer <INSERT_KEY_HERE>"}
Endpoint URL
https://gql3.absinthe.network/v1/graphql
Yes! You can use the query_address_points
query instead, which will return the associated primary wallet
and its points.
Query Fields
The primary address you are trying to query.
The unique id of your campaign (can be found in the path of your frontend portal).
A unique id for that profile.
The number of points associated with the entire profile (all wallets + socials included).
This profile’s rank in the leaderboard.