Skip to content
Esports · Platforms and ratings

What is API key

API key is a unique string of characters that a service uses to recognize an application, project, or user making requests. In gaming, such keys are used, for example, to retrieve statistics through external programs.

Also written as: API keys, API-key, API-keys

An API key is a string of characters that a program sends to a service when requesting its data or functions. The key helps identify the application, project, or user behind a request. It can also be used to check permissions and limit the number of requests.

Where the name comes from

API stands for Application Programming Interface: the rules and methods that programs use to interact. The word “key” describes a means of access or identification during that interaction.

In gaming, the term often appears in discussions of statistics, bots, and external services. “The service needs an API key” means that a program needs a special identifier to contact another system, rather than a regular account password.

Where players encounter it

API keys may be used by:

  • player statistics websites and apps;
  • bots displaying ratings or match results;
  • services working with in-game items;
  • tools for competition organizers.

For example, a developer configures a bot that displays game statistics on request. The bot contacts the platform using a key, retrieves permitted data, and posts a response in chat. The bot’s users do not necessarily need to create their own keys.

Depending on the service, keys are obtained through account settings or a developer section. Some services let users select which functions a key can access. One key may allow only reading data, while another also permits certain changes.

Why keys need protection

What someone can do with a stolen key depends on the platform and its permissions. A leak may lead to unwanted requests, consumption of a request allowance, or actions permitted by the key. A key alone does not necessarily provide full account access.

Do not publish keys in chats, screenshots, or public code. Before sharing one with a third-party service, check why it needs the key and what permissions it grants. If a key leaks, revoke it through the platform and create a replacement if needed.

A website promising profitable item trades while demanding a key deserves scrutiny, not automatic trust. Passwords are used to log into accounts; API keys are used for programmatic requests. Both need protection, even when a key only allows reading data.

Related terms

Related articles