🀝 Authenticate

πŸ” Basic Authentication

The API uses Basic authentication, all your requests must have the Authorization header set to Basic <credentials> where credentials is the Base64 encoding of your API key and API secret joined by a single colon :.

πŸ‘‰

Example

For instance, if your API key is hello and your API secret world, then you must compute the Base64 encoding for hello:world which is aGVsbG86d29ybGQ=.

Thus, all your requests must include the following header:

Authorization: Basic aGVsbG86d29ybGQ=

βš™οΈ Snippets to hash your key

Buffer.from('<API_KEY>:<SECRET>').toString('base64');
import base64

base64.b64encode('<API_KEY>:<SECRET>'.encode('ascii')).decode('ascii')
echo -n '<API_KEY>:<SECRET>' | base64 -w 0

Integrated examples available here: