API authentication

In this guide, we will look at how to generate API keys and how to authenticate with the Rankbid API.

API keys

To authenticate with the Rankbid API, you need to generate an API key from your dashboard. To generate API keys, head over to Settings » Api keys.

The API key generated is only accessible upon its creation. If you lose it, please re-generate a new key. Make sure to store the API key securely and do not expose it in public repositories or client-side code.

Authenticating with the API

To authenticate with the Rankbid API, you need to include the API key in the Authorization header of your requests as a Bearer token.

GET
/v1/auctions
curl -G https://www.rankbid.io/api/v1/auctions \
  -H "Authorization: Bearer {api_key}" \
  -d "limit=10"

Was this page helpful?