# Google Play API

> Returns Android app details, search results, developer pages, similar apps, category listings and user reviews from Google Play.

Category: Developer & Tech. Region: global. 9 endpoints at `https://api.hoshime.com/v1/googleplay/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/googleplay
## GET /v1/googleplay/app

Details of one Android app: developer, category, rating, price and installs.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Package name, such as com.duolingo, or a play.google.com details URL. (e.g. com.whatsapp) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `contentRating` (string), `currency` (string), `description` (string), `developer` (string), `developerId` (string), `icon` (string), `id` (string), `installs` (string), `name` (string), `price` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `updatedAt` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/app?id=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/search

Apps that match a search, in the order Google Play lists them. Google serves one page of results, so there is no nextCursor.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. gojek) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `contentRating` (string), `developer` (string), `icon` (string), `id` (string), `installs` (string), `name` (string), `rating` (number (double)), `summary` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/search?query=gojek" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/developer

A developer and the apps of theirs that the developer page lists.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Numeric developer id, or a play.google.com developer URL. (e.g. 5700313618786177705) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `apps` (AppSummary[]), `apps[].category` (string), `apps[].contentRating` (string), `apps[].developer` (string), `apps[].icon` (string), `apps[].id` (string), `apps[].installs` (string), `apps[].name` (string), `apps[].rating` (number (double)), `apps[].summary` (string), `id` (string), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/developer?id=5700313618786177705" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/similar

Apps that the Play Store lists as similar to one app, from the "Similar apps" section of its page.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Package name, such as com.whatsapp, or a play.google.com details URL. (e.g. com.whatsapp) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `contentRating` (string), `developer` (string), `icon` (string), `id` (string), `installs` (string), `name` (string), `rating` (number (double)), `summary` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/similar?id=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/discover

The apps that Google Play shows on its home page, or on the page of one category such as FINANCE or GAME_ACTION.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `category` | string | no | Play category id, such as FINANCE or GAME_ACTION. Omit it for the home page. (e.g. FINANCE) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `contentRating` (string), `developer` (string), `icon` (string), `id` (string), `installs` (string), `name` (string), `rating` (number (double)), `summary` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/discover?category=FINANCE" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/reviews

User reviews of one Android app, newest first by default. Use nextCursor for the next page.

Scope: `social:read` · Units: 1 · Cached: 15 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Package name, such as com.whatsapp, or a play.google.com details URL. (e.g. com.whatsapp) |
| `sort` | string | no | Review order: newest, rating or helpful. (one of newest, rating, helpful; default newest) |
| `limit` | integer | no | Reviews per page, from 1 to 100. (default 20) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `appVersion` (string), `author` (string), `createdAt` (string), `id` (string), `rating` (integer (int64)), `text` (string), `thumbs` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/googleplay/reviews?id=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/dataSafety

The data safety section of an app's page: the data the developer says it collects and shares, and its security practices.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Package name, such as com.whatsapp, or a play.google.com details URL. (e.g. com.whatsapp) |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `items` (SafetyItem[]), `items[].detail` (string), `items[].title` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/dataSafety?id=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/topCharts

The apps on the Google Play top charts page, store-wide or for one category such as FINANCE: the top free, paid and grossing shelves, in the order the page lists them.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `category` | string | no | Play category id, such as FINANCE or GAME_ACTION. Omit it for all categories. |
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `category` (string), `contentRating` (string), `developer` (string), `icon` (string), `id` (string), `installs` (string), `name` (string), `rating` (number (double)), `summary` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/topCharts" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/googleplay/categories

The app categories that the Google Play navigation links, with the id each one takes in discover and similar calls, such as FINANCE.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `lang` | string | no | Language of the texts, two letters, such as en or fr. (default en) |
| `gl` | string | no | Country of the store, two letters, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/googleplay/categories" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
