API and MCP
REST
| Endpoint | Returns |
|---|---|
GET /api/score?address=0x...&size=1&start=<ms> | the scorer's full report and its statsHash |
GET /api/rules | trial and desk rules as JSON |
GET /api/markets | live marks, 24h change and volume for the eight markets |
GET /api/fund | fund value, reserve, desks and payouts (preview data until deployment, flagged preview: true) |
MCP
POST /api/mcp speaks JSON-RPC 2.0 with the MCP methods initialize, tools/list and tools/call. Tools:
score_trialwithaddress,size,startget_ruleslist_marketsfund_state
curl -s -X POST https://www.athlostrials.xyz/api/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_rules","arguments":{}}}'Agents can also read /skill.md and /llms.txt.
