# firefox_addons.search

A page of the add-ons addons.mozilla.org finds for words or a category, in the order asked for: name, developers, categories, daily users, rating and count of ratings, version and when it was last updated.

Firefox add-ons search, one of the Firefox add-ons scrapers.

| | |
| --- | --- |
| Id | `firefox_addons.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/firefox_addons.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | no | The words to search for. Leave it out to list a category. Limit: at least 2 characters, at most 200 characters. |
| `category` | string | no | The store's category, e.g. `privacy-security`, `tabs`, `shopping`, `social-communication`. Limit: matches ^[a-z0-9-]{2,60}$. |
| `type` | "extension" \| "statictheme" \| "dictionary" \| "language" | no | What to look for: `extension` (default), `statictheme`, `dictionary` or `language`. Default: `"extension"`. |
| `sort` | "relevance" \| "users" \| "rating" \| "newest" \| "updated" \| "trending" | no | The order: `relevance` (default; most users when there are no words), `users`, `rating`, `newest`, `updated` or `trending`. Default: `"relevance"`. |
| `max_results` | integer | no | Add-ons a page; 50 at most. Limit: 1 to 50. Default: `25`. |
| `page` | integer | no | The results page, from 1. Limit: 1 to 500. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `addon_id` | integer | The add-on's numeric id on addons.mozilla.org. |
| `slug` | string | The add-on's slug, the name in its address. `firefox_addons.addon` takes it. |
| `guid` | string or null | The add-on's identifier inside Firefox, e.g. `{446900e4-71c2-419f-a6a7-df9c091e268b}`; null when it is written as an email address, which can be a person's. |
| `url` | string | The add-on's page on addons.mozilla.org. |
| `name` | string | The add-on's name. |
| `type` | string or null | What it is: `extension`, `statictheme`, `dictionary` or `language`. |
| `summary` | string or null | The add-on's one-paragraph summary. |
| `description` | string or null | The add-on's full description, as text. |
| `categories` | array of string | The store's categories it is in, e.g. `privacy-security`. |
| `tags` | array of string | The tags the store gives it. |
| `authors` | array of string | The developers, by the names the add-on's page shows. |
| `users` | integer or null | Its average number of daily users, as the store counts them. |
| `weekly_downloads` | integer or null | Its downloads in the last week. |
| `rating` | number or null | The average rating, from 1 to 5; null for an add-on nobody has rated. |
| `rating_count` | integer or null | How many people rated it. |
| `review_count` | integer or null | How many of those ratings came with a written review. |
| `version` | string or null | The version the store serves. |
| `license` | string or null | The licence of that version, e.g. `GNU General Public License v3.0 only`. |
| `size_bytes` | integer or null | The size of that version's file, in bytes. |
| `min_firefox_version` | string or null | The oldest version of Firefox it runs on. |
| `created_at` | string (date-time) or null | When the add-on was first listed, in UTC. |
| `updated_at` | string (date-time) or null | When the add-on's listing or version was last updated, in UTC. |
| `homepage` | string or null | The website the developer names. |
| `support_url` | string or null | Where the developer takes support questions. |
| `recommended` | boolean | True when Mozilla recommends it (its Recommended badge). Default: `false`. |
| `requires_payment` | boolean or null | True when the add-on needs something paid to work. |
| `icon` | string or null | The add-on's icon. |
| `fetched_at` | string (date-time) | When the store answered, in UTC. |
| `position` | integer | The add-on's place in the whole result list, from 1. |
| `page` | integer | The results page it was on. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/firefox_addons.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"password manager","max_results":5}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "firefox_addons.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "password manager",
    "max_results": 5
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "addon_id": 735894,
      "slug": "bitwarden-password-manager",
      "guid": "{446900e4-71c2-419f-a6a7-df9c091e268b}",
      "url": "https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/",
      "name": "Bitwarden Password Manager",
      "type": "extension",
      "summary": "Securely store, share, and autofill passwords and passkeys anywhere.",
      "description": "Bitwarden is the trusted open source password manager used by millions to secure their accounts from hackers and data breaches. Generate, save, and autofill strong passwords for every account on every device.\n\nRecognized by PCMag, WIRED, … [truncated]",
      "categories": [
        "privacy-security"
      ],
      "tags": [
        "password manager",
        "security"
      ],
      "authors": [
        "Bitwarden Inc."
      ],
      "users": 1051755,
      "weekly_downloads": 30050,
      "rating": 4.5786,
      "rating_count": 9394,
      "review_count": 3160,
      "version": "2026.11.0",
      "license": "Bitwarden License Agreement",
      "size_bytes": 28129360,
      "min_firefox_version": "91.0",
      "created_at": "2016-09-23T10:26:24Z",
      "updated_at": "2026-11-19T19:27:02Z",
      "homepage": "https://bitwarden.com",
      "support_url": "https://bitwarden.com",
      "recommended": true,
      "requires_payment": false,
      "icon": "https://addons.mozilla.org/user-media/addon_icons/735/735894-64.png?modified=27707d93",
      "fetched_at": "2026-11-24T20:16:17.948009Z",
      "position": 1,
      "page": 1
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 2,056 characters, the first 237 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Firefox add-ons scrapers](https://docs.enrichednow.com/results-and-statuses.md#firefox-add-ons) are in their own section there.
