Skip to main content

ASO Keyword Toolkit — free App Store keyword research from the command line

PyPI tests License: MIT Python 3.9+ Zero dependencies

App Store Optimization keyword research, competitor analysis, and App Store Connect metadata automation — for 60 countries, from your terminal, for free.

Find the keywords real users type in any App Store storefront. See who ranks for them and how beatable they are. Discover where your app is already winning and where it's invisible. Then write, validate, and publish localized metadata without touching the App Store Connect web UI.

pip install aso-keyword-toolkit
asokit init --app-id 1234567890 --markets de,fr,jp
asokit research --all

That's it. No account, no API key, no subscription, no trial. The research path uses two public Apple endpoints and has zero dependencies.


Why this exists

ASO tools start around $19/month and climb into the hundreds. A large part of what they sell is packaging of two Apple endpoints that are open to anyone: the App Store's autocomplete and the iTunes Search API. This gives you direct access to both, adds the analysis layer on top, and connects the result straight to the App Store Connect API so the whole loop runs from one command.

It is genuinely useful on its own, and it is also an honest floor: it will never invent a search-volume number that Apple does not publish. More on that in What the numbers mean.


Installation

pip install aso-keyword-toolkit

pipx or uv — if you want it as an isolated global tool:

pipx install aso-keyword-toolkit
uv tool install aso-keyword-toolkit

For development, or if you want to read the code first:

git clone https://github.com/ggapp1/aso-keyword-toolkit
cd aso-keyword-toolkit && pip install -e .

App Store Connect sync needs two extra libraries for JWT signing. Keyword research does not:

pip install "aso-keyword-toolkit[connect]"

Claude Code plugin

The repo doubles as a Claude Code plugin marketplace. Installing it gives your agent a six-phase ASO playbook with review gates, wired to this CLI:

/plugin marketplace add ggapp1/aso-keyword-toolkit
/plugin install aso-keyword-toolkit@aso-toolkit

The skill calls the asokit CLI, so install that too (above). Then ask Claude to research a market, or invoke the skill directly with /aso-keyword-toolkit:aso-localize. It runs the research, reads the report, drafts metadata that respects Apple's character and duplication rules, and stops for your review before anything is published.


Getting started in one command

If your app is already on the App Store, let the toolkit write your config:

asokit init --app-id 1234567890 --markets de,fr,jp

It reads your live listing, looks at the apps ranking alongside you, and derives starter seed keywords from what those apps actually call themselves:

reading your listing in the US store...
  Budget Expense Tracker — Finance
looking at apps that rank alongside it (this takes a moment)...
  read 68 competitor listings

wrote asokit.json with 16 seeds and 3 market(s)

Suggested seeds:
  expense tracker
  budget planner
  money manager
  spending
  receipts
  savings
  ...

Your app ID is the number in your App Store URL (apps.apple.com/app/id1234567890). Starting from scratch instead? asokit init writes a template you can fill in by hand.

Check everything is ready before a long run:

asokit doctor
config      asokit.json — 3 market(s)
apple api   reachable — 10 suggestions for a test query
connect     not configured (only needed to push metadata)

ready

App Store keyword research

asokit research --market de

Every seed goes through the App Store's autocomplete for that specific storefront, harvesting what Apple suggests to users in that country. Every candidate is then scored against the top 50 ranked apps there.

Real output from the German App Store, tracking a budgeting app:

| # | keyword                    | pop | ac-rank | seeds | comp | median top-5 ratings | exact-title | our rank | opp |
|---|----------------------------|-----|---------|-------|------|----------------------|-------------|----------|-----|
| 1 | kostenkontrolle            |  10 |       1 |     1 |    1 |                   23 |           1 |        — |  18 |
| 2 | savings goals              |  10 |       1 |     1 |    2 |                  240 |           1 |        — |  16 |
| 3 | ausgaben tracker           |  11 |       1 |     2 |    3 |                2,697 |           1 |        1 |  15 |
| 4 | geld sparen                |  11 |       1 |     2 |    3 |                1,899 |           1 |       13 |  15 |
| 5 | haushaltsbuch              |   9 |       2 |     1 |    3 |                8,592 |           8 |        1 |  13 |
column what it tells you
pop autocomplete-derived ranking proxy — higher means Apple surfaces it sooner
ac-rank best position across every seed that surfaced it
seeds how many different seeds led to it (breadth of relevance)
comp competition tier 1–5, from median rating count of the top 5 apps
exact-title how many of the top 10 put this exact term in their title
our rank where your app currently sits, if it's in the top 50
opp pop + (5 - comp) * 2 — a sort key, not a verdict

A term at comp 1 whose top-5 apps have two dozen ratings is a real opening. A term at comp 5 belongs to someone with a marketing budget.

Each run also prints the headline takeaways so you don't have to read the whole table:

aso/de/report.md
  least contested:  kostenkontrolle, savings goals
  you already rank: ausgaben tracker (#1), haushaltsbuch kostenlos (#1), budget planner (#2)
  winnable gaps:    kostenkontrolle, savings goals

Responses are cached on disk, so re-running the same market weeks later to measure whether your changes worked costs almost nothing.

Competitor analysis

Every report ends with the apps that kept appearing across your queries. A rival's title is their keyword strategy, stated publicly:

| app                            | ratings | top-5 appearances | best rank |
|--------------------------------|---------|-------------------|-----------|
| Ausgaben Budget Planner Fleur  |   1,899 |                20 |         1 |
| Monefy: Ausgaben manager       |   4,710 |                18 |         2 |
| Haushaltsbuch MoneyStats       |  22,435 |                18 |         2 |

Autocomplete mixes competitor app names in with genuine queries, which quietly corrupts keyword research. Those are detected and listed separately rather than scored as opportunities — including in Japanese and Chinese listings, which join name and tagline with ・ and : instead of :.

Off-category detection

Some terms score beautifully and belong to somebody else entirely. Searching moodle in the US store looks like a strong lead for a mood app; it returns Education software. tracker detect returns AirTag finders. self-help credit union returns a bank.

When your config has an appId, the toolkit reads your App Store category and compares it against the apps actually ranking for each term. Anything answered by a different category is moved to its own section:

| term                   | pop | comp | who actually ranks |
|------------------------|-----|------|--------------------|
| moodle                 |  10 |    1 | Education          |
| self-help credit union |   9 |    5 | Finance            |

Real output — both scored well enough to top the list for a health app, and neither is worth a character.


60 storefronts, every language

asokit storefronts              # list all of them
asokit storefronts --check jp   # verify one against the live endpoint
Japan (jp) header=143462-4,29
  suggestions for '家計簿': 家計簿, 家計簿アプリ, 家計簿 無料 人気, 家計簿 レシート, 家計簿 共有

Country selection uses the X-Apple-Store-Front header. The cc= query parameter you'll find in older blog posts does not work — Apple accepts it and silently returns US results, which is an excellent way to ship a German keyword set built entirely from American data. This toolkit gets it right and gives you --check to prove it.

Non-Latin scripts, accents, and compound-word languages are first-class. Diacritics matter more than people expect: in the Spanish App Store, credito and crédito return different suggestion sets.


ASO metadata validation

The most expensive mistake in App Store metadata is repetition. Apple indexes your app name, subtitle, and keyword field as a single pool and combines words across them. Repeating a term you already used buys nothing and burns part of a 100-character budget you can't extend.

asokit metadata check de.json
--- name (26/30) ---
Budgeteer: Expense Tracker

--- subtitle (24/30) ---
Haushaltsbuch & Finanzen

--- keywords (71/100) ---
budgetplaner,ausgaben,sparen,kostenkontrolle,quittungen,einnahmen,konto

All fields within limits. No repetition across name, subtitle and keywords.

It catches what actually goes wrong:

  • fields over the 30 / 30 / 100 character limits
  • a keyword that already appears in your name or subtitle
  • a keyword that shares a stem with one — track versus tracker
  • a word duplicated between name and subtitle
  • the same keyword listed twice
  • a, b, c spacing in the keyword field, which silently costs you characters
  • a localization with no description, which blocks submission outright

That last one is the trap in a research-driven workflow: you localize name, subtitle and keywords from research data and leave the long-form copy alone. App Store Connect does not fall back to your primary locale for the fields you skip — it stores them empty, and an empty description means the version cannot be submitted. Nothing surfaces that until submission fails. Use --allow-partial when you are deliberately updating a subset of fields on a locale whose description is already live, and --strict to also require release notes.

This command needs no credentials, so it doubles as clean copy-paste output if you'd rather paste into the web UI.

Stemming is per-language. Apple matches on stems, but morphology is not universal, and English suffix rules applied everywhere are worse than no stemming at all: they truncate German Zucker to zuck and Wasser to wass, inventing collisions between unrelated words while still missing the real German plurals, which are formed in -en and with umlaut. Rules exist for English, Spanish, Portuguese, Catalan, Galician, French and Dutch, plus the languages that mark no plural suffix at all (Japanese, Korean, Chinese, Thai, Vietnamese, Indonesian, Malay). Every other locale is compared as exact words, and metadata check prints a note naming them rather than letting a clean run read as a verdict on locales it never really checked.

Metadata rules worth knowing

  • Limits: name 30, subtitle 30, keywords 100, promotional text 170.
  • Never repeat a term across those three fields.
  • Watch stems, not just words. Apple matches Track and Tracker as the same term, so a title saying "Tracker" makes a subtitle saying "Track" dead weight. metadata check catches these; exact-string comparison does not.
  • No spaces after commas in the keyword field.
  • Use singular forms — Apple handles plurals.
  • Apple combines words across fields, so prefer distinct single words in the keyword field over repeating a phrase from your title.
  • Compound-word languages (German, Dutch, Finnish) can't have compounds assembled from parts across fields, so each compound must appear whole. Budget for it: Haushaltsbuch costs 13 of your 30 subtitle characters.

Drafting the keyword field

Between a research report and a validated metadata file sits the step that is actually hard: packing terms into 100 characters without wasting budget.

asokit metadata pull > baseline.json          # capture what is live first
asokit metadata suggest --market de --baseline baseline.json
de -> de-DE  (38/100 characters)
  blutzucker,wasser,tracker,fodmap,hba1c
  dropped: competitor app-name fragments (balloon, uab, zuckerheld); stopwords (app, der, und)

It shows its work rather than presenting a field as magic. What it handles:

  • Phrases become words. Apple combines words across fields, so listing stool tracker and poop tracker buys tracker twice.
  • Stopwords. with, and, free eat characters and target nothing.
  • Competitor brand fragments. looksLikeAppName filters whole terms, but splitting phrases into words leaks balloon, uab and inc out of rival app names — which is where trademark trouble starts.
  • Scripts with combining marks. Tokenizing splits on separators rather than matching \w, because Python's \w excludes nonspacing marks and shreds Thai and Devanagari at every tone mark and matra. Scripts written without spaces deliberately stay one token; segmenting them properly needs a dictionary this tool does not have.
  • Terms you already rank for. Live keywords from --baseline rejoin the pool at the lowest priority, so a hand-picked term that is already working is not discarded just because autocomplete never proposed it.

--block word,word is the escape hatch for junk no rule reaches — a beverage brand surfacing in health autocomplete is neither off-category by Apple's genre data nor an app name, but it is still not a keyword you want.

Draft every market at once and validate the result:

asokit metadata suggest --all --baseline baseline.json --json --out draft.json
asokit metadata check draft.json
asokit metadata push draft.json          # dry run first

With --baseline, the draft carries the rest of each localization through unchanged and swaps only the keyword field, so what comes out is a complete, pushable file rather than a fragment. Without one you get keywords alone, which check will flag as unsubmittable — correctly, since a locale carrying keywords and no description is exactly the shape that cannot be submitted.

The output is a starting point, not an answer. Read it before you push it.


App Store Connect automation

Localized metadata is split across two different API resources and is only writable while a version sits in an editable state — the kind of detail that makes hand-rolling this annoying. The toolkit handles both, creates locales that don't exist yet, and dry-runs by default.

Create a key at App Store Connect → Users and Access → Integrations → App Store Connect API with the App Manager role:

export ASC_KEY_ID=XXXXXXXXXX
export ASC_ISSUER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export ASC_PRIVATE_KEY_PATH=~/.appstoreconnect/AuthKey_XXXXXXXXXX.p8
asokit metadata status                  # is a version editable right now?
asokit metadata pull > baseline.json    # capture the current listing FIRST
asokit metadata push de.json            # dry run — shows exactly what would change
asokit metadata push de.json --apply    # write it

Pull before you push. metadata pull emits the same {locale: {field: value}} shape that check and push consume, so push baseline.json is your undo. It is the cheapest safety step available and the only rollback path there is.

Validation runs before anything is sent, so a bad file fails locally rather than halfway through a batch. Credentials are read from the environment only; .p8 keys are gitignored by default.

A multi-locale push is re-runnable. Creating an appInfoLocalization makes App Store Connect auto-create the paired appStoreVersionLocalization, so the follow-up create collides with a resource that now exists; push adopts it and patches instead of aborting, and reports adopted rather than claiming it created something. Each locale is printed as it lands, flushed, so a redirected log is a live record — and if a run does fail partway, the output tells you exactly which locales were already written. Re-running converges.

asokit doctor also checks that your app is actually on sale in every market you configured. Researching a storefront nobody can buy in is an hour of wasted scoring, and assuming the opposite quietly drops markets you already sell in.

Subscriptions from one declarative file

Creating a subscription group, its subscriptions and their prices by hand is the part of setup that does not scale — and pricing is the worst of it. There is no endpoint that applies one price to every storefront: the documented path is one POST per territory, roughly 175 writes per subscription. products apply reads a file that describes the finished state and makes App Store Connect match it.

{
  "groups": [{
    "referenceName": "Pro",
    "localizations": {
      "en-US": {"name": "Pro"},
      "pt-BR": {"name": "Pro"}
    },
    "subscriptions": [{
      "productId": "com.example.pro.annual",
      "name": "Pro Annual",
      "subscriptionPeriod": "ONE_YEAR",
      "groupLevel": 1,
      "familySharable": false,
      "reviewNote": "Pro unlocks unlimited logging…",
      "availability": {"allTerritories": true},
      "price": {"baseTerritory": "USA", "customerPrice": "24.99"},
      "localizations": {
        "en-US": {
          "name": "Pro Annual",
          "description": "Unlimited logging, all year."
        }
      }
    }]
  }]
}
asokit products status                  # what exists in App Store Connect now
asokit products check products.json     # limits and structure, offline
asokit products apply products.json     # dry run — every action it would take
asokit products apply products.json --apply

It is a diff, not a script. Each run reads live state first and writes only what differs, so a second run against an unchanged file writes nothing — including the 175 price rows. That is the property that makes it safe to re-run after a partial failure.

Three things it will not do, each on purpose:

  • Change what cannot be changed. productId and subscriptionPeriod are fixed at creation. If the file disagrees with a live product, the run stops and tells you, before anything is sent.
  • Narrow where you sell. availability is required on every subscription, and must be {"allTerritories": true}. false is rejected rather than obeyed, because the file cannot express a smaller set — restrict territories by hand in App Store Connect instead. It is required rather than optional because a subscription provisioned without it comes out priced in every territory and on sale in none, and no later run repairs that.
  • Finish the submission. Every new subscription lands in MISSING_METADATA until it has a review screenshot. Add those in App Store Connect, then submit the subscriptions alongside your next app version.

Text-only changes to products that already exist stay with products push, which keeps taking the flat {productId: {locale: {field: value}}} format.


A worked example: budgeting apps in the German App Store

A real run — 16 seeds, 40 candidates scored — tracking one of the established German budgeting apps. Every number below came out of the tool.

It already owns the German expense vocabulary. Rank #1 for haushaltsbuch, ausgaben tracker, ausgaben tracker kostenlos, and haushaltsbuch kostenlos; #2 for expense tracker, budget planner, and budgetplaner. That's a defended position, and the first job of any metadata change is not to break it.

But it's invisible where the competition is weakest. kostenkontrolle scored competition tier 1 — the median top-5 app there has 23 ratings — and this app doesn't rank for it at all. Compare haushaltsbuch, where the median top-5 app has 8,592 ratings and eight of the top ten put the word directly in their title. Same category, wildly different economics.

The read: the contested compound is already won and should be protected. The cheap opening is the term nobody is fighting for.

The competitor table shows the strategy behind the rankings:

| Ausgaben Budget Planner Fleur  |   1,899 |                20 |         1 |
| Monefy: Ausgaben manager       |   4,710 |                18 |         2 |
| Haushaltsbuch MoneyStats       |  22,435 |                18 |         2 |

Three of the strongest apps put Ausgaben in their title. That isn't something you have to guess at — it's their keyword bet, published.

One thing the numbers alone would get wrong. In the US store, mint looks like an obvious budgeting keyword. The top result is Mint Mobile, a wireless carrier. Ranking there buys traffic from people shopping for a phone plan. A popularity score rates the query, not who answers it — which is exactly why every report shows you who currently ranks.


What the numbers mean

pop is a ranking proxy derived from Apple's own autocomplete ordering, not a search-volume estimate. Apple does not publish search volume through any free endpoint. Tools that show you "volume: 4,400/mo" from these sources are modelling, not measuring.

This matters practically. Autocomplete ordering is real signal — it is Apple telling you what people in that country type — and it is excellent for ranking candidates against each other. It cannot tell you a term's absolute traffic. Use it to narrow hundreds of candidates down to a handful, then validate those few against Apple Search Ads if you need absolute numbers.

Relevance stays a human judgment. The toolkit filters competitor app names out of your results, but no heuristic can tell you that a term in your category serves a different audience. That's what the competitor table is for — read it.


Command reference

command what it does
asokit init --app-id ID write a config with seeds derived from your live listing
asokit init --add --markets fr add markets to an existing config, keeping your seeds
asokit doctor check config, Apple connectivity, and credentials
asokit storefronts list all 60 storefronts
asokit storefronts --check de verify one storefront against the live endpoint
asokit research --market de expand and score keywords for one market
asokit research --all run every market in your config
asokit research --all --resume continue an interrupted run, skipping scored markets
asokit metadata suggest --market de pack researched candidates into a keyword field
asokit metadata suggest --all --json draft every market's keyword field at once
asokit metadata pull write the live listing to JSON — your rollback baseline
asokit metadata check FILE validate limits, duplication and submission-readiness
asokit metadata status show which version and locales are editable
asokit metadata push FILE dry-run the sync
asokit metadata push FILE --apply write metadata to App Store Connect
asokit products status list subscriptions, IAPs and their localizations
asokit products check FILE validate product text and structure, offline
asokit products push FILE dry-run a product text sync
asokit products apply FILE dry-run the full provisioning diff
asokit products apply FILE --apply provision groups, subscriptions, prices, availability

Each research run writes report.md plus the raw scores.json and expansion.json, so you can build your own analysis on the data.


FAQ

Is this really free? Yes. Keyword research uses public Apple endpoints that need no account. Publishing metadata uses your own App Store Connect API key, which Apple issues free to developers. There is no hosted service and nothing to sign up for.

Do I need an Apple Search Ads account? No. Apple Search Ads is one way to get official popularity scores, but this toolkit doesn't require it and doesn't use it.

How is this different from paid ASO tools? Paid tools add Apple Search Ads popularity scores, historical rank tracking, and dashboards. This gives you the per-storefront keyword discovery, competitor analysis, and metadata publishing that most of the workflow actually consists of — scriptable, inspectable, and free. Many people need the second thing far more often than the first.

Does it work for Google Play? Not currently. Everything here is App Store specific: Apple's endpoints, the 30/30/100 character model, and the App Store Connect API.

Will Apple block this? These endpoints are public and used by the App Store itself. The toolkit sets a descriptive user agent, spaces requests to respect the iTunes Search API's roughly 20-requests-per-minute limit, and caches everything so repeat runs make almost no requests. Be reasonable and you'll be fine.

Can I use it in CI? Yes. Everything is non-interactive with meaningful exit codes — asokit metadata check fails the build on a validation error, which makes a good pre-submission gate.

What Python version do I need? 3.9 or newer, tested on 3.9, 3.11 and 3.13. Research has no dependencies at all; only App Store Connect sync adds pyjwt and cryptography.


How it works

source what it provides cost
App Store autocomplete (MZSearchHints) Apple's per-storefront suggestion ranking free, no auth
iTunes Search API ranked apps per query per country, with rating counts free, official
App Store Connect API reading and writing localized metadata free, your own key

Nothing is proxied through a third party. Every request goes from your machine to Apple.


Development

git clone https://github.com/ggapp1/aso-keyword-toolkit
cd aso-keyword-toolkit
pip install -e .
python3 -m unittest discover -s tests -t .

The codebase is small and deliberately boring: storefronts (the country table), sources (HTTP and caching), research (expansion and scoring), metadata (pure validation, no I/O), asc (App Store Connect), report (rendering), suggest (seed derivation).

Contributions welcome — especially additional storefront verifications, stopwords for languages not yet covered, and app-name punctuation conventions from stores you know better than I do.

License

MIT. See LICENSE.

Not affiliated with, endorsed by, or connected to Apple Inc. "App Store" and "App Store Connect" are trademarks of Apple Inc.

Metadata

Release files for aso-keyword-toolkit 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aso-keyword-toolkit 0.4.0
File Size Uploaded
aso_keyword_toolkit-0.4.0.tar.gz 73.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aso-keyword-toolkit 0.4.0
File Interpreter ABI Platform
aso_keyword_toolkit-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 134.5 kB

Release files / aso_keyword_toolkit-0.4.0.tar.gz

Download URL aso_keyword_toolkit-0.4.0.tar.gz
Size 73.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c81e56ebae9a1374a372a3d160aa7887f5927704c997abc3bc4802074512fa7f
BLAKE2b-256 checksum
How to use checksums
d27a7dd83ceb87f9272c6cc08430558c74d163723ee61f9a187a9c36eef3c00a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / aso_keyword_toolkit-0.4.0-py3-none-any.whl

Download URL aso_keyword_toolkit-0.4.0-py3-none-any.whl
Size 61.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fee0dd13ee140d13cc2a71edce806eba3c3b655f0548ff5b53c5380ea32367f
BLAKE2b-256 checksum
How to use checksums
5be207f48296fc525cb437764f63468c99d439eca6020f1ac7dc4dcb107261c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page