Search our Knowledge Base
Search

Landing Page Social Metrics API



The Landing Page Metrics API method returns the following social signals information for a specific campaign landing page:
  • The last date that the data was updated (updates are provided weekly)
  • Facebook total count: the total number of likes, shares and comments for the page
  • Facebook like count: the number of likes the page has received
  • Facebook share count: the number of times the page has been like or shared
  • Facebook comment count: the number of comments the page has received
  • LinkedIn: the number of times the page has been shared on LinkedIn
  • Pinterest: the number of times the page images have been pinned
  • Stumpleupon: the number of times the page has been shared 

Refer to Rank Ranger API Overview page for information on how to obtain API access, obtain an API Key, error codes and a full list of API methods.

 

Parameters

 
key string The unique API key assigned to your account
url
string Enter the full URL including http:// or https://
output string Output format options:
  • &output=xml  (this is the default format)
  • &output=json
    Either of these parameters can be added to the json output parameter:
    • &output=json&json_strict=true 
      (forces the results to come back as array instead of objects) 
    • &output=json&json_arr=true 
      (causes the entire json to be wrapped as array)


Example

 

Base URL
https://www.rankranger.com/api/v2/?landing_page_metrics&key=YourAPIKey&url=https://example.com/this-page


Response

 
AخA
 
<tracking-data provider="rankranger" date="03/04/2019" time="10:13:07" status="ok">
    <last_update>2019-03-02</last_update>
    <facebook_total_count>4291</facebook_total_count>
    <facebook_like_count>0</facebook_like_count>
    <facebook_share_count>4291</facebook_share_count>
    <facebook_comment_count>0</facebook_comment_count>
    <linkedin>0</linkedin>
    <stumbleupon>0</stumbleupon>
    <pinterest>1859</pinterest>
</tracking-data>

How to Obtain API Access

More

How to Generate New API Keys

More

API Console: Construct & Test API Requests

More

API Query Limits

More

Developer API Methods

More

API Error Codes

More

Get the ultimate SEO tools with the Rank Ranger Software
Learn More About Rank Ranger