GeoRanker Docs

Rank Tracker

Create a rank tracking report, retrieve keyword rankings and search results, and manage recurring runs through the API.

Try API

Rank Tracker measures where a target domain appears for each combination of keyword, location, and search engine. Results include current and previous positions, with the search results behind each ranking available separately. Keep the engine, device, and search depth consistent when comparing runs.

To create and read reports in the app, use the SEO Tools Rank Tracker walkthrough.

Before you start

  • Create an SEO Tools API key and set SEO_TOOLS_API_KEY in your shell. Send it as a Bearer token to https://seoapi.georanker.com.
  • Find your project and set PROJECT_ID to its UUID. A project is called a campaign in the app.
  • Choose a target domain, keywords, locations, engine, and device. The example requests two Google desktop searches in New York.

Create a report

Send POST /api/ranktracker with the report settings inside payload. This example creates a single run.

curl -sS --fail-with-body https://seoapi.georanker.com/api/ranktracker \
  -H "Authorization: Bearer $SEO_TOOLS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<JSON
{
  "payload": {
    "projectId": "$PROJECT_ID",
    "reportName": "Running shoe rankings - New York desktop",
    "targetDomain": "example.com",
    "keywords": ["running shoes", "wide running shoes"],
    "locations": ["New York, United States"],
    "engines": ["google"],
    "device": "desktop",
    "advanced": {"trackTop": 20},
    "isRecurring": false,
    "fetchKeywordData": false
  }
}
JSON

An illustrative HTTP 200 response contains the report UUID and the number of searches requested.

{
  "id": "130d9669-f1fd-4393-884b-38cff7fa17db",
  "serpCount": 2
}

Save the returned id as REPORT_ID. Creation can finish before the rankings arrive. serpCount is keywords multiplied by locations multiplied by engines. It describes requested SERPs. Check your service allowance separately when estimating usage.

HTTP responseWhat to do
200Save id and retrieve the rankings using the result endpoint below.
400Check the JSON wrapper, field values, and array limits before retrying.
401 UNAUTHENTICATEDCheck the complete key, the Bearer prefix, and that the key is active.
403A Viewer cannot create reports. Check the key holder's organization role.
402 SUBSCRIPTION_PAST_DUEResolve the organization's overdue subscription before creating or changing reports.

If a create request times out, check the project report list before submitting again. A second submission may create another report.

Request fields

Only payload.keywords is required by the published create schema. Supply projectId and targetDomain to associate the report with your intended campaign and website. Every field in this table belongs inside payload.

FieldType and limitsDefault and use
projectIdUUID stringThe project/campaign that will contain the report.
reportNameStringDefaults to unnamed. Use a recognizable website, market, and device.
targetDomainStringDefaults to example.com. Replace it with the domain you want to track.
keywordsRequired array of strings, maximum 200Terms to search for.
locationsArray, maximum 50 entriesA plain string or an object for each location. For an object the server reads name, then falls back to raw, then code.
enginesArray of engine identifiers, maximum 10Defaults to ["google"].
devicedesktop or mobileDefaults to desktop.
advanced.trackTopInteger from 1 to 100Defaults to 10. Sets how many search results to capture per request.
isRecurringBooleanDefaults to false. Enables recurring runs when true.
scheduleDaysInteger from 1 to 365 at creationDefaults to 1. Used when isRecurring is true.
fetchKeywordDataBooleanDefaults to false. Requests keyword search-volume data when true.

The SEO Tools API reference contains the full operation schemas.

Get keyword rankings

Set REPORT_ID to the UUID returned by the create request, then send GET /api/ranktracker/{id}/keywords.

curl -sS --fail-with-body "https://seoapi.georanker.com/api/ranktracker/$REPORT_ID/keywords" \
  -H "Authorization: Bearer $SEO_TOOLS_API_KEY"

HTTP 200 returns keyword rows. The published schema calls the array keywords. The SEO Tools viewer also supports items and a pending count from this endpoint. Read items when present, otherwise read keywords, and check that the value is an array before iterating.

The viewer uses keyword, location, engine, device, processed, currentRank, prevRank, bestRank, and serpId. This illustrative completed row shows a move from ninth to sixth, with fourth as the best recorded position.

{
  "keyword": "running shoes",
  "location": "New York, United States",
  "engine": "google",
  "device": "desktop",
  "processed": true,
  "currentRank": 6,
  "prevRank": 9,
  "bestRank": 4,
  "serpId": "3f2504e0-4f89-41d3-9a0c-0305e82c3301"
}

Wait for processing

  • Leave a delay between result requests. If the response includes pending, continue while that count is greater than zero.
  • Check processed on rows that expose it before recording a missing rank. An unfinished search can have no ranking yet.
  • Stop after all requested results have completed, on an error, or at your integration's timeout. Retain the report ID to inspect an incomplete report later.
  • Read a missing rank alongside advanced.trackTop. A domain outside the captured depth may still appear further down the search results.

Use GET /api/ranktracker/{id} to inspect report details. HTTP 200 returns the detail under serp. A 404 means the report could not be found for the request, so check the UUID and organization access.

Inspect the results behind a ranking

Set SERP_ID to a keyword row's serpId, then send GET /api/ranktracker/{id}/keyword-serp/{serpId}.

curl -sS --fail-with-body "https://seoapi.georanker.com/api/ranktracker/$REPORT_ID/keyword-serp/$SERP_ID" \
  -H "Authorization: Bearer $SEO_TOOLS_API_KEY"

HTTP 200 returns the search result data. The viewer reads organic entries with position, domain, url, title, and text. Compare those entries to identify the pages competing with your target.

List reports and manage a schedule

Use GET /api/projects/{projectId}/rank-tracker-reports to find reports before creating another run. HTTP 200 returns items, total, and nextCursor. Each report can include its status, lastUpdated, isRecurring, and scheduleDays.

Set recurring=true to filter scheduled reports or mine=true to show your own. The default limit is 20 and the maximum is 50. Pass the returned integer as cursor until nextCursor is null.

To enable a weekly schedule, send PATCH /api/ranktracker/{id}/recurring. The update uses snake_case field names.

curl -sS --fail-with-body -X PATCH \
  "https://seoapi.georanker.com/api/ranktracker/$REPORT_ID/recurring" \
  -H "Authorization: Bearer $SEO_TOOLS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{"is_recurring":true,"schedule_days":7}'

An illustrative HTTP 200 response confirms the schedule.

{
  "ok": true,
  "isRecurring": true,
  "scheduleDays": 7
}

Set is_recurring to false to stop future runs. The update endpoint accepts schedule_days from 1 upward. The create endpoint's scheduleDays field has a maximum of 365.

DELETE /api/ranktracker/{id} removes a report and returns {"ok":true}. Members can delete reports they created. A 403 or 404 can indicate that the key holder lacks permission for the requested report.

Usage and billing

The requested search count grows with keywords, locations, and engines. Recurring schedules repeat that work, and fetchKeywordData adds keyword-volume retrieval. Review the selected features and allowance in your SEO Tools service usage before scheduling reports.

Use the API key troubleshooting guide for authentication and subscription errors. The app walkthrough explains how to inspect the same reports in SEO Tools.