< Back to zoomrank.com

Retrieve a metric

URL

https://api.zoomrank.com/users/:user_id/social/urls/:social_url_id/metrics/:id.:format

Supported formats

xml, json

Supported request methods

GET

Example

Retrieve metric with ZoomRank ID 1 for Social URL with ZoomRank ID 1200.

https://api.zoomrank.com/users/1/social/urls/1200/metrics/20140402.json

Response Codes

200 - Success
404 - No records found

Example Response (JSON)

{
	id: 20140402,
	date: "2014-04-02",
	plus1s: 54,
	plus1s_change: null,
	tweets: 19,
	tweets_change: null,
	pins: 0,
	pins_change: null,
	fb_shares: null,
	fb_shares_change: null,
	fb_likes: 4,
	fb_likes_change: null,
	fb_comments: 1,
	fb_comments_change: null,
	fb_clicks: null,
	fb_clicks_change: null
}

Example Response (XML)

<metric id="20140402">
	<date>2014-04-02</date>
	<plus1s>54</plus1s>
	<plus1s_change/>
	<tweets>19</tweets>
	<tweets_change/>
	<pins>0</pins>
	<pins_change/>
	<fb_shares/>
	<fb_shares_change/>
	<fb_likes>4</fb_likes>
	<fb_likes_change/>
	<fb_comments>1</fb_comments>
	<fb_comments_change/>
	<fb_clicks/>
	<fb_clicks_change/>
</metric>