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.

Token Auth

While the standard authorization method of API key is sufficient in most cases, there are cases when stronger authorization can be used. For example, when developing a desktop or mobile application, you can use a stronger method of authorization which makes it impossible to steal the credentials during transmission. This provides for much better security and prevents credentials misuse.

DO NOT 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). keep this token private – treat it the same way as a password

Your MapTiler token is on your MapTiler Cloud account page or Get Token for FREE.

Example:

Token cd43c591d8404400a11e2fre48afedc9_f80f4be2adf86dfb6bc489229669877d6cfcad293f48ffe6e77898f25ab65607

Don’t forget to set the Authorization header in the form of Token {YOUR_TOKEN}, so we know it’s you who are making the requests.