# Chrome Web Store API

> Returns Chrome extension details, search results, category listings, related extensions and user reviews from the Chrome Web Store.

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

One Chrome extension by its id: summary, rating, users, category and the version of its latest release.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Extension id, 32 letters, such as ddkjiahejlhfcafbddmgiahcphecmpfh. (e.g. ddkjiahejlhfcafbddmgiahcphecmpfh) |
| `lang` | string | no | Language of the names and texts, such as en or fr. (default en) |
| `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: `categoryPath` (string), `homepage` (string), `icon` (string), `id` (string), `name` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `summary` (string), `updatedAt` (string), `url` (string), `users` (integer (int64)), `version` (string)

```bash
curl "https://api.hoshime.com/v1/chromewebstore/extension?id=ddkjiahejlhfcafbddmgiahcphecmpfh" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/chromewebstore/search

Chrome extensions matching a search, in the order the store lists them.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words to search for, such as ublock. (e.g. ublock) |
| `limit` | integer | no | Number of extensions, from 1 to 50. (default 10) |
| `lang` | string | no | Language of the names and texts, such as en or fr. (default en) |
| `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: `categoryPath` (string), `homepage` (string), `icon` (string), `id` (string), `name` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `summary` (string), `updatedAt` (string), `url` (string), `users` (integer (int64)), `version` (string)

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

## GET /v1/chromewebstore/category

Chrome extensions of one store category, such as productivity/workflow or make_chrome_yours/privacy. The categoryPath field of any extension is a valid value.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `category` | string | yes | Category path, such as productivity/workflow. (e.g. productivity/workflow) |
| `limit` | integer | no | Number of extensions, from 1 to 50. (default 30) |
| `lang` | string | no | Language of the names and texts, such as en or fr. (default en) |
| `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: `categoryPath` (string), `homepage` (string), `icon` (string), `id` (string), `name` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `summary` (string), `updatedAt` (string), `url` (string), `users` (integer (int64)), `version` (string)

```bash
curl "https://api.hoshime.com/v1/chromewebstore/category?category=productivity%2Fworkflow" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/chromewebstore/related

The extensions that the store lists beside one extension on its page as related, with name, rating and users.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Extension id, 32 letters, such as ddkjiahejlhfcafbddmgiahcphecmpfh. (e.g. ddkjiahejlhfcafbddmgiahcphecmpfh) |
| `lang` | string | no | Language of the names and texts, such as en or fr. (default en) |
| `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: `categoryPath` (string), `homepage` (string), `icon` (string), `id` (string), `name` (string), `rating` (number (double)), `ratingCount` (integer (int64)), `summary` (string), `updatedAt` (string), `url` (string), `users` (integer (int64)), `version` (string)

```bash
curl "https://api.hoshime.com/v1/chromewebstore/related?id=ddkjiahejlhfcafbddmgiahcphecmpfh" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/chromewebstore/reviews

The user reviews that the store shows on the reviews page of one extension: the first page the store serves. Its later pages are not followed, so there is no nextCursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Extension id, 32 letters, such as ddkjiahejlhfcafbddmgiahcphecmpfh. (e.g. ddkjiahejlhfcafbddmgiahcphecmpfh) |
| `lang` | string | no | Language of the names and texts, such as en or fr. (default en) |
| `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), `language` (string), `rating` (integer (int64)), `text` (string), `updatedAt` (string), `version` (string)

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