Get keyword rank history

Get the rank of one keyword over a date range.

GET https://cotlet.dev/api/v1/accuranker/keywords/{keyword_id}/history

read

Returns one point per date AccuRanker has a rank for, oldest first, with the ranking URL. Dates without a rank check are not filled in. Leave both dates out for the history the keyword shows by default.

Parameters

Parameters: get_keyword_history
NameTypeDescription
keyword_id string required string Keyword ID from list_keywords.
period_from string string First date, YYYY-MM-DD.
period_to string string Last date, YYYY-MM-DD.

Request

cURL
curl https://cotlet.dev/api/v1/accuranker/keywords/keyword_8c41d2/history \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("accuranker", "get_keyword_history", {"keyword_id":"keyword_8c41d2"})
Node.js
const result = await cotlet.call('accuranker', 'get_keyword_history', {"keyword_id":"keyword_8c41d2"});
CLI
cotlet call accuranker get_keyword_history --data '{"keyword_id":"keyword_8c41d2"}'

Example response

JSON

{
  "keyword_id": "k_90311",
  "keyword": "rank tracking software",
  "history": [
    {
      "date": "2026-10-16",
      "rank": 6,
      "url": "https://acme-outdoors.com/pricing"
    },
    {
      "date": "2026-10-23",
      "rank": 4,
      "url": "https://acme-outdoors.com/pricing"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.