New Orchly MCP & API are live. Build custom workflows with your SEO & AI visibility data.
GET /ranks/keywords/{id}/history

Keyword rank history

Daily position history for a tracked keyword.

Authenticate with Authorization: Bearer obk_live_xxx. See authentication.

Parameters

NameInTypeRequiredDescription
X-Workspace-Id header string required The workspace to scope the request to. Can also be passed as a `workspace_id` query parameter.
id path string required
start_date query string (date) optional Start of the range, YYYY-MM-DD. Defaults to 28 days ago.
end_date query string (date) optional End of the range, YYYY-MM-DD. Defaults to today.

Responses

200 OK
FieldTypeDescription
workspace_id string
keyword object
range Range
history object[]

Example request

curl --request GET \
  --url https://app.orchly.ai/api/v1/ranks/keywords/:id/history \
  --header 'Authorization: Bearer obk_live_xxx' \
  --header 'X-Workspace-Id: ws_xxx'
const res = await fetch(`https://app.orchly.ai/api/v1/ranks/keywords/${id}/history`, {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer obk_live_xxx',
    'X-Workspace-Id': 'ws_xxx',
  },
});
const data = await res.json();
import requests

resp = requests.get(
    "https://app.orchly.ai/api/v1/ranks/keywords/{id}/history",
    headers={
        "Authorization": "Bearer obk_live_xxx",
        "X-Workspace-Id": "ws_xxx",
    },
)
data = resp.json()

Example response

A 200 response. Dynamic fields are shown as their type.

{
  "workspace_id": "string",
  "keyword": {},
  "range": {
    "start_date": "2026-01-01",
    "end_date": "2026-01-01"
  },
  "history": [
    {
      "date": "string",
      "position": 0,
      "url": "string",
      "title": "string",
      "domain": "string"
    }
  ]
}