Wargaming.net API

Games & Comics / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Wargaming.net's official API gives access to player statistics, vehicle data, and clan information for World of Tanks, World of Warships, and other Wargaming titles. You need to register a free application on the Wargaming Developer Portal to get an API key. It is a feature-rich API suitable for building stat trackers and leaderboards.

💡

Beginner Tip

Register your application at developers.wargaming.net to get your application_id. All requests require this key as a query parameter, and the realm parameter selects the server region (eu, na, asia, ru).

Available Data

Use case: Integrate wargaming.net info and stats data into web and mobile applications
Wargaming.net data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "id": 1,
  "name": "Wargaming.net",
  "data": "Wargaming.net info and stats",
  "source": "Wargaming.net"
}

Field Reference

status Response status; "ok" means the request succeeded, "error" means something went wrong.
data Container object keyed by account_id with player statistics and profile data.
data[id].account_id Unique numeric identifier for the Wargaming player account.
data[id].nickname In-game username of the player.
data[id].statistics.all.battles Total number of battles played across all vehicles.
data[id].statistics.all.wins Total number of battles won, used to calculate win rate.

Implementation Example

const url = "https://developers.wargaming.net/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

error.code 407 INVALID_APPLICATION_ID The application_id parameter is missing or incorrect.
Register at developers.wargaming.net to obtain a valid application_id and include it in every request.
Empty data object The search term returned no matching players.
Ensure the player username is spelled correctly and belongs to the correct regional server (eu/na/asia).
error.code 407 REQUEST_LIMIT_EXCEEDED Your application has exceeded the daily request quota.
Cache responses where possible and apply to increase your quota limit through the developer portal.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 9/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS NO
Category Games & Comics
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →