curl "https://app.ranked.ai/api/v1/projects/{projectId}/backlinks/anchors?limit=10" \
-H "Authorization: Bearer rk_live_your_api_key"
const response = await fetch(
`https://app.ranked.ai/api/v1/projects/${projectId}/backlinks/anchors?limit=10`,
{ headers: { 'Authorization': `Bearer ${apiKey}` } }
);
const { data, meta } = await response.json();
import requests
response = requests.get(
f'https://app.ranked.ai/api/v1/projects/{project_id}/backlinks/anchors',
headers={'Authorization': f'Bearer {api_key}'},
params={'limit': 10}
)
anchors = response.json()['data']
{
"success": true,
"data": [
{
"anchor_text": "tree service sioux city",
"count": 8,
"percentage": 13.8,
"is_dofollow": true
},
{
"anchor_text": "siouxcitytreeco.com",
"count": 5,
"percentage": 8.6,
"is_dofollow": true
}
],
"meta": {
"pagination": {
"total": 9,
"limit": 10,
"offset": 0,
"has_more": false
}
}
}
Backlinks
Anchor Text
Get anchor text analysis showing the most common anchor texts in your backlink profile
GET
/
projects
/
{projectId}
/
backlinks
/
anchors
curl "https://app.ranked.ai/api/v1/projects/{projectId}/backlinks/anchors?limit=10" \
-H "Authorization: Bearer rk_live_your_api_key"
const response = await fetch(
`https://app.ranked.ai/api/v1/projects/${projectId}/backlinks/anchors?limit=10`,
{ headers: { 'Authorization': `Bearer ${apiKey}` } }
);
const { data, meta } = await response.json();
import requests
response = requests.get(
f'https://app.ranked.ai/api/v1/projects/{project_id}/backlinks/anchors',
headers={'Authorization': f'Bearer {api_key}'},
params={'limit': 10}
)
anchors = response.json()['data']
{
"success": true,
"data": [
{
"anchor_text": "tree service sioux city",
"count": 8,
"percentage": 13.8,
"is_dofollow": true
},
{
"anchor_text": "siouxcitytreeco.com",
"count": 5,
"percentage": 8.6,
"is_dofollow": true
}
],
"meta": {
"pagination": {
"total": 9,
"limit": 10,
"offset": 0,
"has_more": false
}
}
}
Returns aggregated anchor text data with counts and percentages.
string
required
Project UUID
number
default:"50"
Maximum anchor texts to return (max: 1000)
number
default:"0"
Number to skip for pagination
curl "https://app.ranked.ai/api/v1/projects/{projectId}/backlinks/anchors?limit=10" \
-H "Authorization: Bearer rk_live_your_api_key"
const response = await fetch(
`https://app.ranked.ai/api/v1/projects/${projectId}/backlinks/anchors?limit=10`,
{ headers: { 'Authorization': `Bearer ${apiKey}` } }
);
const { data, meta } = await response.json();
import requests
response = requests.get(
f'https://app.ranked.ai/api/v1/projects/{project_id}/backlinks/anchors',
headers={'Authorization': f'Bearer {api_key}'},
params={'limit': 10}
)
anchors = response.json()['data']
{
"success": true,
"data": [
{
"anchor_text": "tree service sioux city",
"count": 8,
"percentage": 13.8,
"is_dofollow": true
},
{
"anchor_text": "siouxcitytreeco.com",
"count": 5,
"percentage": 8.6,
"is_dofollow": true
}
],
"meta": {
"pagination": {
"total": 9,
"limit": 10,
"offset": 0,
"has_more": false
}
}
}
⌘I