# Phase 1: Chart and niche reconnaissance

> **Off since 2026-10-23.** The tracker reads only store sources whose robots.txt and terms allow it.
> Grossing, genre and Google Play charts, keyword search and suggestions, reviews, App Store IAP tiers and privacy labels, and abandoned-in-search scans answer `source_off` or a `warnings` line.
> Skip every step below that needs one of them, and record a weakness that depends on it as `needs_validation`.

Goal: a shortlist of up to 15 apps that already have demand in the chosen store, country and genre.
This phase reads; it judges nothing yet.

## 1. Fix the scope

- Store: `apple`, `play` or both. On both, run every step per store and keep the rows apart.
- Country: a 2-letter code. Charts differ a lot by country, so one hunt uses one country unless the user asks to compare.
- Genre: an Apple genre id or a Google Play category. Run `app-tracker genres` (or read the `genres` list in the CLI help) for ids. Common ones:

| Genre | Apple id | Google Play |
| --- | --- | --- |
| Productivity | 6007 | PRODUCTIVITY |
| Health and Fitness | 6013 | HEALTH_AND_FITNESS |
| Finance | 6015 | FINANCE |
| Education | 6017 | EDUCATION |
| Photo and Video | 6008 | PHOTOGRAPHY |
| Utilities | 6002 | TOOLS |
| Lifestyle | 6012 | LIFESTYLE |

## 2. Read three charts

Call `app_tracker_charts` for `free`, `paid` and `grossing` with `limit: 100`.

- **Free** shows reach: what people install.
- **Grossing** shows money: an app in grossing but not in free has a high price per user.
- **Paid** shows one-time purchase demand, often small utilities with old code.

For each chart note:

- `movers.gainers` and `movers.losers`: rank change since a snapshot at least 20 hours old. `movers.since` is null on the first day a chart is seen.
- `movers.newEntries` and `newReleases` (apps released in the last 7 days): fresh demand that incumbents have not met.
- Apps that sit high in grossing with a rating under 4.2: the strongest early signal.

## 3. Read the niche through search

Pick one or two plain terms a user would type for the niche (for example "habit tracker", "pdf editor").
Call `app_tracker_keywords` with `term` and `country`.

- `serp` is the live iPhone search result list in display order; `event: true` rows are in-app event cards, not ranked apps.
- `hints` are Apple's own suggestions; they show what else people search.
- `difficulty` (0 to 100) mixes how many ratings the top results hold and how many use the exact term in their name.
- `weakIncumbents` lists top 10 results rated under 4.2.

A term with `difficulty` under 50 and at least one weak incumbent is a lead even if the incumbent is not on a chart.
Keyword search reads the App Store only; there is no Google Play search call.

## 3b. Find abandoned apps people still search for

Call `app_tracker_abandoned` with `country` and an App Store `genre`.
It returns apps in that genre with no update for 365 days or more that still show in the top 10 of real searches and still get ratings.

- `terms` are the searches that show the app, best place first; `source` is `chart_seed` (a word from the genre chart) or `apple_suggest` (Apple's suggestion for that word plus a letter).
- `proof.recentReviews` gives the newest review date and how many of the newest 20 reviews are from the last 90 days; `proof.ratingsRising` gives a rating count that rose between two daily reads.
- `coverage` says how much of the genre the background scan has read; with `coverage.complete: false`, ask again later for more apps.

An abandoned app with many ratings and several search terms is a lead to rebuild: people want it and nobody maintains it.

## 4. Build the shortlist

Keep up to 15 apps. An app earns a place when it has one of:

- a top-100 rank in any of the three charts, or
- a top-10 search position for a niche term with 1,000 or more ratings, or
- a row in `app_tracker_abandoned` with dated proof.

Write one line per app: store, country, id, name, where it was found, rank or search position.
Drop duplicates across charts; keep the best position.

## Limits to tell the user

- App Store charts stop at 100 apps; the legacy feed caps there.
- Movers need two snapshots; on day one they may be empty or come from the service's seed snapshot.
- Search suggestions exist for 51 countries; elsewhere `hints` is empty.
