Authentication

Ranklytics API uses API Key & Secret Key for authentication. You can create API keys at the account level from "API" link within your top right menu.

Remember that your API Key & Secret Key is a secret! Do not share it with others or expose it with any client-side code (Browsers, Apps). Production request must be routed through your own backend server where your API & Secret Key can be securely loaded from an environment variable.

All API requests should include the API Key & Secret key in the HTTP Header as follows:

X-API-KEY: your_api_key_here
X-SECRET-KEY: your_secret_key_here

Example curl command

curl -X GET https://api.ranklytics.ai/ \
  -H "X-API-KEY: your_api_key_here" \
  -H "X-SECRET-KEY: your_secret_key_here" \
  -H "Content-Type: application/json"

Last updated