Overview
The PUBG API provides access to in-game data for PlayerUnknown's Battlegrounds, including player stats, match history, telemetry, and leaderboards. You need a free API key from the official developer portal to make requests. It is great for building stat trackers or performance dashboards for PUBG players.
Beginner Tip
Each request must include your API key in the Authorization header as "Bearer YOUR_API_KEY". Start with the players endpoint to look up a player by name and get their account ID before fetching match details.
Available Data
Example Response
{
"id": 1,
"name": "PUBG",
"data": "Access in-game PUBG data",
"source": "PUBG"
} Field Reference
data[].id Unique account ID for the player used in subsequent API requests data[].attributes.name In-game display name of the player data[].attributes.shardId Platform shard the player belongs to (e.g., steam or console) data[].relationships.matches References to the player's recent matches for further lookup data[].attributes.stats Aggregated lifetime statistics for the player including kills and wins Implementation Example
const url = "https://developer.pubg.com/";
// 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
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Brawl Stars
The Brawl Stars API provides official game data including player profiles, club info, battle logs, and brawler statistics.
Clash of Clans
The Clash of Clans API provides official data on players, clans, clan wars, leagues, and rankings from Supercell's hit mobile strategy game.
Clash Royale
The Clash Royale API offers official data on players, clans, cards, battles, and tournaments from Supercell's card-battle mobile game.
Destiny The Game
The Destiny The Game API (Bungie Platform API) gives developers access to data from the popular Destiny franchise, including player stats, character info, and game content.
Dota 2
The Dota 2 API (OpenDota) provides detailed match history, hero statistics, player rankings, and game data for the popular MOBA game Dota 2.