The authentication parameters used in the API requests can be retrieved from the account settings through the following steps.
Go to Account Settings and then on to the Application tab.
Click on the Public API access tab.
If an API key does not exist or you want to generate a new key, click on the Generate random API key.