Search our Knowledge Base
Search

Get All Profiles API



The get_all_profiles method allows you to retrieve a list of all the profiles and their ids 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


Example

 
https://www.rankranger.com/api/v2/?get_all_profiles&key=YOURAPIKEY

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/01/2016" time="13:31:27" status="ok" >
<profiles>
 <profile>
  
  <profile_id>1</profile_id
    <profile_name>Profile Name</profile_name
    <profile_ref_id>Your Reference ID</profile_ref_id
    <profile_description>Your descriptive text</profile_description
    </profile>
  <profile>
    <profile_id>2</profile_id
    <profile_name>Profile Name 2</profile_name
    <profile_ref_id/> 
    <profile_description/>
    </profile>

</profiles>
</
tracking-data>
 
Note: profile_ref_id and profile_description are optional parameters that you can use as your internal identifiers, they are included in the response only if those parameters exist in your account for a specific profile name.

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