“API: Keyword Tracker (Google Rank Tracking)”

The Keyword Tracker module lets you manage projects, tracking lists and keywords monitored on a schedule in Google (mobile and desktop), and query their ranking history.

  • Base REST endpoint: https://app.ranki.co/wp-json/ranki/v1/keyword-tracker
  • Credit usage: Uses your subscription’s plan tracking credits (not API credits). Each active keyword takes 1 unit of tracking capacity.
  • Freeing up quota: Removing keywords from a list immediately frees tracking capacity so you can reuse it for new terms.

Operations summary (16)

Usage and projects

API operationEndpointDescription
keyword_tracker_usageGET /keyword-tracker/usagePlan limits, tracked keywords and available capacity.
keyword_tracker_list_projectsGET /keyword-tracker/projectsLists all tracking projects in the account.
keyword_tracker_get_projectGET /keyword-tracker/projects/{id}Detailed project information and list count.
keyword_tracker_create_projectPOST /keyword-tracker/projectsCreates a project with its first tracking list.
keyword_tracker_delete_projectDELETE /keyword-tracker/projects/{id}Deletes a project and all its lists and keywords.

Tracking lists

API operationEndpointDescription
keyword_tracker_list_listsGET /keyword-tracker/projects/{project_id}/listsLists the tracking lists in a project.
keyword_tracker_get_listGET /keyword-tracker/lists/{id}List metadata and the range of recorded dates.
keyword_tracker_create_listPOST /keyword-tracker/projects/{project_id}/listsAdds a new list to an existing project.
keyword_tracker_update_listPATCH /keyword-tracker/lists/{id}Updates tracking frequency or assigned competitors (up to 5 domains).
keyword_tracker_rename_listPOST /keyword-tracker/lists/{id}/renameRenames a list. Doesn’t change keywords, frequency or competitors.
keyword_tracker_delete_listDELETE /keyword-tracker/lists/{id}Deletes a list and its keywords.

Keywords and rankings

API operationEndpointDescription
keyword_tracker_list_keywordsGET /keyword-tracker/lists/{id}/keywordsLists keywords with their latest ranking and URL.
keyword_tracker_add_keywordsPOST /keyword-tracker/lists/{id}/keywordsAdds keywords and starts tracking them on a schedule.
keyword_tracker_delete_keywordsDELETE /keyword-tracker/lists/{id}/keywordsDeletes specific keywords by their exact text.
keyword_tracker_keyword_positionsGET /keyword-tracker/keywords/{id}/positionsSERP ranking history (up to 90 dates).
keyword_tracker_move_keywordsPOST /keyword-tracker/keywords/moveMoves keywords to another list in the same account.

Parameters and allowed values (Enums)

  • device: Device for Google tracking. Values: "desktop" or "mobile".
  • tracking_preference: Scheduled tracking frequency:
  • "once_weekly": Once a week.
  • "twice_weekly": Twice a week.
  • "three_weekly": Three times a week.
  • exclude_subdomains (boolean): true to match only the exact domain, ignoring subdomains; false by default.
  • competitors (array of strings): Up to 5 competitor domains to compare rankings in the same list.

1. keyword_tracker_usage

Checks the account’s tracking capacity: allowed projects, lists, global keyword limits and how many are currently in use.

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/usage
Authorization: Bearer rk_TU_CLAVE

Example with curl

curl -s -X GET 
  -H "Authorization: Bearer rk_TU_CLAVE" 
  "https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/usage"

2. keyword_tracker_list_projects

Lists all keyword tracking projects belonging to the authenticated user.

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects
Authorization: Bearer rk_TU_CLAVE

3. keyword_tracker_get_project

Gets the configuration of a specific tracking project.

API parameters

  • project_id (integer, required).

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects/{id}
Authorization: Bearer rk_TU_CLAVE

4. keyword_tracker_create_project

Creates a new Keyword Tracker project along with its required first tracking list.

API parameters

  • name (string, required): Project name (e.g. "Mi Tienda").
  • list_name (string, required): Name of the first list (e.g. "Keywords Principales").
  • domain (string, required): Domain to track (e.g. "ejemplo.com").
  • location (string, required): Location or country (e.g. "Colombia").
  • language (string, required): Language (e.g. "Spanish").
  • device (string, required): "desktop" or "mobile".
  • tracking_preference (string, required): "once_weekly", "twice_weekly" or "three_weekly".
  • exclude_subdomains (boolean, optional, default false).

Endpoint

POST https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "name": "Mi Tienda",
  "list_name": "Keywords Principales",
  "domain": "ejemplo.com",
  "location": "Colombia",
  "language": "Spanish",
  "device": "mobile",
  "tracking_preference": "once_weekly",
  "exclude_subdomains": false
}

5. keyword_tracker_delete_project

Deletes a project and, in cascade, all its associated keyword lists.

Endpoint

DELETE https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects/{id}
Authorization: Bearer rk_TU_CLAVE

6. keyword_tracker_list_lists

Lists the tracking lists linked to a specific project.

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects/{project_id}/lists
Authorization: Bearer rk_TU_CLAVE

7. keyword_tracker_get_list

Gets detailed list information: domain settings, device, assigned competitors and first and last crawl dates.

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}
Authorization: Bearer rk_TU_CLAVE

8. keyword_tracker_create_list

Creates an additional list in an existing project (useful for segmenting by location, language or device).

API parameters

  • project_id (integer, required).
  • list_name (string, required).
  • domain (string, required).
  • location (string, required).
  • language (string, required).
  • device (string, required): "desktop" or "mobile".
  • tracking_preference (string, required).
  • exclude_subdomains (boolean, optional, default false).

Endpoint

POST https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/projects/{project_id}/lists
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

9. keyword_tracker_update_list

Changes a list’s tracking frequency or competitor list.

API parameters

  • list_id (integer, required).
  • tracking_preference (string, optional): New frequency ("once_weekly", "twice_weekly", "three_weekly").
  • competitors (array of strings, optional): List of competitor domains (up to 5).

Endpoint

PATCH https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "tracking_preference": "twice_weekly",
  "competitors": ["competidor1.com", "competidor2.com"]
}

10. keyword_tracker_rename_list

Changes the display name of a tracking list. Keywords, ranking history, tracking frequency and competitors are not changed, and it doesn’t use tracking credits.

API parameters

  • list_id (integer, required): List ID.
  • list_name (string, required): New name (up to 255 characters).

Endpoint

POST https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}/rename
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "list_name": "Keywords de marca"
}

Sample response

{
  "list_id": 88,
  "list_name": "Keywords de marca",
  "previous_name": "Keywords Principales"
}

11. keyword_tracker_delete_list

Deletes a tracking list and unassigns all the keywords it contained.

Endpoint

DELETE https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}
Authorization: Bearer rk_TU_CLAVE

12. keyword_tracker_list_keywords

Gets the keywords saved in a list with their latest ranking, indexed URL and search volume.

API parameters

  • list_id (integer, required).
  • page (integer, optional, default 1).
  • per_page (integer, optional, default 100).
  • keyword_text (string, optional): Comma-separated fragments.
  • keyword_contains (string, optional, default like): like or not_like.
  • has_ai_overview / has_no_ai_overview (boolean, optional).
  • serp_types / serp_types_con: SERP types (like/not_like).
  • domain_in_ai_filter: yes | none.
  • sort_key / sort_direction: sort order (keyword, url, latest_position, …).

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}/keywords?page=1&per_page=100&keyword_text=zapatos
Authorization: Bearer rk_TU_CLAVE

13. keyword_tracker_add_keywords

Adds one or more keywords to a list to start tracking them in the SERP on a schedule.

API parameters

  • list_id (integer, required).
  • keywords (array of strings, required): List of terms to track.

Endpoint

POST https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}/keywords
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "keywords": [
    "zapatos para dama",
    "calzado deportivo bogota"
  ]
}

14. keyword_tracker_delete_keywords

Deletes specific keywords from a list by their exact text. This immediately frees the corresponding tracking credits.

API parameters

  • list_id (integer, required).
  • keywords (array of strings, required): Array of exact terms to delete.

Endpoint

DELETE https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/lists/{id}/keywords
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "keywords": [
    "calzado deportivo bogota"
  ]
}

15. keyword_tracker_keyword_positions

Returns the historical time series of Google rankings for a keyword (up to 90 past checks).

API parameters

  • keyword_id (integer, required): Keyword ID.

Endpoint

GET https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/keywords/{id}/positions
Authorization: Bearer rk_TU_CLAVE

Sample response

{
  "keyword_id": 412,
  "keyword": "zapatos para dama",
  "positions": [
    { "date": "2026-08-01", "position": 14, "url": "https://ejemplo.com/dama" },
    { "date": "2026-08-08", "position": 11, "url": "https://ejemplo.com/dama" },
    { "date": "2026-08-15", "position": 8, "url": "https://ejemplo.com/dama" }
  ]
}

16. keyword_tracker_move_keywords

Moves a set of keywords from their current list to a target list in the same user account.

API parameters

  • keyword_ids (array of integers, required): Keyword IDs.
  • target_list_id (integer, required): Target list ID.

Endpoint

POST https://app.ranki.co/wp-json/ranki/v1/keyword-tracker/keywords/move
Authorization: Bearer rk_TU_CLAVE
Content-Type: application/json

{
  "keyword_ids": [412, 415],
  "target_list_id": 88
}