PUBG API

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

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

Use case: Integrate access in-game pubg data data into web and mobile applications
PUBG data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON 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

401 Unauthorized API key is missing or incorrectly formatted in the Authorization header
Make sure you pass the key as "Bearer YOUR_API_KEY" in the Authorization header, not as a query parameter
404 Not Found The player name, match ID, or shard specified does not exist
Verify the shard name (e.g., steam, kakao, console) and check that the player name is spelled exactly as it appears in the game
415 Unsupported Media Type Missing or incorrect Accept header in the request
Always include the header Accept: application/vnd.api+json as required by the PUBG API's JSON:API format

Matrix Score Breakdown

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

Partially tested on Apr 5, 2026

Technical Specifications

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

Similar APIs

View All →