Skip to main content

🧩 Nexra API Reference

Nexra provides a REST API that allows game developers to create, manage, and publish tournaments, while automating entry fees, prize pools, and payouts. All API requests require authentication using your Game API Key, which you obtain from the Nexra Dashboard.

🔑 Authentication

Include your Game API Key in the Authorization header:
Authorization: ApiKey <your_game_api_key>
Content-Type: application/json
Keep your API Key secure. Do not expose it in client-side code.

⚡ Base URL

Use the following base URL for all API requests:
https://api.nexra.xyz/

🏷️ Common Response Structure

Most endpoints return JSON in the following structure:
{
"message": "Descriptive success or error message",
"data": { ... }
}
  • message – Human-readable confirmation or error description.
  • data – Object containing endpoint-specific response details.

📁 Core Resources

The Nexra API is structured around these main resources:
  • Tournaments – Create, update, publish, and manage tournaments.
  • Gamers – Add players to tournaments and track performance.
  • Rewards – Automatically handle prize pools, payouts, and tips.
Detailed endpoint examples and parameters are listed in their dedicated pages.

📝 Next Steps