Changelog

New endpoints, fields, and behaviour changes in the Ranksy API v1, newest first, each tagged with the semantic version it shipped as. The API is additive — existing endpoints and fields are never removed or renamed — so releases only ever bump the minor or patch number, never the major; v1.0.0 was the initial launch. The version shown here matches the OpenAPI info.version served with that release.

v1.11.0 — 2026-11-14 — Churn analysis: subscription, revenue and Logo churn (installs), and new churn metric names

GET /apps/{app}/churn now names its churn rates by what they measure, adds gross subscription churn, Logo churn (installs) and net revenue churn, and can count frozen subscriptions as churn. The churn metrics are renamed the same way. The MCP tool get-churn-analysis returns the same fields. Additive: existing fields keep their values, and the old names stay as aliases.

  • Subscription churn. history[].subscription_churn_rate and churn_windows.subscription are net subscription churn: of the shops paying at the start of the period, the share that cancelled for real and were not paying again by the end.
  • Gross subscription churn. history[].subscription_churn_rate_gross, history[].churned_customers_gross and churn_windows.subscription_gross count every real cancellation in the starting cohort, resubscribed or not. null for usage-billing apps.
  • Logo churn (installs). history[].logo_churn_installs_rate and churn_windows.logo_installs: uninstalls and deactivations, net of reinstalls and reactivations, over the installs active at the start. It can be negative.
  • Net revenue churn on /churn. Each history[] row adds net_revenue_churn_rate, cancelled_mrr, contraction_mrr and expansion_mrr; churn_windows.revenue_net gives net revenue churn over the rolling windows.
  • include_frozen on /churn. Default false: a frozen subscription is not churn. With true, a freeze still in force counts as subscription churn. Revenue churn and Logo churn (installs) ignore it. The MCP tool get-churn-analysis takes the same flag.
  • Deprecated on /churn: history[].logo_churn_rate and churn_windows.logo. Both are copies of subscription churn, kept for one more release; read subscription_churn_rate and churn_windows.subscription.
  • New metric names. GET /apps/{app}/metrics/subscription_churn_rate (net subscription churn), /metrics/gross_revenue_churn_rate (MRR lost to cancellations plus contraction, over the cohort's starting MRR) and /metrics/net_revenue_churn_rate (gross lost MRR minus expansion, over the same base; it can be negative). All three are computed live and need the revenue.churn permission.
  • Metric aliases. /metrics/churn_rate and /metrics/revenue_churn_rate return the same values as subscription_churn_rate and gross_revenue_churn_rate. On those requests metadata.preferred_metric names the new key.
  • Revenue churn components. On the default 30d window, revenue churn components are now mrr_churned (= cancelled_mrr + contraction_mrr), cancelled_mrr, contraction_mrr, expansion_mrr and mrr_base.
  • Gross revenue churn definition. Plan moves inside a shop's first 30 days don't count, and a churned shop is lost at its starting MRR, so a downgrade before a cancellation counts once.
  • NRR first-30-day rule. On GET /apps/{app}/metrics/nrr, a plan change within 30 days of a shop's first conversion to paid no longer counts as expansion or contraction. Churn in those 30 days still counts. See NRR.
  • MCP get-installations. New summary.logo_churn_installs; summary.uninstall_rate is deprecated.

See Churn analysis, now documented on its own page, and Metrics.

v1.10.0 — 2026-11-13 — API keys carry team permissions

API keys now carry the same team permissions as team members, and every endpoint requires one. No endpoint or field changed, and keys created before this release keep the access they had.

  • Permissions instead of scopes. A key carries a set of team permissions, chosen with the same picker as Team Settings → Members → Permissions. Each endpoint requires one or more of them; endpoints that return dollar amounts per row also need revenue.overview or revenue.earnings. See Permissions by endpoint.
  • Keys act as the member who created them. Before, every key acted as the team owner. Now a request passes only if the key carries the permission and its creator still holds it on the team. Removing a permission from a member removes it from their keys on the next request, and a member's keys stop working when they leave the team.
  • Any member can create keys, limited to the permissions they hold. Members see and revoke the keys they created; the team owner sees and revokes every key on the team.
  • Errors. A missing permission returns 403 insufficient_permissions, with a message that names it.
  • Existing keys. Each key created before this release received the permissions that cover its scopes, and its scopes are still checked. See Scopes.
  • MCP OAuth tokens. /api/v1 no longer accepts the OAuth tokens that MCP clients, such as Claude, get when they connect to Ranksy. Such a request returns 403 insufficient_permissions. Use an API key.

v1.9.0 — 2026-10-19 — Shopify App Store ads performance

Four read endpoints return the performance of your Shopify App Store ads, with the same figures as the Ads pages in Ranksy and the MCP ads tools. Additive: no existing field or endpoint changed.

  • GET /apps/{app}/shopify-ads/overview: KPIs (spend, impressions, clicks, installs, paying customers, CTR, CPC, CPI, CAC), the funnel, and one row per campaign. compare=true adds the previous period.
  • GET /apps/{app}/shopify-ads/trend: a daily or weekly series.
  • GET /apps/{app}/shopify-ads/keywords: performance per keyword. With campaign, also bids, the suggested bid range, and flags.
  • GET /apps/{app}/shopify-ads/search-terms: the searches that triggered your ads, flagged against the keywords you bid on.
  • Shared parameters. start_date and end_date (default: the 30 days ending yesterday), campaign (Shopify campaign id or exact name), and ad_type (search, category, homepage).
  • Scopes. All four need ads:read. Revenue and ROAS appear only when the key also has metrics:read. The ads:read scope is now labelled Shopify App Store ads performance.

See Shopify App Store ads.

v1.8.0 — 2026-10-15 — Ad landing pages and rcamp on identify

Meta ad destination URLs now point at a Ranksy-hosted landing page instead of a redirect, and /identify reports the campaign an install came from. This release also documents CRM tasks and automations, keyword focus, and affiliate referrals on /identify. Additive: no existing field or endpoint changed.

  • rcamp on POST /apps/{app}/identify. The response (including a degraded 422) now carries rcamp: the value of the landing-page campaign click that Ranksy matched to the install through contacts[].ip, or null when none matched. See Identify.
  • Ad landing pages. The Meta ad destination URL is now https://ranksyapp.com/lp/{listing-handle}-{id}, or https://{custom host}/{listing-handle}-{id} when the app's own domain is Live. It replaces the apps.ranksyapp.com/{slug}/{code} redirect. Old links send a 301 to the new page with their full query string, while the Meta Conversions API stays connected with the same pixel.
  • What the page records. With fbclid in the URL, the page records the ad click on Ranksy's server and sets the _fbc and _fbp cookies; with a valid rcamp, it also records a campaign click. It fires only PageView, on your own pixel. The install button opens your listing in the same tab, so visitors stay in the browser they opened the ad in, and adds utm_source=facebook&utm_medium=paid_social when the URL has fbclid and no utm_source.
  • mref on POST /apps/{app}/identify. Send the affiliate referral token from the ?mref= link the merchant followed, and Ranksy credits the install to that affiliate. The first attribution stands. See Identify.
  • Keyword focus. GET /apps/{app}/keywords/focus (rankings:read) orders the app's tracked keywords by which to work on next, with tier buckets, keyword clusters, and a one-line summary in metadata. See Rankings.
  • CRM tasks. GET and POST /apps/{app}/tasks, PATCH and DELETE /apps/{app}/tasks/{task}, and GET /apps/{app}/customers/{installation}/tasks (crm:read / crm:write). See Tasks & automations.
  • Automations (read-only). GET /apps/{app}/automations/rules, /apps/{app}/automations/rules/{rule}, and /apps/{app}/automations/rules/{rule}/runs (crm:read) return the app's automation rules, which create tasks or add and remove customer tags, and each rule's recent runs. See Tasks & automations.
  • Error anchors. Every code on Errors now has an anchor equal to the code, so a doc_url such as https://api.ranksyapp.com/errors#missing_api_key opens at its entry. insufficient_scope and tag_not_attached, which the API already returned, are now documented.
  • Catalog page corrected. App Store catalog documented GET /api/v1/shopify/apps, which does not accept API keys. It now documents GET /api/v1/catalog/search, and category rankings page through every ranked app instead of stopping at 50.

See Meta ad landing pages for the URL forms, what the page records, and how installs match to clicks.

v1.7.1 — 2026-09-16 — Expired App Events tokens are rejected up front

POST /apps/{app}/track now checks the exp claim of a supplied app_events_token before it records or forwards anything. An already-expired token returns 422 app_events_token_expired instead of being queued and then rejected asynchronously by Shopify with a 401 Token has expired.

A rejected call writes no event row and queues nothing, so refresh the token and resend. Calls with no token, a non-JWT token, or a not-yet-expired token are unchanged. See Track events.

v1.7.0 — 2026-09-03 — Cursor pagination for bulk exports

Additive hardening of the customer and install list endpoints for exporting full datasets into a warehouse. No existing field or endpoint changed.

  • Cursor pagination on GET /apps/{app}/customers, /apps/{app}/store-installs, /apps/{app}/lifecycle-events, /apps/{app}/churned-customers, and /apps/{app}/ltv/customers. Pass cursor instead of page to walk the list by opaque keyset; the response returns next_cursor (and reports page/total_count as null). Cursor mode stays stable while rows are inserted mid-export and isn't subject to the page-mode row cap — use it to pull a full dataset.
  • status=all on GET /apps/{app}/store-installs — return every store regardless of install status (the default stays INSTALLED).
  • subscription_id added to GET /apps/{app}/lifecycle-events rows — the Ranksy subscription the shop held at the event, or null for free-plan / pre-subscription events.
  • New reference pages: Store installs, Lifecycle events, Churned customers, and Customer LTV.

v1.6.0 — 2026-08-30 — Customer notes

Attach free-text notes to a customer — the write side of the CRM, alongside customer tags. Notes support Markdown and an optional reminder.

  • GET /apps/{app}/customers/{installation}/notes — list a customer's notes, newest first (crm:read).
  • POST /apps/{app}/customers/{installation}/notes — create a note (crm:write).
  • PUT /apps/{app}/customers/{installation}/notes/{note} — update a note (crm:write).
  • DELETE /apps/{app}/customers/{installation}/notes/{note} — delete a note (crm:write).

See Notes for fields and examples.

v1.5.0 — 2026-08-29 — Analytics & catalog parity

A large additive batch bringing the API to parity with the Ranksy MCP server, so agents and the ranksy CLI can read everything the assistant can. No existing endpoint changed.

Traffic & installs (traffic:read)

  • GET /apps/{app}/traffic/overview — daily traffic series (page views, installs, CVR).
  • GET /apps/{app}/traffic/attribution — install attribution by channel and model.
  • GET /apps/{app}/traffic/funnel — conversion funnel with revenue-per-customer.
  • GET /apps/{app}/traffic/source-trends — traffic source trends over time.

Keyword analytics (traffic:read)

  • GET /apps/{app}/keywords/cannibalization — organic/ad keyword cannibalization.
  • GET /apps/{app}/keywords/ad-performance — paid keyword ad performance.
  • GET /apps/{app}/keywords/installs-by-source — installs attributed to each keyword.
  • GET /apps/{app}/keywords/{keyword}/trends — daily organic/sponsored trend for one keyword.

Rankings (rankings:read)

  • GET /apps/{app}/rankings/by-keyword/{keyword} — scraped rank rows for a single keyword.

Revenue & customer lifecycle (metrics:read)

  • GET /apps/{app}/revenue/overview — revenue overview snapshot.
  • GET /apps/{app}/churn — churn analysis.
  • GET /apps/{app}/retention/cohorts — customer retention cohorts.
  • GET /apps/{app}/uninstall-reasons — uninstall reason breakdown.
  • GET /apps/{app}/active-trials — active free trials.
  • GET /apps/{app}/churned-customers — churned customers.
  • GET /apps/{app}/ltv/customers and GET /apps/{app}/ltv/cohorts — lifetime value per customer and per acquisition cohort.
  • GET /apps/{app}/store-installs — individual store install records.
  • GET /apps/{app}/lifecycle-events — customer lifecycle event stream.

CRM

  • Customer tag read and write endpoints for segmenting merchants.

App Store catalog (catalog:read; public App Store data, but a valid key is still required)

  • GET /catalog/search — search the App Store catalog.
  • GET /catalog/apps/{slug}, /catalog/apps/{slug}/rankings, /catalog/apps/{slug}/similar, /catalog/apps/{slug}/reviews — per-app catalog data.
  • GET /catalog/categories, /catalog/categories/{handle}/insights, /catalog/categories/{handle}/reviews — category stats and insights.
  • GET /catalog/movers, /catalog/updates — top movers and recent listing updates.
  • GET /catalog/keywords/{keyword}/apps — apps ranking for a keyword.
  • GET /catalog/guidelines — Shopify App Store listing guidelines.

Composite endpoints backed by the Shopify Partner API or BigQuery return 409 when that integration isn't connected; addressing a single resource that isn't tracked returns 404 resource_not_found.

v1.4.0 — 2026-08-28 — Listing, keyword management & account

  • GET /me — the account (team) behind the current API key.
  • GET /apps/{app}/listing — the app's current store listing.
  • POST /apps/{app}/listing/improve plus its read endpoint — request and fetch listing-copy improvements.
  • POST /apps/{app}/keywords and DELETE /apps/{app}/keywords/{keyword} — track and untrack keywords.
  • GET /apps/{app}/rankings now accepts a keyword filter to narrow the response to one keyword.
  • CRM: a merchant's other apps on the same team are now surfaced on the customer profile.
  • Fixes: rate limits are now scoped per app; error responses carry correct doc_urls; not-found and quota errors render through the standard error envelope.

v1.3.0 — 2026-08-24 — Traffic journey

  • GET /apps/{app}/traffic/journey — the install journey / path-to-install breakdown.

v1.2.0 — 2026-08-20 — Conversion signals (Meta CAPI)

  • /identify now stitches ad-click identifiers (fbc) from device signals and reports install conversions in near-real-time, with richer match keys forwarded to the Conversions API.

v1.1.0 — 2026-08-17 — Uninstall reasons on the customer profile

  • The v1 customer profile now includes the merchant's uninstall reason when one was captured.