Search our Knowledge Base

Rank Top 50 API

The rank_top50 method returns the top 50 landing pages ranking for a campaign keyword and search engine on a specific date. Results include rank, landing page URL, notation if special SERP features exist (e.g., search box, HTTPS, rating, etc.), and SERP Meta Title.  

Rank Top 50
is one of our SEO Intelligence Search API methods that allows you to view the top 50 SERP results tracked in a campaign. Data is available for Google, Google Maps, Google Mobile, Yahoo!, Bing, Yandex & Baidu. 

Contact us with the number of keywords and search engines you'd like this data for, along with the frequency (e.g., daily, weekly or monthly), and we'll provide you with information regarding a custom SERP API package and pricing. 


API Options & Restrictions


You can add a special Google SERP Features API add-on package to this Top 50 API that includes the description field for each of the Google top 50 results, plus search page indicators including Knowledge Graph, Carousel, Answer Box, Local Pack, Image Pack, News Pack, Paid results and more.

API package capacity can be upgraded at any time.

Multiple types of API packages (Rank Top 50 Daily with SERP Features, Google Suggested Search Monthly, etc.) can exist in one account.
IMPORTANT! When creating new campaigns you must be careful to select the correct package for the new campaign because you:
  • Cannot transfer keywords or campaigns between Reporting Platform and API packages or between different types of API packages.
  • Cannot change an existing API package to a different type (e.g., Rank Top50 to Google Suggested Search).
  • Cannot change the frequency (e.g. from Monthly to Daily) of an existing API package.

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.



key string The unique API key assigned to your account
keyword string Keyword
date yyyy-mm-dd Requested data date
Optional: Date Range can be called using
(for up to a span of 10 days)
If date is used, then do not include the results parameter

se_id int Search Engine ID
int Campaign ID number
results int Number of days' data (up to 10)
Do not use with date parameter
show_title string Option to include SERP Link Title in results



Construct & test API requests in the API Console or follow one of these examples:

Top 50 for specific date

Top 50 for a date range

Top 50 for a specific number of results and including SERP Link Title

The default output is in XML format, if you would like the output to be json the you will need to add "&output=json” at the end of the string


<?xml version="1.0" encoding="utf-8"?>
<tracking-data provider="rankranger" date="02/01/2016" time="12:28:59" status="ok" >
 - <results>
   ---  <details>
    ---  </details>
     --- <search_results>
     ---- <search_result>
               <extra>Search Box</extra>
               <title>The Meta Title of Your Page</title>
     ---- <search_result>

               <title>The Meta Title of Their Page</title>
     ---- <search_result>
               <extra>Rating,Sitelinks,Notable Online</extra>
               <title>The Meta Title of Your App Page</title>
     ---- <search_result>

               <title>The Meta Title of Their Page</title>
Continued to the 50th rank position

If the &results=2 (any number up to 10) is used, then the data for each date displays in batches of 50.
Refer to the Google SERP Features API for examples of results that include Carousels, Knowledge Graphs, a variety of Answer Boxes, Image Blocks, SERP News, Local Packs, and Paid Results.

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