Sign Up For An Account

Forgot Passwod?


General (6)
Supplier (13)
Buyers (1)
FAQs (2)
Knowledgebase: Advertisers
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.





CBUSERID is the username of your ClickBetter account


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:


<affiliate_name>AFF NAME</affiliate_name>
<affiliate_name>AFF NAME</affiliate_name>
and so on.


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 (only technical questions please) or for general account help like getting API key, etc. send an email to