Authentication

The first thing we need to know to use the API is that all of the requests to the API have to be authorized using your API key or Token Auth.

API Key

An API key is a token that you provide when making API calls. Include the token in a query parameter called key.

Example: ?key=123

Use this type of authorization in environments where the source code of your application is visible to the potential attacker (such as client-side web applications).

Your MapTiler account API key is on your MapTiler Cloud account page or Get API key for FREE.

We recommend reading the article How to protect your map key to protect your account and data.