Search our Knowledge Base
Search

Rank Top 100 API



The rank_top100 method returns the top 100 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 100 is one of our SEO Intelligence Search API methods that allows you to view the top 100 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 100 API that includes the description field for each of the Google top 100 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 100 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.


 

Parameters

 
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
&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD
(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
campaign_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 top 100 results


Examples

 

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

Rank Top 100 for specific date

https://www.rankranger.com/api/v2/?rank_top100&key=YOUR-API-KEY&keyword=YOUR-KEYWORD&date=YYYY-MM-DD&se_id=SEARCH-ENGINE-ID&campaign_id=YOUR-CAMPAIGN-ID

Rank Top 100 for a date range

https://www.rankranger.com/api/v2/?rank_top100&key=YOUR-API-KEY&keyword=YOUR-KEYWORD&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&se_id=SEARCH-ENGINE-ID&campaign_id=YOUR-CAMPAIGN-ID


Rank Top 100 for a specific date including SERP Link Title

https://www.rankranger.com/api/v2/?rank_top100&key=YOUR-API-KEY&keyword=YOUR-KEYWORD&date=YYYY-MM-DD&se_id=SEARCH-ENGINE-ID&campaign_id=YOUR-CAMPAIGN-ID&show_title=true


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



Response

 
<?xml version="1.0" encoding="utf-8"?>
<tracking-data provider="rankranger" date="02/01/2016" time="12:28:59" status="ok" >
 - <results>
  --  
<result>
   ---  <details>
   
        <date>01-31-2016</date>
           <se_id>1</se_id>
           <keyword_name>
camera</keyword_name>
           <keyword_identifier>123456789</keyword_identifier>
    ---  </details>
     --- <search_results>
     ---- <search_result>
               <rank>1</rank>
               <url>http://www.yourdomain.com</url>
               <extra>Search Box</extra>
               <title>The Meta Title of the Page</title>
  
          </search_result>
      ---- <search_result>
               <rank>2</rank>
               <url>http://www.theirdomain.com</url>
               <extra>HTTPS</extra>
               <title>The Meta Title of the Page</title>
            </search_result>
     ---- <search_result>
               <rank>3</rank>
               <url>https://play.google.com/store/apps/details?id=your.app</url>
               <extra>Rating,HTTPS</extra>
               <title>The Meta Title of Your App Page</title>
            </search_result>
     ---- <search_result>
               <rank>4</rank>
               <url>https://different.com/page</url>
               <extra/>
               <title>The Meta Title of the Page</title>
            </search_result>
Continued to the 100th rank position

 

If the &results=2 (any number up to 10) is used, then the data for each date displays in batches of 100

 
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