Overview

The ExoRank API provides customers, resellers and affiliates with way to programmatically interact with our system. All users automatically have access to our API system. You can find your API key at the bottom of your account page. Please note that if you have different types of accounts (customer, reseller, affiliate) with ExoRank, each of your accounts will have a different API key.

All API requests should be sent as GET requests and use HTTPS. There are no limit to how often you can use our API. We only update keywords rankings and stats once per day. There's no need to request those details more than once per day.

Customer API

Customer API Endpoint: https://exorank.com/api/customer.php

Overall Stats
Get a count of how many of your keywords are in the top 3, 6, 10, 20, 30 and 100 search results.
ParametersValueDescription
actionstatsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
top_3Number of keywords ranked in the top 3 results.
top_6Number of keywords ranked in the top 6 results.
top_10Number of keywords ranked in the top 10 results.
top_20Number of keywords ranked in the top 20 results.
top_30Number of keywords ranked in the top 30 results.
top_100Number of keywords ranked in the top 100 results.
Example API Link
https://exorank.com/api/customer.php?apikey=XXXXX&action=stats
Keyword Details
Get the ranking and pricing details for all the keywords in your account.
ParametersValueDescription
actionkeywordsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
keywordEach active keyword that's in your account.
priceThe current amount you're paying for this keyword's ranking.
rankThe keywords current ranking (checked every 24 hours).
startThe starting rank of the keyword (the rank when you signed up).
Example API Link
https://exorank.com/api/customer.php?apikey=XXXXX&action=keywords
Add New Keyword
Add a new keyword to your account.
ParametersValueDescription
actionaddkwRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
keyword[THE-KEYWORD]The keyword you're adding. Replace spaces with plus signs.
API Call Responses
SUCCESS{"RESPONSE":"SUCCESS"}The keyword has been added successfully.
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Example API Link
https://exorank.com/api/customer.php?apikey=XXXXX&action=addkw&keyword=sample+keyword
Delete A Keyword
Delete a keyword from your account.
ParametersValueDescription
actiondeleteRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
keyword[THE-KEYWORD]The keyword you're deleting. Replace spaces with plus signs.
API Call Responses
SUCCESS{"RESPONSE":"SUCCESS"}The keyword has been deleted successfully.
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Example API Link
https://exorank.com/api/customer.php?apikey=XXXXX&action=delete&keyword=sample+keyword

Reseller API

Reseller API Endpoint: https://exorank.com/api/reseller.php

Overall Stats
Get a count of how many of your keywords are ranked in Google's search results.
ParametersValueDescription
actionstatsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
1_3Number of keywords ranked between 1 and 3.
4_6Number of keywords ranked between 4 and 6.
7_10Number of keywords ranked between 7 and 10.
11_20Number of keywords ranked between 11 and 20.
21_30Number of keywords ranked between 21 and 30.
31_45Number of keywords ranked between 31 and 45.
46_60Number of keywords ranked between 46 and 60.
61_80Number of keywords ranked between 61 and 80.
81_100Number of keywords ranked between 81 and 100.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=stats
Domains Overview
Get a list of your domains and their overall stats.
ParametersValueDescription
actiondomainsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
domainA list of every domain in your account.
priceThe total cost of all the keywords assigned to this domain.
keywordsThe total amount of keywords assigned to this domain.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=domains
Keyword Details
Get a list of all keywords assigned with a domain and their stats.
ParametersValueDescription
actionkeywordsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
domain[DOMAIN-NAME]The domain you want to retrieve keyword stats for.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
keywordEach active keyword assigned to this domain.
priceThe current amount you're paying for this keyword's ranking.
rankThe keywords current ranking (checked every 24 hours).
volumeNumber of searches per month for this keyword.
seocompThe nmber of competing pages on Google.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=keywords&domain=example.com
Add New Keyword
Add a new keyword. If the domain isn't in your account, it'll be created automatically.
ParametersValueDescription
actionaddkwRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
keyword[THE-KEYWORD]The keyword you're adding. Replace spaces with plus signs.
domain[DOMAIN-NAME]The domain you're adding this keyword to.
API Call Responses
SUCCESS{"RESPONSE":"SUCCESS"}The keyword has been added successfully.
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=addkw&domain=example.com&keyword=sample+keyword
Delete A Keyword
Delete a keyword. If it's the last keyword for that domain, the domain will be deleted too.
ParametersValueDescription
actiondeletekwRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
keyword[THE-KEYWORD]The keyword you're deleting. Replace spaces with plus signs.
domain[DOMAIN-NAME]The domain you're removing this keyword from.
API Call Responses
SUCCESS{"RESPONSE":"SUCCESS"}The keyword has been deleted successfully.
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=deletekw&domain=example.com&keyword=sample+keyword
Delete A Domain
Delete a domain and all assigned keywords from your account.
ParametersValueDescription
actiondeletedomRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
domain[DOMAIN-NAME]The domain name you're removing.
API Call Responses
SUCCESS{"RESPONSE":"SUCCESS"}The domain has been deleted successfully.
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Example API Link
https://exorank.com/api/reseller.php?apikey=XXXXX&action=deletedom&domain=example.com

Affiliate API

Affiliate API Endpoint: https://exorank.com/api/affiliate.php

Overall Stats
Get a count of the active, canceled and total customers you've referred.
ParametersValueDescription
actionstatsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
totalTotal number of referrals.
activeNumber of active customers referred.
canceledNumber of canceled customers referred.
Example API Link
https://exorank.com/api/affiliate.php?apikey=XXXXX&action=stats
Payment History
A list of all payments we've sent to your PayPal account.
ParametersValueDescription
actionpaymentsRequired parameter and value.
apikey[YOUR-API-KEY]Your API KEY is required for this action.
API Call Responses
SUCCESS
ERROR{"RESPONSE":"ERROR"}A message will also be display to let you know what the error is.
Successful Response Breakdown
monthThe month and year this payout is for.
yearThe month and year this payout is for.
amountThe amount sent to your PayPal account.
payout_timeThe date and time the payment was sent.
Example API Link
https://exorank.com/api/affiliate.php?apikey=XXXXX&action=payments