# Mozilla Add-ons API

> Returns Firefox add-ons, their versions, reviews, author profiles and categories.

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

Firefox add-ons matching a search, one page at a time.

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 add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

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

## GET /v1/mozillaaddons/addon

One Firefox add-on by its slug: description, authors, ratings and users.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Add-on slug, such as ublock-origin. (e.g. ublock-origin) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/addon?slug=ublock-origin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/versions

The published versions of one Firefox add-on, newest first, with the file of each.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Add-on slug, such as ublock-origin. (e.g. ublock-origin) |
| `limit` | integer | no | Number of versions, from 1 to 50. (default 10) |
| `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: `channel` (string), `fileSize` (integer (int64)), `fileStatus` (string), `fileUrl` (string), `id` (string), `license` (string), `maxFirefox` (string), `minFirefox` (string), `reviewedAt` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/versions?slug=ublock-origin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/reviews

The user reviews and ratings of one Firefox add-on, newest first.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Add-on slug, such as ublock-origin. (e.g. ublock-origin) |
| `score` | integer | no | Only reviews with this star rating, from 1 to 5. Omit it for all. |
| `limit` | integer | no | Number of reviews, from 1 to 50. (default 10) |
| `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), `isDeveloperReply` (boolean), `likeCount` (integer (int64)), `replyCount` (integer (int64)), `score` (integer (int64)), `text` (string), `version` (string)

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/reviews?slug=ublock-origin" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/author

The public profile of an add-on author: name, homepage, rating and number of add-ons.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Author username, such as gorhill. (e.g. gorhill) |
| `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: `avatarUrl` (string), `averageAddonRating` (number (double)), `bio` (string), `createdAt` (string), `followerCount` (integer (int64)), `followingCount` (integer (int64)), `homepage` (string), `id` (string), `isAddonDeveloper` (boolean), `name` (string), `numAddonsListed` (integer (int64)), `postCount` (integer (int64)), `url` (string), `username` (string), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/author?username=gorhill" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/categories

The Firefox add-on categories, the slugs the category endpoint takes.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `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), `id` (string), `name` (string), `slug` (string), `type` (string)

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

## GET /v1/mozillaaddons/category

Firefox add-ons in one category, most users first. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Category slug, such as privacy-security. See the categories endpoint. (e.g. privacy-security) |
| `limit` | integer | no | Number of add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/category?slug=privacy-security" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/tag

Firefox add-ons carrying one user tag, most users first. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tag` | string | yes | Tag, such as privacy. (e.g. privacy) |
| `limit` | integer | no | Number of add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/tag?tag=privacy" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/mozillaaddons/popular

The most used Firefox extensions, most users first. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Number of add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

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

## GET /v1/mozillaaddons/recommended

The Firefox extensions Mozilla recommends in its Recommended Extensions program, most users first. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Number of add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

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

## GET /v1/mozillaaddons/authorAddons

The Firefox add-ons one author publishes, most users first. Page with cursor.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | string | yes | Author username, such as gorhill. (e.g. gorhill) |
| `limit` | integer | no | Number of add-ons, from 1 to 50. (default 10) |
| `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: `authors` (Author[]), `authors[].avatarUrl` (string), `authors[].id` (string), `authors[].name` (string), `authors[].url` (string), `authors[].username` (string), `categories` (Label[]), `categories[].name` (string), `dailyUsers` (integer (int64)), `description` (string), `homepage` (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), `slug` (string), `summary` (string), `title` (string), `updatedAt` (string), `url` (string), `version` (string), `weeklyDownloads` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/mozillaaddons/authorAddons?username=gorhill" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
