Search our Knowledge Base

Rank Top 50 API

The rank_top50 method returns up to 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. 

Data Retention: data generated by this API is stored for 60 days.

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. 

*If the search engine provides less than 50 results for a keyword, then the API returns only the number of results that were available during the rank tracking for that keyword.


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
string Optional: The Batch request may be used to obtain results in batches of 200 keywords at a time. This option requires the parameters batch_start=X&batch_limit=200, where X equals the beginning of the batch.  To request the first 200 keywords in a campaign, this is an example request:
The request for the next batch would start with 201, for example:
Do not use date and keyword parameters when choosing the batch option



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

Rank Top 50 Batch Request

The request for the next batch would start with 201, for example:

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


Including Google SERP Features:

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