seoClarity APIs
Standard API
Data for any element that you already track in your seoClarity account is available to you free of charge through the standard API.
Learn morePaid API
Our paid API,
seoClarity.dev, is an add-on feature that can be enabled by request via your Client Success Manager or
support@seoclarity.net. Get access to the same data ocean and core capabilities that power the seoClarity.net platform.
Learn moreRequirements for Sending a Request
Below are the requirements you will need to send a request to seoClarity's API endpoints. Note the differences between our standard and paid API endpoints.
API key
The request header will need to include your API key. The keys are unique to each user and should not be shared.
- Generate your API token. Learn more
- Contact support@seoclarity.net for paid tokens to be upgraded.
The standard and paid APIs have different formats for sending the key in your request header. Your token will be a series of letters and numbers.
- Standard: access_token
- Example: access_token=yourAccessToken
- Paid: x-api-key
- Example: x-api-key=yourAccessToken
Endpoints
- Full list of endpoints can be found at https://kb.seoclarity.net/portal/en/kb/articles/paid-api-documentation
Request Method
POST: Send your request including the parameters for the data you would like to receive in your results. The response will include the taskId.
GET: Send the taskId from the POST response to receive the URL to access your data file.
- taskId exmaple: task_id_lettersAndNumbersSpecificToYourRequest
Parameters
Parameters are the instructions sent in the request identifying the data to be sent back in the data file, filter specifications, and a storage location for the data to be sent to.
The parameters can be included as part of the API request in the URL query string or the request body field.
Examples
Standard API
URL query string example
- http://api.seoclarity.net/seoClarity/keyword?access_token=XXXXXXXXXX&kname=XXXX&tagid=XXXX&oid=XXXX&engine=XXXX&market=XXXX&sdate=XXXX&edate=XXXX&limit=XXXX&offset=XXXX&plpType=XXXX&competitor=XXXX&device=XXXX&type=XXXX&enableLocation=XXXX
Request body example
{
"device": "desktop",
"top": 10,
"startDate": 20250201,
"endDate": 20250201,
"query": {
"filters": [
{
"name": "domains",
"operation": "ct",
},
{
"name": "rank",
"operation": "between",
"value": "[]"
},
{
"name": "keyword",
"operation": "ct",
"value": "example keyword"
}
]
}
}
Paid API
URL query string:
- https://data.seoclarity.net/v1/task/backlink-gaps?x-api-key=yourAccessToken&domainName=example.com&competitorDomains=example.com&totalSize=10
Request body:
{
"domainName": "example.com",
"competitorDomains": ["competitor1.com", "www.competitor2.com", "competitor3.com"],
"totalSize": 1000
}