CPA Leaderboard API For Showing Affiliate Sales
Posted by John D on 16 July 2015 11:19 AM
Want to show CPA sales for affiliates in real time on your website as leaderboard for contests? With ClickBetter you can do that easily using our CPA leaderboard API.
APIKEY is the API key of your ClickBetter account which you can get from sell -> settings -> api key tab insider your account
So once you have the API URL for your account, it will return XML data for your account CPA sales in descending order of sales numbers:
where the tags are self explanatory. Once you get this data from your API URL, you can parse it using any of your favorite programming language and use it show leaderboard on your website.
TIP: Want to get data for only top 10 CPA sales affiliates? Simply add "limit=10" in the API URL as:
Have any questions related to this API? Send us an email at firstname.lastname@example.org (only technical questions please) or for general account help like getting API key, etc. send an email to email@example.com