List keywords and ranks
List the tracked keywords of one domain with current rank, change and landing page.
GET https://cotlet.dev/api/v1/accuranker/domains/{domain_id}/keywords
read
Returns the rows of the Keywords tab: keyword ID, keyword, search engine, device, location, current rank, change since the compare date, landing page URL and tags. Rows come in the order the tab shows them; follow next_cursor for the rest. A keyword with no rank yet has rank null.
Parameters
| Name | Type | Description |
|---|---|---|
| domain_id string required | string | Domain ID from list_domains. |
| search string | string | Part of a keyword. |
| tag string | string | Only keywords with this tag. |
| search_engine string | string | Google, Bing, Baidu or YouTube. |
| cursor string | string | next_cursor from the previous page; leave out for the first page. |
Request
curl https://cotlet.dev/api/v1/accuranker/domains/domain_8c41d2/keywords \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accuranker", "list_keywords", {"domain_id":"domain_8c41d2"}) const result = await cotlet.call('accuranker', 'list_keywords', {"domain_id":"domain_8c41d2"}); cotlet call accuranker list_keywords --data '{"domain_id":"domain_8c41d2"}' Example response
{
"keywords": [
{
"keyword_id": "k_90311",
"keyword": "rank tracking software",
"search_engine": "Google",
"device": "desktop",
"location": "United States",
"rank": 4,
"change": 2,
"landing_page": "https://acme-outdoors.com/pricing",
"tags": [
"pricing-pages"
]
},
{
"keyword_id": "k_90312",
"keyword": "keyword rank checker",
"search_engine": "Google",
"device": "mobile",
"location": "United States",
"rank": 7,
"change": 5,
"landing_page": "https://acme-outdoors.com/pricing/teams",
"tags": []
}
],
"next_cursor": null
}