Search our Knowledge Base
Search

Get Keyword Info API



The keyword_info method provides search volume and competition rating for one keyword in a campaign in your account. 

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


 
 

Parameters

 

 
key string The unique API key assigned to your account
campaign_id int Campaign ID
keyword string Keyword
keyword_id string Optional: you can add the &identifier=true parameter to the end of the call and it will display the Rank Ranger keyword_id in the success response


Example

 
https://www.rankranger.com/api/v2/?keyword_info&key=YOURAPIKEY&campaign_id=123&keyword
=yourkeyword

Example with call to retrieve keyword_id
https://www.rankranger.com/api/v2/?keyword_info&key=YOURAPIKEY&campaign_id=123&keyword
=yourkeyword&identifier=true

The default output format is XML, if you want JSON simply add "&output=json" to the end of the string.


Response

 
<?xml version="1.0" encoding="utf-8"?>
<tracking-data provider="rankranger" date="02/03/2016" time="10:56:01" status="ok" >
      
<keyword>pinot grigio</keyword>
      <search_volume>
90500</search_volume>
      <competition>
0.21</competition>
</tracking-data>
 
Response with keyword identifier parameter

<?xml version="1.0" encoding="utf-8"?>
<tracking-data provider="rankranger" date="02/03/2016" time="10:56:01" status="ok" >
      
<keyword>pinot grigio</keyword>
      <search_volume>
90500</search_volume>
      <competition>
0.21</competition>
</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