Get your first API call working in under 3 minutes
curl -X POST https://graphigo-business.prd.galaxy.eco/query \ -H "Content-Type: application/json" \ -H "access-token: YOUR_ACCESS_TOKEN" \ -d '{"query": "query { __typename }"}'
{"data": {"__typename": "Query"}}
curl -X POST https://graphigo-business.prd.galaxy.eco/query \ -H "Content-Type: application/json" \ -H "access-token: YOUR_ACCESS_TOKEN" \ -d '{ "query": "query GetQuest($id: ID!) { quest(id: $id) { name status participantsCount } }", "variables": { "id": "GChdWUjXX3" } }'
{ "data": { "quest": { "name": "Introduction to Web3!", "status": "Active", "participantsCount": 234163 } } }
Was this page helpful?