API Reference
Complete reference for all PrismGPT API endpoints.
Authentication
Most API endpoints require wallet address authentication. Include your wallet address in request bodies.
Wallet Endpoints
POST
/api/wallet/trackTrack and initialize a wallet session.
{
"wallet": "0x..."
}AI Endpoints
POST
/api/ai/queryQuery an AI agent with a prompt.
{
"agent": "general" | "developer" | "blockchain",
"prompt": "Your question here",
"wallet": "0x..."
}Rewards Endpoints
POST
/api/rewards/spinSpin for daily rewards (24hr cooldown).
{
"wallet": "0x..."
}GET
/api/rewards/spin?wallet=0x...Check reward status and cooldown.
Leaderboard Endpoints
GET
/api/leaderboard?limit=100Get leaderboard rankings.
Launchpad Endpoints
GET
/api/launchpad/projectsGet active launchpad projects (Coming Soon).
POST
/api/launchpad/applyApply for launchpad (Coming Soon).