Skip to content

Quick Search

Search DEVKEY BLOG

Go back

[PUBG] How to Create an API Key

For anyone who wants to build a PUBG match-analysis tool, this guide covers the steps from issuing an API key in the PUBG Developer Portal to checking that it works.

Published:

For anyone who wants to try building a PUBG match-analysis tool or analyze raw data themselves, this article explains how to create a PUBG API key.

Table of Contents

Open Table of Contents

Access the PUBG Developer Portal

  1. Go to the PUBG Developer Portal.
  2. Click “Login” at the top of the page, then create an account with your email address and password.

Create an application

  1. Click “Get your own API key” on the dashboard after logging in.

  2. A form for the required details will appear. Enter the following:

    • Application Name: the name of your tool or project
    • Application Description: a brief description of what you will use the API for
    • Application Website (optional): the URL of your website or GitHub repository
  3. Press the “Create Application” button to create the application.

Get the API key

Once you create the application, you can check the API key on a screen like the one below.

pubg-apikey

Test request

Check whether the API key works by calling a suitable API. If the response is 200 OK, it worked.

curl -g "https://api.pubg.com/shards/$platform/players?filter[playerNames]=$playerName" \
-H "Authorization: Bearer *** \
-H "Accept: application/vnd.api+json"

Reference: Official documentation

By the way, a freshly created API key has a rate limit of 10 requests per minute. During development, it is more comfortable to switch between multiple keys.

When you reach the stage of publishing your app, you can also request a higher limit. It is totally fine to first build something that works and quickly submit the request 🐜


Text-first cards so you can decide what to read next.


Previous Post
[PUBG] I Revived the Steins.GG Match Analysis System as a Limited Release
Next Post
[PUBG] Lessons from Building and Operating Steins.GG, a Match Analysis Web App with 80,000 Cumulative Users