# App Store API

> Returns Apple App Store app details, search results, developer catalogs, customer reviews and top charts by country.

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

Details of one iOS, iPadOS or macOS app, by its numeric id or its bundle id: developer, genre, rating, price and version.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | no | Numeric app id, or an apps.apple.com app URL. Give id or bundleId. (e.g. 310633997) |
| `bundleId` | string | no | Bundle identifier, such as net.whatsapp.WhatsApp. Give id or bundleId. |
| `entity` | string | no | Platform record to return: software (iPhone, the default), iPadSoftware, macSoftware or tvSoftware. (one of software, iPadSoftware, macSoftware, tvSoftware) |
| `country` | string | no | Two-letter App Store country, 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: `bundleId` (string), `contentRating` (string), `description` (string), `developerId` (string), `developerUrl` (string), `formattedPrice` (string), `genre` (string), `genres` (Genre[]), `genres[].name` (string), `id` (string), `images` (Image[]), `images[].height` (any), `images[].url` (string), `images[].width` (any), `minimumOs` (string), `price` (Money), `price.amount` (string), `price.currency` (string), `rating` (number (double)), `releasedAt` (string), `reviewCount` (integer (int64)), `seller` (string), `sizeBytes` (integer (int64)), `title` (string), `updatedAt` (string), `url` (string), `version` (string)

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

## GET /v1/appstore/apps

Several apps by their numeric ids in one lookup, with their name, developer, genre, price and rating. Ids the store does not know are left out.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `ids` | string | yes | Up to 50 numeric app ids, separated by commas. (e.g. 310633997,284882215) |
| `country` | string | no | Two-letter App Store country, 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: `description` (string), `developerId` (string), `genre` (string), `id` (string), `images` (Image[]), `images[].height` (any), `images[].url` (string), `images[].width` (any), `price` (Money), `price.amount` (string), `price.currency` (string), `rating` (number (double)), `reviewCount` (integer (int64)), `seller` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/appstore/apps?ids=310633997%2C284882215" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/appstore/search

Apps that match a search in one App Store country.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. gojek) |
| `country` | string | no | Two-letter App Store country, such as us or gb. (default us) |
| `entity` | string | no | Platform: software (iPhone), iPadSoftware, macSoftware or tvSoftware. (one of software, iPadSoftware, macSoftware, tvSoftware; default software) |
| `limit` | integer | no | Results per page, 1 to 200. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `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: `description` (string), `developerId` (string), `genre` (string), `id` (string), `images` (Image[]), `images[].height` (any), `images[].url` (string), `images[].width` (any), `price` (Money), `price.amount` (string), `price.currency` (string), `rating` (number (double)), `reviewCount` (integer (int64)), `seller` (string), `title` (string), `url` (string)

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

## GET /v1/appstore/developer

A developer and the apps the App Store lists for them in one country.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Numeric developer id, or an apps.apple.com developer URL. (e.g. 284882218) |
| `country` | string | no | Two-letter App Store country, such as us or gb. (default us) |
| `entity` | string | no | Platform: software (iPhone), iPadSoftware, macSoftware or tvSoftware. (one of software, iPadSoftware, macSoftware, tvSoftware; default software) |
| `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[].description` (string), `apps[].developerId` (string), `apps[].genre` (string), `apps[].id` (string), `apps[].images` (Image[]), `apps[].price` (Money), `apps[].rating` (number (double)), `apps[].reviewCount` (integer (int64)), `apps[].seller` (string), `apps[].title` (string), `apps[].url` (string), `avatarUrl` (string), `bio` (string), `createdAt` (string), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `id` (string), `name` (string), `postCount` (integer (int64)), `url` (string), `username` (string), `verified` (boolean)

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

## GET /v1/appstore/reviews

Customer reviews of one app, most recent or most helpful first, 50 per page up to page 10.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Numeric app id, or an apps.apple.com app URL. (e.g. 310633997) |
| `country` | string | no | Two-letter App Store country, such as us or gb. (default us) |
| `sort` | string | no | Review order: mostrecent or mosthelpful. (one of mostrecent, mosthelpful; default mostrecent) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `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: `author` (Author), `author.avatarUrl` (string), `author.id` (string), `author.name` (string), `author.url` (string), `author.username` (string), `createdAt` (string), `id` (string), `likeCount` (integer (int64)), `rating` (integer (int64)), `replyCount` (integer (int64)), `text` (string), `title` (string), `version` (string)

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

## GET /v1/appstore/topCharts

The top apps of one App Store country: free, paid or grossing, ranked, optionally for one genre or for iPad.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `country` | string | no | Two-letter App Store country, such as us or gb. (default us) |
| `chart` | string | no | Which chart: free, paid or grossing; new, newFree or newPaid for the newest apps (iPhone only). (one of free, paid, grossing, new, newFree, newPaid; default free) |
| `entity` | string | no | Platform: software (iPhone), iPadSoftware, macSoftware or tvSoftware. (one of software, iPadSoftware, macSoftware, tvSoftware; default software) |
| `genre` | string | no | App Store genre id, such as 6015 for Finance. Omit it for all genres. (e.g. 6015) |
| `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` (ChartApp[]), `apps[].description` (string), `apps[].developerId` (string), `apps[].genre` (string), `apps[].id` (string), `apps[].images` (Image[]), `apps[].price` (Money), `apps[].rank` (integer (int64)), `apps[].rating` (number (double)), `apps[].releasedAt` (string), `apps[].reviewCount` (integer (int64)), `apps[].seller` (string), `apps[].title` (string), `apps[].url` (string), `chart` (string), `country` (string), `genre` (string), `updatedAt` (string)

```bash
curl "https://api.hoshime.com/v1/appstore/topCharts?genre=6015" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
