# Aptoide API

> Returns Android app details, search results, APK versions, and store catalogs and metadata from Aptoide.

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

One Android app on Aptoide by its package name: developer, latest version, downloads and rating.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `package` | string | yes | Android package name, such as com.whatsapp. (e.g. com.whatsapp) |
| `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: `developer` (string), `downloads` (integer (int64)), `id` (string), `name` (string), `package` (string), `rating` (number (double)), `ratings` (integer (int64)), `size` (integer (int64)), `updatedAt` (string), `version` (string)

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

## GET /v1/aptoide/search

Aptoide apps matching a search, most relevant first.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search for, such as whatsapp. (e.g. whatsapp) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `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: `developer` (string), `downloads` (integer (int64)), `id` (string), `name` (string), `package` (string), `rating` (number (double)), `ratings` (integer (int64)), `size` (integer (int64)), `updatedAt` (string), `version` (string)

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

## GET /v1/aptoide/versions

Every APK build Aptoide carries for one Android package, with its checksum, minimum SDK and malware verdict.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `package` | string | yes | Android package name, such as com.whatsapp. (e.g. com.whatsapp) |
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `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: `cpus` (CPU[]), `cpus[].name` (string), `id` (string), `malwareRank` (string), `md5` (string), `minSdk` (integer (int64)), `name` (string), `package` (string), `size` (integer (int64)), `store` (string), `updatedAt` (string), `versionCode` (integer (int64)), `versionName` (string)

```bash
curl "https://api.hoshime.com/v1/aptoide/versions?package=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/aptoide/store

The apps of one Aptoide store, in the order the store lists them. Use nextCursor for the next page.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | Store name, such as apps for the official store. (e.g. apps) |
| `limit` | integer | no | Items per page, 1 to 50. (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: `developer` (string), `downloads` (integer (int64)), `id` (string), `name` (string), `package` (string), `rating` (number (double)), `ratings` (integer (int64)), `size` (integer (int64)), `updatedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/aptoide/store?store=apps" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/aptoide/stores

Aptoide stores, the app catalogues publishers run, with their app and subscriber counts. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Number of stores, from 1 to 50. (default 20) |
| `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: `appCount` (integer (int64)), `avatarUrl` (string), `bio` (string), `createdAt` (string), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `id` (string), `name` (string), `postCount` (integer (int64)), `updatedAt` (string), `url` (string), `username` (string), `verified` (boolean)

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

## GET /v1/aptoide/storeMeta

One Aptoide store: its description, app and subscriber counts and its web address.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | Store name, such as apps. (e.g. apps) |
| `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: `appCount` (integer (int64)), `avatarUrl` (string), `bio` (string), `createdAt` (string), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `id` (string), `name` (string), `postCount` (integer (int64)), `updatedAt` (string), `url` (string), `username` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/aptoide/storeMeta?store=apps" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/aptoide/appMedia

The description, screenshots, icon, feature graphic, keywords, age rating and developer website of one Android app on Aptoide.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `package` | string | yes | Android package name, such as com.whatsapp. (e.g. com.whatsapp) |
| `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: `ageRating` (string), `description` (string), `developerWebsite` (string), `featureGraphicUrl` (string), `iconUrl` (string), `keywords` (string[]), `package` (string), `screenshots` (string[]), `summary` (string)

```bash
curl "https://api.hoshime.com/v1/aptoide/appMedia?package=com.whatsapp" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
