API and TOKEN

Omar_CourtzAugust 17, 2026other

THE API AND THE TOKEN

Hello to all War Era players! This article came about after consulting the game's documentation, and I decided to explain what the token and/or the API are, which can be found in your profile settings. I won't explain what you can do with the API (maybe later), and I don't know if anyone has already done so, but anyway:

What is the War Era API token?

It's simple: the War Era API can be a very useful tool for players who want to access game information, analyze the market, study companies, or create their own tools.

But... before using it, it's crucial to understand something:

YOUR API TOKEN IS PRIVATE AND YOU SHOULD NOT SHARE IT WITH ANYONE.

What is an API?

An API is, basically, a way to allow a program to communicate with War Era.

This means that instead of manually logging into the game to access specific information, an application can make a request to the API and receive the corresponding data.

For example:

Application → War Era API → Information → Application

This allows you to create tools that automatically analyze game data.

And what is the token?

The API token is a credential that identifies and authorizes requests made on behalf of your account.

You can think of it as a digital key.

An application doesn't need to "know your password" to use the API; depending on the API's permissions and functionality, it uses the token to prove it has authorization.

Therefore, you should treat it as confidential information.

IMPORTANT NOTE

Never publish your token:

❌ On Discord.

❌ In screenshots.

❌ On GitHub (for those who don't know, GitHub is basically a platform for managing and storing software project code, among other things).

❌ In public chats.

❌ In code you intend to share.

❌ To anyone who asks you to.

If you posted it by accident, well, you're out of luck, because there are a million ways to make a mistake, and you know them all.

Just kidding, the best thing to do is revoke or regenerate it, and that's it.