Rankings

Four endpoints expose an app's App Store search position. GET /apps/:app/rankings returns a current snapshot of the latest scraped day for the keyword or category surface; GET /apps/:app/rankings/by-keyword/:keyword returns the snapshot rows for one keyword; GET /apps/:app/rankings/history returns the rank series for one keyword or one category over a trailing window; and GET /apps/:app/keywords/focus ranks your tracked keywords by which ones to work on next. All four are paginated lists (object: "list"). All require the rankings:read scope; /rankings, /rankings/by-keyword and /rankings/history also need the aso.keywords team permission, and /keywords/focus needs aso.tracked.


GET/api/v1/apps/:app/rankings

Current rankings

A snapshot of the app's current scraped ranks on the latest scraped day. Each row is a keyword rank or a category rank; type chooses which surface to return. Keyword rows carry keyword + is_sponsored (organic ranks only, so always false); category rows carry a category card. A rank of 0 means the app was not found in the scraped results for that term. The snapshot is not date-windowed, so the envelope has no coverage block. metadata carries source (scraped), type, ranking_date, a summary of every matching row (not just the returned limit) and a meta echo of { type, limit, hint }.

Path parameter

  • Name
    app
    Type
    string
    Description

    The team app's ULID, e.g. 01JN4HKQX0000000000000000.

Query parameters

  • Name
    type
    Type
    string
    Description

    Which ranking surface to return: all (default), keywords, or categories. all and keywords both return the keyword rows; use categories for the category rows.

  • Name
    limit
    Type
    integer
    Description

    Rows to return. Default 20, minimum 1, maximum 50.

  • Name
    keyword
    Type
    string
    Description

    Narrow the snapshot to one keyword, matched case-insensitively on its slug or label (max 255 characters). With type=categories it is matched against the category slug instead. No match returns an empty data list.

Request

GET
/api/v1/apps/:app/rankings
curl -G https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/rankings \
  -H "Authorization: Bearer rk_live_..." \
  -d type=keywords \
  -d limit=20

Response

{
  "object": "list",
  "url": "/api/v1/apps/01JN4HKQX0000000000000000/rankings",
  "page": 1,
  "per_page": 2,
  "total_count": 2,
  "has_more": false,
  "metadata": {
    "source": "scraped",
    "type": "keywords",
    "ranking_date": "2026-05-29",
    "summary": { "best_rank": 7, "average_rank": 12.5, "page_1_keywords": 2, "total_keywords": 2 },
    "meta": { "type": "keywords", "limit": 20, "hint": "Use get-reviews to see what users are saying about this app." }
  },
  "data": [
    {
      "rank": 7,
      "change": 2,
      "date": "2026-05-29",
      "category": null,
      "keyword": { "slug": "product-reviews", "keyword": "product reviews" },
      "app": null,
      "is_sponsored": false
    },
    {
      "rank": 18,
      "change": 0,
      "date": "2026-05-29",
      "category": null,
      "keyword": { "slug": "loyalty-rewards", "keyword": "loyalty rewards" },
      "app": null,
      "is_sponsored": false
    }
  ]
}

GET/api/v1/apps/:app/rankings/by-keyword/:keyword

Rankings for one keyword

The current snapshot rows for one keyword — the keyword branch of /rankings filtered to the :keyword path segment. Rows and metadata have the same shape as /rankings (with type fixed to keywords). Unlike /rankings, a keyword the app does not track or rank for returns a 404 instead of an empty list.

Path parameters

  • Name
    app
    Type
    string
    Description

    The team app's ULID, e.g. 01JN4HKQX0000000000000000.

  • Name
    keyword
    Type
    string
    Description

    The keyword slug, e.g. product-reviews. Matched case-insensitively on the keyword's slug or label.

Query parameters

  • Name
    limit
    Type
    integer
    Description

    Rows to return. Default 20, minimum 1, maximum 50.

Request

GET
/api/v1/apps/:app/rankings/by-keyword/:keyword
curl https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/rankings/by-keyword/product-reviews \
  -H "Authorization: Bearer rk_live_..."

Response

{
  "object": "list",
  "url": "/api/v1/apps/01JN4HKQX0000000000000000/rankings/by-keyword/product-reviews",
  "page": 1,
  "per_page": 1,
  "total_count": 1,
  "has_more": false,
  "metadata": {
    "source": "scraped",
    "type": "keywords",
    "ranking_date": "2026-05-29",
    "summary": { "best_rank": 7, "average_rank": 7, "page_1_keywords": 1, "total_keywords": 1 },
    "meta": { "type": "keywords", "limit": 20, "hint": "Use get-reviews to see what users are saying about this app." }
  },
  "data": [
    {
      "rank": 7,
      "change": 2,
      "date": "2026-05-29",
      "category": null,
      "keyword": { "slug": "product-reviews", "keyword": "product reviews" },
      "app": null,
      "is_sponsored": false
    }
  ]
}

GET/api/v1/apps/:app/rankings/history

Ranking history

The rank series for one keyword or one category over a trailing window (scraped). type selects the surface; the term is then identified by name (the keyword string, or the category name) or — for categories — a category slug. Each point carries the scraped rank, the change vs the previous observation, and — for keyword history only — the page and is_sponsored. Points carry their own dates inline, so the envelope has no coverage block. metadata carries source (scraped), type, period_days, a summary (current_rank, best_rank, worst_rank, average_rank, overall_change; keyword summaries count organic ranks only) and the resolved term: keyword (the matched keyword string) or category ({ slug, name }).

Path parameter

  • Name
    app
    Type
    string
    Description

    The team app's ULID, e.g. 01JN4HKQX0000000000000000.

Query parameters

  • Name
    type
    Type
    string
    Description

    Required. keyword or category — which surface the history is for.

  • Name
    name
    Type
    string
    Description

    The keyword string, or — for type=category — the category name. Matched exactly first, then fuzzy-matched; max 255 characters. Required when type=keyword. For type=category it is required unless a category slug is supplied.

  • Name
    category
    Type
    string
    Description

    A category slug (clean DX), e.g. store-management. Used for type=category as an alternative to name.

  • Name
    days
    Type
    integer
    Description

    Trailing window length in days. Default 30, minimum 1, maximum 90.

Request

GET
/api/v1/apps/:app/rankings/history
curl -G https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/rankings/history \
  -H "Authorization: Bearer rk_live_..." \
  -d type=keyword \
  -d name="product reviews" \
  -d days=30

Response

{
  "object": "list",
  "url": "/api/v1/apps/01JN4HKQX0000000000000000/rankings/history",
  "page": 1,
  "per_page": 2,
  "total_count": 2,
  "has_more": false,
  "metadata": {
    "source": "scraped",
    "type": "keyword",
    "period_days": 30,
    "summary": { "current_rank": 7, "best_rank": 7, "worst_rank": 9, "average_rank": 8, "overall_change": 2 },
    "keyword": "product reviews"
  },
  "data": [
    { "date": "2026-05-28", "rank": 9, "page": 1, "change": null, "is_sponsored": false },
    { "date": "2026-05-29", "rank": 7, "page": 1, "change": 2, "is_sponsored": false }
  ]
}

GET/api/v1/apps/:app/keywords/focus

Keyword focus

Which of the app's tracked keywords to work on this week. Ranksy puts every tracked keyword in a tier by its latest organic rank, then scores it by search demand, how much its top 10 reshuffles, its 7-day rank movement, and the installs it brought in the last 14 days. data is the focus list, highest score first, up to limit rows. The tier buckets, keyword clusters, and a one-line summary ride in metadata and always cover every tracked keyword. Requires rankings:read.

TierLatest organic rankWhat it needs
defend1–3Hold the spot.
push4–10Climb into the top 3.
striking11–24Page 1 but below the top 10 — one listing change away.
long_shot25–50Page 2 or later.
off_radarBelow 50, or no organic rank in the last 14 daysA narrower phrase, or untrack it.

Ranks come from the scraped App Store results, so this endpoint never returns a 409. Without a BigQuery connection it still works, but installs_14d and pageviews_14d are 0. An app with no tracked keywords gets an empty data list and a summary that says so.

Path parameter

  • Name
    app
    Type
    string
    Description

    The team app's ULID, e.g. 01JN4HKQX0000000000000000.

Query parameters

  • Name
    limit
    Type
    integer
    Description

    Rows in the focus list. Default 5, minimum 1, maximum 20. The tiers and clusters in metadata are not affected.

Metadata

  • Name
    app
    Type
    object
    Description

    { slug, name } of the app's App Store listing.

  • Name
    tracked_count
    Type
    integer
    Description

    Number of tracked keywords.

  • Name
    ranked_count
    Type
    integer
    Description

    Tracked keywords in any tier except off_radar.

  • Name
    tiers
    Type
    object
    Description

    One entry per tier, keyed defend, push, striking, long_shot, off_radar: { label, count, keywords }. keywords lists up to 50 of the tier's keywords, best rank first, each { keyword_id, keyword, slug, latest_rank, change, installs_14d }.

  • Name
    clusters
    Type
    array
    Description

    Groups of two or more tracked keywords whose top-10 results overlap, so one listing change moves them together: { cluster_key, size, best_rank, keywords, note }, best rank first. Each keyword is { keyword_id, keyword, slug, latest_rank, tier }.

  • Name
    summary
    Type
    string
    Description

    One sentence: the tier counts and the keyword to start with.

  • Name
    generated_at
    Type
    string
    Description

    When the plan was computed, ISO 8601.

Request

GET
/api/v1/apps/:app/keywords/focus
curl -G https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/keywords/focus \
  -H "Authorization: Bearer rk_live_..." \
  -d limit=2

Response

{
  "object": "list",
  "url": "/api/v1/apps/01JN4HKQX0000000000000000/keywords/focus",
  "page": 1,
  "per_page": 2,
  "total_count": 2,
  "has_more": false,
  "metadata": {
    "app": { "slug": "acme-reviews", "name": "Acme Reviews" },
    "tracked_count": 3,
    "ranked_count": 3,
    "tiers": {
      "defend": {
        "label": "Defend",
        "count": 1,
        "keywords": [
          { "keyword_id": 4790, "keyword": "product reviews", "slug": "product-reviews", "latest_rank": 2, "change": 0, "installs_14d": 9 }
        ]
      },
      "push": { "label": "Push to top 3", "count": 0, "keywords": [] },
      "striking": {
        "label": "Striking distance",
        "count": 2,
        "keywords": [
          { "keyword_id": 4821, "keyword": "review app", "slug": "review-app", "latest_rank": 14, "change": 3, "installs_14d": 4 },
          { "keyword_id": 4822, "keyword": "product review app", "slug": "product-review-app", "latest_rank": 18, "change": -1, "installs_14d": 1 }
        ]
      },
      "long_shot": { "label": "Long shot", "count": 0, "keywords": [] },
      "off_radar": { "label": "Off the radar", "count": 0, "keywords": [] }
    },
    "clusters": [
      {
        "cluster_key": 4810,
        "size": 2,
        "best_rank": 14,
        "keywords": [
          { "keyword_id": 4821, "keyword": "review app", "slug": "review-app", "latest_rank": 14, "tier": "striking" },
          { "keyword_id": 4822, "keyword": "product review app", "slug": "product-review-app", "latest_rank": 18, "tier": "striking" }
        ],
        "note": "These 2 keywords share the same results page — one listing change moves them together."
      }
    ],
    "summary": "3 tracked keywords: 1 to defend, 2 within striking distance. Start with \"review app\".",
    "generated_at": "2026-10-15T09:00:00+00:00"
  },
  "data": [
    {
      "keyword_id": 4821,
      "keyword": "review app",
      "slug": "review-app",
      "tier": "striking",
      "tier_label": "Striking distance",
      "latest_rank": 14,
      "change": 3,
      "momentum": "rising",
      "demand_apps": 380,
      "serp_churn": 0.6,
      "installs_14d": 4,
      "pageviews_14d": 120,
      "cluster_key": 4810,
      "siblings": ["product review app"],
      "score": 0.6214,
      "reason": "#14 — page 1, but below the top 10 where most clicks happen. About 380 apps show up for this search.",
      "action": "Put it in your subtitle or first feature line — the subtitle is the strongest lever for breaking into the top 10."
    },
    {
      "keyword_id": 4822,
      "keyword": "product review app",
      "slug": "product-review-app",
      "tier": "striking",
      "tier_label": "Striking distance",
      "latest_rank": 18,
      "change": -1,
      "momentum": "flat",
      "demand_apps": 210,
      "serp_churn": 0.4,
      "installs_14d": 1,
      "pageviews_14d": 40,
      "cluster_key": 4810,
      "siblings": ["review app"],
      "score": 0.4471,
      "reason": "#18 — page 1, but below the top 10 where most clicks happen. About 210 apps show up for this search.",
      "action": "Put it in your subtitle or first feature line — the subtitle is the strongest lever for breaking into the top 10."
    }
  ]
}

Response shapes

All four endpoints return the standard object: "list" envelope. The currency and coverage keys exist on the envelope but are not used here — rankings are not money and not date-windowed, so they are omitted.

Ranking row

A row in the /rankings and /rankings/by-keyword snapshots. The category and keyword cards are mutually exclusive per row; is_sponsored rides only on keyword rows.

  • Name
    rank
    Type
    integer
    Description

    Current scraped rank for this keyword/category. 0 means the app was not found in the scraped results for this term.

  • Name
    change
    Type
    integer
    Description

    Rank movement vs the previous scrape (positive = improved toward #1); 0 when there is no prior data point.

  • Name
    date
    Type
    string | null
    Description

    Date this rank was scraped (YYYY-MM-DD), or null when unknown.

  • Name
    category
    Type
    object | string | null
    Description

    { slug, name } for the category this rank belongs to on category rows (type=categories). On keyword rows it is the keyword's own category label (a string) or null.

  • Name
    keyword
    Type
    object | null
    Description

    { slug, keyword } for the keyword this rank belongs to; present only for keyword rows (type=keywords|all), otherwise null.

  • Name
    app
    Type
    object | null
    Description

    { slug, name } card for the ranked app. These endpoints do not resolve it, so it is currently always null.

  • Name
    is_sponsored
    Type
    boolean | null
    Description

    Whether this keyword rank is a sponsored (ad) placement; always false on keyword rows (the snapshot is organic-only), null on category rows.

History point

A point in the /rankings/history series. page and is_sponsored are present only for keyword history (type=keyword); category history omits them.

  • Name
    date
    Type
    string
    Description

    Date of this rank observation (YYYY-MM-DD).

  • Name
    rank
    Type
    integer | null
    Description

    Scraped rank on this date. 0 means the app was not found for this term on that day; null when the rank was not captured.

  • Name
    page
    Type
    integer | null
    Description

    Search-results page the app appeared on for this date; keyword history only, otherwise null.

  • Name
    change
    Type
    integer | null
    Description

    Rank movement vs the previous observation (positive = improved toward #1); null when there is no prior data point.

  • Name
    is_sponsored
    Type
    boolean | null
    Description

    Whether this keyword rank was a sponsored (ad) placement; keyword history only, otherwise null.

Focus keyword

A row in the /keywords/focus list.

  • Name
    keyword_id
    Type
    integer
    Description

    Ranksy's keyword id.

  • Name
    keyword
    Type
    string
    Description

    The tracked search keyword.

  • Name
    slug
    Type
    string
    Description

    The keyword's URL slug.

  • Name
    tier
    Type
    string
    Description

    defend, push, striking, long_shot, or off_radar (see the tier table above).

  • Name
    tier_label
    Type
    string
    Description

    Human label for the tier, e.g. Striking distance.

  • Name
    latest_rank
    Type
    integer | null
    Description

    Latest organic App Store rank (1 = top), or null when the app has not ranked for this keyword in the last 14 days.

  • Name
    change
    Type
    integer | null
    Description

    Rank change over 7 days (positive = improved).

  • Name
    momentum
    Type
    string
    Description

    rising, falling, or flat over the last 7 days.

  • Name
    demand_apps
    Type
    integer | null
    Description

    The number of apps Shopify reports for this search (30-day average) — the demand signal. null when unknown.

  • Name
    serp_churn
    Type
    number | null
    Description

    How much the keyword's top 10 reshuffles, from 0.0 (frozen) to 1.0 (open). null when Ranksy has no competition snapshot yet.

  • Name
    installs_14d
    Type
    integer
    Description

    Installs attributed to this keyword in the last 14 days. 0 without BigQuery.

  • Name
    pageviews_14d
    Type
    integer
    Description

    Listing page views attributed to this keyword in the last 14 days. 0 without BigQuery.

  • Name
    cluster_key
    Type
    integer | null
    Description

    The keyword's cluster in metadata.clusters, or null when it is not in one.

  • Name
    siblings
    Type
    string[]
    Description

    Up to 3 other tracked keywords in the same cluster.

  • Name
    score
    Type
    number
    Description

    The priority score that orders the list (higher first).

  • Name
    reason
    Type
    string
    Description

    Why the keyword made the list, in plain language.

  • Name
    action
    Type
    string
    Description

    The one thing to do for this keyword.


Errors

Beyond the universal 401 / 403 / 422 / 429 (see Errors), the rankings endpoints return:

  • 404 resource_not_found — on /rankings/history: the addressed keyword or category does not exist or has no rank series for the app (param is name or category). On /rankings/by-keyword: the app does not track or rank for the keyword (param is keyword). On /keywords/focus: Ranksy has no App Store listing data for the app (param is app). /rankings instead returns an empty data list when nothing is tracked, so it never 404s.
  • 422 validation_failed — a bad query parameter. On /rankings/history, type is required, and name is required when type=keyword (or name/category for type=category). On /rankings and /rankings/by-keyword, limit must be 1–50; on /keywords/focus, 1–20.

These surfaces are scraped, not Partner-fed, so they never return the 409 that the metric endpoints do.