PUBG

PUBG

Games & Comics

Access in-game PUBG data

Visit API

πŸ“š Documentation & Examples

Everything you need to integrate with PUBG

πŸš€ Quick Start Examples

PUBG Javascript Examplejavascript
// PUBG API Example
const response = await fetch('https://developer.pubg.com/', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

The PUBG API offers developers seamless access to a wealth of in-game data from PLAYERUNKNOWN'S BATTLEGROUNDS, enabling integration of live gameplay statistics, player profiles, and match histories into various applications. By leveraging this robust API, developers can provide real-time insights, track player performance, and enhance user engagement through data-driven features. With comprehensive documentation available at developer.pubg.com, developers can easily navigate and utilize the API to build innovative gaming applications, tools, and services that resonate with PUBG's vast player community.

Using the PUBG API comes with numerous advantages, including:

  • Real-time access to player statistics and match history
  • Ability to track competitive performance and rankings
  • Integration capabilities for enhanced user experience across platforms
  • Access to event data, helping users stay informed about ongoing tournaments
  • Support for community engagement through detailed player insights and achievements

Here’s a simple JavaScript code example demonstrating how to call the PUBG API:

const fetch = require('node-fetch');

const API_KEY = 'YOUR_PUBG_API_KEY';
const PLAYER_NAME = 'sample_player_name';

async function getPlayerData() {
    const url = `https://api.pubg.com/shards/steam/players?filter[playerNames]=${PLAYER_NAME}`;

    try {
        const response = await fetch(url, {
            method: 'GET',
            headers: {
                'Accept': 'application/json',
                'Authorization': `Bearer ${API_KEY}`
            }
        });

        if (!response.ok) {
            throw new Error('Network response was not ok ' + response.statusText);
        }

        const data = await response.json();
        console.log(data);
    } catch (error) {
        console.error('There has been a problem with your fetch operation:', error);
    }
}

getPlayerData();
πŸ”’

Security Assessment

D
πŸ”’HTTPS
Enabled
SSL Grade: T
πŸ›‘οΈHeaders
75/100
HSTSXFO
πŸ•’Last Assessed
2 weeks ago
ℹ️Click for detailed analysis

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 12Jun 14Jun 16Jun 18Jun 20Jun 22Jun 24Jun 26Jun 28Jun 30Jul 2Jul 4Jul 6Jul 8Jul 1104008001440Minutes
Online
Offline

Related APIs in Games & Comics