# google_play.top_charts

A Google Play top chart for a country: top free, paid or grossing apps or games, overall or in one category.

Google Play top charts, one of the App stores scrapers.

| | |
| --- | --- |
| Id | `google_play.top_charts` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/google_play.top_charts/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `country` | string | no | Two-letter country code: the store's `gl` parameter. Prices, charts and availability follow it. Limit: matches ^[A-Za-z]{2}$. Default: `"us"`. |
| `language` | string | no | Language code: the store's `hl` parameter, e.g. en, de, pt-BR. Limit: matches ^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,4})?$. Default: `"en"`. |
| `chart` | "free" \| "paid" \| "grossing" | no | Which chart: top free, top paid or top grossing. Default: `"free"`. |
| `category` | "APPLICATION" \| "GAME" \| "FAMILY" \| "ART_AND_DESIGN" \| "AUTO_AND_VEHICLES" \| "BEAUTY" \| "BOOKS_AND_REFERENCE" \| "BUSINESS" \| "COMICS" \| "COMMUNICATION" \| "DATING" \| "EDUCATION" \| "ENTERTAINMENT" \| "EVENTS" \| "FINANCE" \| "FOOD_AND_DRINK" \| "HEALTH_AND_FITNESS" \| "HOUSE_AND_HOME" \| "LIBRARIES_AND_DEMO" \| "LIFESTYLE" \| "MAPS_AND_NAVIGATION" \| "MEDICAL" \| "MUSIC_AND_AUDIO" \| "NEWS_AND_MAGAZINES" \| "PARENTING" \| "PERSONALIZATION" \| "PHOTOGRAPHY" \| "PRODUCTIVITY" \| "SHOPPING" \| "SOCIAL" \| "SPORTS" \| "TOOLS" \| "TRAVEL_AND_LOCAL" \| "VIDEO_PLAYERS" \| "WEATHER" \| "GAME_ACTION" \| "GAME_ADVENTURE" \| "GAME_ARCADE" \| "GAME_BOARD" \| "GAME_CARD" \| "GAME_CASINO" \| "GAME_CASUAL" \| "GAME_EDUCATIONAL" \| "GAME_MUSIC" \| "GAME_PUZZLE" \| "GAME_RACING" \| "GAME_ROLE_PLAYING" \| "GAME_SIMULATION" \| "GAME_SPORTS" \| "GAME_STRATEGY" \| "GAME_TRIVIA" \| "GAME_WORD" | no | Google Play's category code: APPLICATION (all apps), GAME (all games), FAMILY, or one category such as FINANCE or GAME_PUZZLE. Default: `"APPLICATION"`. |
| `max_results` | integer | no | Return at most this many apps (up to 200; a chart may be shorter). Limit: 1 to 200. Default: `50`. |

- `chart` is `free`, `paid` or `grossing`. `category` is the store's own code: `APPLICATION` for all apps (the default), `GAME` for all games, `FAMILY`, or one category such as `FINANCE` or `GAME_PUZZLE`.
- `max_results` is 50 by default and goes up to 200. The store decides how long a chart is: a paid chart is often shorter than what was asked for.
- `position` is the app's place on the chart at the time of the run.

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | Its place in the list, from 1, in Google Play's order. |
| `app_id` | string | The package name, e.g. com.whatsapp. |
| `url` | string | The listing's address on Google Play. |
| `title` | string | The app's name, as shown in the language asked for. |
| `featured` | boolean | True for the single app Google Play puts above the list in a block of its own (a search that names an app, some developer pages). Such an entry carries the app's id, name and address only. Default: `false`. |
| `developer_name` | string or null | The developer's name, as the list shows it. |
| `category` | string or null | The category as shown, in the language asked for. |
| `rating` | number or null | Average rating, 0 to 5; null for an app with no rating shown. |
| `price` | object or null | The price to get the app in the country asked for; amount 0 for a free app. |
| `price.amount` | number | The amount as the store states it; 0 for a free app. |
| `price.currency` | string or null | The currency code the store gives with the amount (it follows the country asked for). |
| `free` | boolean or null | True when `price` is 0, false when it is more; null when no price was read. |
| `description` | string or null | The app's full description, as text. |
| `installs` | string or null | Installs as shown, e.g. "10,000,000+". |
| `content_rating` | string or null | The age rating as shown, e.g. "Teen". |
| `icon` | string or null | The address of the app's icon image. |
| `country` | string | The country asked for. |
| `language` | string | The language asked for. |
| `fetched_at` | string (date-time) | When the list was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/google_play.top_charts/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"chart":"paid","max_results":3}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "google_play.top_charts",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "chart": "paid",
    "max_results": 3
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "app_id": "com.tdr3.hs.android",
      "url": "https://play.google.com/store/apps/details?id=com.tdr3.hs.android",
      "title": "HotSchedules",
      "featured": false,
      "developer_name": "Fourth Enterprises, LLC",
      "category": "Productivity",
      "rating": 3.568954,
      "price": {
        "amount": 2.99,
        "currency": "USD"
      },
      "free": false,
      "description": "​HotSchedules is the industry's leading employee scheduling app because it’s the fastest and easiest way to manage your schedule and communicate with your team.\nTeam members love it because they can swap, pick-up or release shifts with one … [truncated]",
      "installs": "1,000,000+",
      "content_rating": "Everyone",
      "icon": "https://play-lh.googleusercontent.com/uJWK8zEJK37A6Db1VXs8Arv-nPe14Fs2ziMVjo6onF4p-PZQ_swdE0ycSL426vzusw1NRStEseT_rNzvtf3hGus",
      "country": "us",
      "language": "en",
      "fetched_at": "2026-11-19T18:07:40.774339Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 1,020 characters, the first 239 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the App stores scrapers](https://docs.enrichednow.com/results-and-statuses.md#app-stores) are in their own section there.
