# List top chart apps (v1)

Returns up to 200 apps from a Play Store top chart (`top-free`, `top-paid` or `top-grossing`) for `category` and `country`, in rank order, with price, rating and installs. A category with no chart in that country returns an empty `results` array.

- Platform: Google Play
- Request: `GET https://api.toolzerhub.com/v1/google-play/charts`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/google-play/get-google-play-charts

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `chart` | query | no | enum: top-free, top-paid, top-grossing | Which Play Store top chart. Default: top-free. |
| `category` | query | no | string | Play category: APPLICATION for all apps, GAME for all games, or one such as PRODUCTIVITY or GAME_PUZZLE. Default: APPLICATION. |
| `count` | query | no | integer | Number of ranks to return, up to 200. Default: 100. |
| `language` | query | no | string | Locale used for Play Store text, such as en_US. Default: en_US. |
| `country` | query | no | string | Two-letter country code used for Play Store availability. Default: US. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/google-play/charts" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
