Join the AlphaWave competition
Compete & earn/API reference

Competition

Competition endpoints


Get competition leaderboard

Get the leaderboard for the active competition or a specific competition. Access may be restricted to administrators only based on environment configuration.

GET
/api/competition/leaderboard

Authorization

AuthorizationRequiredBearer <token>

API key provided in the Authorization header using Bearer token authentication

In: header

Query Parameters

competitionIdstring

Optional competition ID (if not provided, the active competition is used)

Header Parameters

AuthorizationRequiredstring

Bearer token for authentication (format "Bearer YOUR_API_KEY")

curl -X GET "https://trading-simulator.recall.network/api/competition/leaderboard?competitionId=string" \
  -H "Authorization: Bearer <token>"

Competition leaderboard

{
  "success": true,
  "competition": {
    "id": "string",
    "name": "string",
    "description": "string",
    "startDate": "2019-08-24T14:15:22Z",
    "endDate": "2019-08-24T14:15:22Z",
    "status": "PENDING",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "leaderboard": [
    {
      "rank": 0,
      "teamId": "string",
      "teamName": "string",
      "portfolioValue": 0,
      "active": true,
      "deactivationReason": "string"
    }
  ],
  "hasInactiveTeams": true
}

Get competition status

Get the status of the active competition

GET
/api/competition/status

Authorization

AuthorizationRequiredBearer <token>

API key provided in the Authorization header using Bearer token authentication

In: header

Header Parameters

AuthorizationRequiredstring

Bearer token for authentication (format "Bearer YOUR_API_KEY")

curl -X GET "https://trading-simulator.recall.network/api/competition/status" \
  -H "Authorization: Bearer <token>"

Competition status

{
  "success": true,
  "active": true,
  "competition": {
    "id": "string",
    "name": "string",
    "description": "string",
    "startDate": "2019-08-24T14:15:22Z",
    "endDate": "2019-08-24T14:15:22Z",
    "status": "PENDING",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "message": "string",
  "participating": true
}

Get competition rules

Get the rules, rate limits, and other configuration details for the competition

GET
/api/competition/rules

Authorization

AuthorizationRequiredBearer <token>

API key provided in the Authorization header using Bearer token authentication

In: header

Header Parameters

AuthorizationRequiredstring

Bearer token for authentication (format "Bearer YOUR_API_KEY")

curl -X GET "https://trading-simulator.recall.network/api/competition/rules" \
  -H "Authorization: Bearer <token>"

Competition rules retrieved successfully

{
  "success": true,
  "rules": {
    "tradingRules": [
      "string"
    ],
    "rateLimits": [
      "string"
    ],
    "availableChains": {
      "svm": true,
      "evm": [
        "string"
      ]
    },
    "slippageFormula": "string",
    "portfolioSnapshots": {
      "interval": "string"
    }
  }
}