EDITED for Clarification
WordPress.com as well as JetPack provides stats (like no of views, referrer, etc) for various posts and blog as described here :Wordpress Stats
Is there an API so that I can access the stats data and use it as per my needs ?
1 Answer
There is indeed a Stats API that will allow you to access stats from a WordPress.com or a Jetpack site.
You can read more about it here:
- http://stats.wordpress.com/csv.php
- http://phoxis.org/2011/04/24/wordpress-com-stats-api/
- http://wpgr.org/2013/03/02/rendering-jetpack-stats/
Jetpack uses this API to populate the Top Posts widget:
- http://plugins.trac.wordpress.org/browser/jetpack/tags/2.5/modules/widgets/top-posts.php#L223