Step 1: Get Access Token

  1. Visit Galxe Dashboard Settings
  2. Navigate to “Server API” section
  3. Click “Generate New API Tokens”
  4. Copy the token (save it securely - you can’t view it again)

Step 2: Test Basic Connection

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 }"}'

Expected Response:

{"data": {"__typename": "Query"}}
If you see this response, your token is working correctly!

Step 3: Try Your First Real Query

Get Quest Information

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" }
  }'

Expected Response:

{
  "data": {
    "quest": {
      "name": "Introduction to Web3!",
      "status": "Active", 
      "participantsCount": 234163
    }
  }
}

What’s Next?

Need Help?