{"authentication":"required","authentication_info":{"header":"X-API-Key","method":"API Key","status":"required"},"endpoints":{"/":{"authentication":"Not required","description":"API documentation","methods":["GET"]},"/events/tosses":{"authentication":"required","description":"Get list of coin toss events","methods":["GET"],"parameters":{"end_time":"Filter by end time in timestamp format (optional)","limit":"Number of results to return","offset":"Pagination offset","pond_type":"Filter by pond type (optional)","start_time":"Filter by start time in timestamp format (optional)","token_address":"Filter by token address (optional)","user_address":"Filter by user address (optional)"}},"/events/tosses/<address>":{"authentication":"required","description":"Get list of coin toss events for a specific user","methods":["GET"],"parameters":{"end_time":"Filter by end time in timestamp format (optional)","limit":"Number of results to return","offset":"Pagination offset","start_time":"Filter by start time in timestamp format (optional)","token_address":"Filter by token address (optional)"}},"/events/wins":{"authentication":"required","description":"Get list of winner events","methods":["GET"],"parameters":{"end_time":"Filter by end time in timestamp format (optional)","limit":"Number of results to return","offset":"Pagination offset","pond_type":"Filter by pond type (optional)","start_time":"Filter by start time in timestamp format (optional)","token_address":"Filter by token address (optional)","user_address":"Filter by user address (optional)"}},"/events/wins/<address>":{"authentication":"required","description":"Get list of winner events for a specific user","methods":["GET"],"parameters":{"end_time":"Filter by end time in timestamp format (optional)","limit":"Number of results to return","offset":"Pagination offset","start_time":"Filter by start time in timestamp format (optional)","token_address":"Filter by token address (optional)"}},"/health":{"authentication":"Not required","description":"API health check","methods":["GET"]},"/indexer/status":{"authentication":"required","description":"Get the current status of the blockchain indexer","methods":["GET"]},"/leaderboard":{"authentication":"required","description":"Get the global leaderboard with sorting options","methods":["GET"],"parameters":{"limit":"Number of results to return","offset":"Pagination offset","order":"Sort order (asc, desc)","sort_by":"Field to sort by (total_points, toss_points, winner_points, referral_points)"}},"/referral/apply":{"authentication":"required","body":{"address":"User address","referral_code":"Referral code to apply"},"description":"Apply a referral code to a user account","methods":["POST"]},"/referral/code/<address>":{"authentication":"required","description":"Get or create a referral code for a user","methods":["GET"]},"/user/<address>":{"authentication":"required","description":"Get detailed data for a specific user","methods":["GET"]}},"name":"Lucky Ponds API","version":"2.0.0"}
