Use the Social Share Count API to get access to total sharing activity for a URL. Use it to display share counts on your social buttons or anywhere else in your application.
ShareThis captures share related activity for URLs across its vast network of over 4.0 million sites through the ShareThis buttons. This data primarily includes user shares and visits from their friends clicking on shared links within social networks. The API allows a client application to access this data for a specified URL.
Examples of usage include determining the popularity of a URL based on it’s social sharing metrics, displaying counters of share activity and social data processing/mining applications.
To enable Social Counts on your website, you need to install the ShareThis script which includes the share button span tags. If you want to implement your own buttons using the Web Share API, you can set the span tags to “display:none” in the css. Not adding the script and the tags will cause an error in computing your social counts.
Get URL Information
The share count API takes a single parameter: url.
This will return all shares for the sharethis.com URL.