{"name":"HivePredict Public API","readOnly":true,"methods":["GET","HEAD","OPTIONS"],"endpoints":[{"method":"GET","path":"/api/health","description":"Service health"},{"method":"GET","path":"/api/markets","description":"List markets","query":["status","category","token","marketGroup","sort","page","limit"]},{"method":"GET","path":"/api/markets/featured","description":"Featured markets"},{"method":"GET","path":"/api/markets/new","description":"Newest open markets","query":["category","token","marketGroup","page","limit"]},{"method":"GET","path":"/api/markets/open","description":"Open markets feed","query":["category","token","marketGroup","sort","page","limit"]},{"method":"GET","path":"/api/markets/trending","description":"Trending open markets by volume","query":["category","token","marketGroup","page","limit"]},{"method":"GET","path":"/api/markets/ending-soon","description":"Open markets closing soonest","query":["category","token","marketGroup","page","limit"]},{"method":"GET","path":"/api/markets/resolved","description":"Recently resolved markets","query":["category","token","marketGroup","page","limit"]},{"method":"GET","path":"/api/markets/closed","description":"Finalized markets (resolved, voided, cancelled)","query":["category","token","marketGroup","page","limit"]},{"method":"GET","path":"/api/markets/:id","description":"Market detail"},{"method":"GET","path":"/api/markets/:id/predictions","description":"Predictions in a market","query":["page","limit"]},{"method":"GET","path":"/api/markets/:id/payouts","description":"Payouts for a market","query":["page","limit"]},{"method":"GET","path":"/api/markets/:id/snapshots","description":"Market probability snapshots","query":["range"]},{"method":"GET","path":"/api/markets/:id/comments","description":"Market comments","query":["page","limit"]},{"method":"GET","path":"/api/markets/:id/proofs","description":"Manual market proofs","query":["page","limit","username"]},{"method":"GET","path":"/api/markets/:id/stake/:username","description":"User stake totals in one market"},{"method":"GET","path":"/api/activity","description":"Platform activity feed","query":["types","marketId","account","mine","page","limit"]},{"method":"GET","path":"/api/users/:username","description":"User profile and stats"},{"method":"GET","path":"/api/users/:username/eligibility","description":"Eligibility check","query":["action"]},{"method":"GET","path":"/api/users/:username/safety","description":"User safety controls and history"},{"method":"GET","path":"/api/users/:username/predictions","description":"User prediction history","query":["page","limit"]},{"method":"GET","path":"/api/users/:username/achievements","description":"Prediction streaks and milestone badges"},{"method":"GET","path":"/api/users/:username/markets","description":"Markets created by a user","query":["page","limit"]},{"method":"GET","path":"/api/users/:username/positions","description":"Open positions and created markets needing attention"},{"method":"GET","path":"/api/users/:username/follow","description":"Follower count and follow status","query":["viewer"]},{"method":"GET","path":"/api/stats","description":"Platform-wide stats"},{"method":"GET","path":"/api/leaderboard","description":"Ranked user boards (accuracy, profit, volume, creators)","query":["board","period","limit"]},{"method":"GET","path":"/api/tokens","description":"Supported betting tokens"},{"method":"GET","path":"/api/tokens/balance/:username/:symbol","description":"Token balance lookup (best-effort preflight)"},{"method":"GET","path":"/api/categories","description":"Market categories"},{"method":"GET","path":"/api/sports/:league/events","description":"Upcoming sports events"},{"method":"GET","path":"/api/transparency","description":"Platform financials: volume, fees, payouts, recent on-chain transfers"}],"notes":["Read-only integration endpoints."]}