# Mozilla Firefox Add-ons Scraper (`crawlerbros/mozilla-addons-scraper`) Actor

Scrape Mozilla Firefox Add-ons (AMO) - search thousands of extensions, themes, and language packs, or fetch specific add-ons by slug. Extracts full metadata: ratings, downloads, version info, authors, screenshots, and more.

- **URL**: https://apify.com/crawlerbros/mozilla-addons-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, Developer tools, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Mozilla Firefox Add-ons Scraper

Scrape the [Mozilla Firefox Add-ons (AMO)](https://addons.mozilla.org/) directory using the official public API. Search thousands of extensions, themes, language packs, and dictionaries — or fetch specific add-ons by slug. No authentication required.

### What does it do?

This actor extracts full metadata for Firefox add-ons from `addons.mozilla.org`, including:

- Add-on name, type, summary, and description
- Ratings (average, count, text reviews)
- Weekly download numbers
- Current version info (version number, license, release notes, file size)
- Author details (name, profile URL)
- Screenshots and icon URLs
- Category classifications
- Recommendation status
- Homepage and support URLs
- Creation and last-updated timestamps

### Output example

```json
{
  "guid": "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}",
  "slug": "ublock-origin",
  "addonId": 607454,
  "name": "uBlock Origin",
  "summary": "Finally, an efficient wide-spectrum content blocker.",
  "addonType": "extension",
  "status": "public",
  "categories": ["privacy-security"],
  "authors": [
    {
      "name": "Raymond Hill",
      "url": "https://addons.mozilla.org/en-US/firefox/user/11423598/",
      "username": "gorhill"
    }
  ],
  "ratingsAverage": 4.8,
  "ratingsCount": 18000,
  "ratingsTextCount": 3000,
  "weeklyDownloads": 10654198,
  "isRecommended": true,
  "promoted": ["recommended"],
  "currentVersion": {
    "version": "1.71.0",
    "releaseNotes": "Bug fixes and performance improvements.",
    "license": {
      "name": "GNU General Public License v3.0 only",
      "slug": "GPL-3.0-only",
      "url": "https://spdx.org/licenses/GPL-3.0-only.html"
    },
    "file": {
      "url": "https://addons.mozilla.org/firefox/downloads/file/4814095/ublock_origin-1.71.0.xpi",
      "size": 4504632
    }
  },
  "iconUrl": "https://addons.cdn.mozilla.net/user-media/addon_icons/607/607454-128.png",
  "screenshots": [
    {
      "url": "https://addons.cdn.mozilla.net/user-media/previews/full/123/screenshot.png",
      "caption": "Main interface"
    }
  ],
  "reviewUrl": "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/reviews/",
  "homepage": "https://github.com/gorhill/uBlock",
  "sourceUrl": "https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/",
  "createdAt": "2015-04-25T07:26:22Z",
  "updatedAt": "2026-05-20T12:37:51Z",
  "recordType": "addon",
  "scrapedAt": "2026-05-30T12:00:00+00:00"
}
```

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `mode` | select | Yes | `search` — search the directory; `getBySlug` — fetch by slug/GUID |
| `query` | text | No | Search query (mode=search). Example: `"ublock"`, `"dark theme"` |
| `addonType` | select | No | Filter by type: extension, statictheme, theme, language, dict |
| `category` | text | No | Category slug. Examples: `privacy-security`, `bookmarks`, `tabs`, `web-development` |
| `sort` | select | No | Sort: recommended, relevance, rating, users, created, updated, name, trending |
| `slugs` | list | No | Slugs or GUIDs for `getBySlug` mode. Example: `["ublock-origin", "dark-reader"]` |
| `maxItems` | integer | No | Max records to return (1–10000, default 100) |

### Modes

#### Search mode

Search the Firefox add-ons directory. Supports text search, type filtering, category filtering, and sort order.

```json
{
  "mode": "search",
  "query": "password manager",
  "addonType": "extension",
  "sort": "users",
  "maxItems": 50
}
```

#### Fetch by slug (getBySlug mode)

Fetch specific add-ons by their AMO slug or GUID.

```json
{
  "mode": "getBySlug",
  "slugs": ["ublock-origin", "dark-reader", "bitwarden-password-manager"]
}
```

### Use cases

- **Browser extension research** — compile competitive analysis of popular Firefox extensions
- **Security auditing** — find privacy and security tools in the Firefox ecosystem
- **Developer monitoring** — track your add-on's ratings, downloads, and review count over time
- **Content moderation research** — analyze categories and types of browser extensions
- **Market research** — understand which add-ons users download most in specific categories

### FAQ

**Does this require API keys or authentication?**
No. The Mozilla AMO API is fully public. No API key, login, or proxy needed.

**How many add-ons can I scrape?**
AMO has thousands of add-ons. Set `maxItems` up to 10,000. Search results are paginated automatically.

**What add-on types are available?**
Extensions (`extension`), Static Themes (`statictheme`), Legacy Themes (`theme`), Language Packs (`language`), and Dictionaries (`dict`).

**What categories can I filter by?**
Common categories include: `alerts-updates`, `bookmarks`, `download-management`, `feeds-news-blogging`, `games-entertainment`, `language-support`, `photos-music-videos`, `privacy-security`, `search-tools`, `shopping`, `social-communication`, `tabs`, `web-development`, `other`.

**Is the data real-time?**
Yes, data is fetched live from addons.mozilla.org when you run the actor.

**Can I fetch a specific add-on?**
Yes — use `getBySlug` mode with the add-on's slug (e.g., `ublock-origin`) or GUID (e.g., `{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}`).

# Actor input Schema

## `mode` (type: `string`):

What to fetch: search the add-ons directory, or look up specific add-ons by slug.

## `query` (type: `string`):

Text query to search for add-ons (mode=search). Example: "ublock", "ad blocker", "dark theme".

## `addonType` (type: `string`):

Filter by add-on type (mode=search).

## `category` (type: `string`):

Filter by category slug (mode=search). Only applicable when addonType is set (AMO API requires type when filtering by category).

## `sort` (type: `string`):

Sort order for search results (mode=search).

## `slugs` (type: `array`):

List of add-on slugs (e.g. "ublock-origin") or GUIDs (e.g. "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}") to fetch individually.

## `maxItems` (type: `integer`):

Maximum number of add-on records to scrape.

## Actor input object example

```json
{
  "mode": "search",
  "query": "ublock",
  "addonType": "",
  "category": "",
  "sort": "recommended",
  "slugs": [],
  "maxItems": 100
}
```

# Actor output Schema

## `addons` (type: `string`):

Dataset containing all scraped Firefox add-on records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "query": "ublock",
    "addonType": "",
    "category": "",
    "sort": "recommended",
    "slugs": [],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/mozilla-addons-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "query": "ublock",
    "addonType": "",
    "category": "",
    "sort": "recommended",
    "slugs": [],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/mozilla-addons-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "query": "ublock",
  "addonType": "",
  "category": "",
  "sort": "recommended",
  "slugs": [],
  "maxItems": 100
}' |
apify call crawlerbros/mozilla-addons-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/mozilla-addons-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KtnCmfo337cqYAcAX/builds/2Su1jZugORAtuoDUA/openapi.json
