API Documentation
API Base URL
https://api.aipaul.club/v1Authentication
Authorization: Bearer YOUR_API_KEYAvailable Endpoints
Error Codes
Code
Meaning
Description
Last updated
https://api.aipaul.club/v1Authorization: Bearer YOUR_API_KEYLast updated
GET https://api.aipaul.club/v1/events/live[
{
"eventId": "123456",
"eventName": "Team A vs Team B",
"startTime": "2025-05-01T20:00:00Z",
"status": "open"
},
...
]POST https://api.aipaul.club/v1/predictions/submit
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY{
"eventId": "123456",
"predictedOutcome": 0, // 0: Home Win, 1: Away Win, 2: Draw
"stakeAmount": 50
}{
"success": true,
"transactionHash": "0xabc123...789"
}GET https://api.aipaul.club/v1/predictions/results/123456{
"eventId": "123456",
"outcome": 0,
"settled": true,
"rewardClaimable": true
}GET https://api.aipaul.club/v1/staking/user/0xYourWalletAddress{
"walletAddress": "0xYourWalletAddress",
"stakedAmount": 1500,
"rewardsPending": 250
}