For partners, follow this link for your partner API key.
For affiliates, click the "API Access" link in your affiliate menu.
Your partner or affiliate API keys should be sent in the api_key and api_secret fields in API calls.
Contact us to set up an account to access the API via OAuth 2.0.