The Partner API uses API key to authenticate requests, and accepts it via Bearer authentication.
Where do I find my API keys?
You can find your API keys by logging in to your Partner dashboard and navigating Settings -> API
. Click the Reveal
button to expose the API key.

Using the API keys
The api key is to be used as the Authorization header as Bearer token, for example:
curl -H 'Accept: application/json' -H "Authorization: Bearer YOUR_API_KEY" \
https://api.partnerstack.com/api/v2/partnerships
import requests
r = requests.get(
'https://api.partnerstack.com/api/v2/partnerships',
headers={"Authorization": "Bearer YOUR_API_KEY"}
)