# 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
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/mozilla-addons-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Mozilla Firefox Add-ons Scraper",
        "description": "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.",
        "version": "1.0",
        "x-build-id": "2Su1jZugORAtuoDUA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~mozilla-addons-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-mozilla-addons-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~mozilla-addons-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-mozilla-addons-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~mozilla-addons-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-mozilla-addons-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "getBySlug"
                        ],
                        "type": "string",
                        "description": "What to fetch: search the add-ons directory, or look up specific add-ons by slug.",
                        "default": "search"
                    },
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Text query to search for add-ons (mode=search). Example: \"ublock\", \"ad blocker\", \"dark theme\"."
                    },
                    "addonType": {
                        "title": "Add-on type",
                        "enum": [
                            "",
                            "extension",
                            "statictheme",
                            "dictionary",
                            "language"
                        ],
                        "type": "string",
                        "description": "Filter by add-on type (mode=search).",
                        "default": ""
                    },
                    "category": {
                        "title": "Category",
                        "enum": [
                            "",
                            "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"
                        ],
                        "type": "string",
                        "description": "Filter by category slug (mode=search). Only applicable when addonType is set (AMO API requires type when filtering by category).",
                        "default": ""
                    },
                    "sort": {
                        "title": "Sort order",
                        "enum": [
                            "",
                            "recommended",
                            "relevance",
                            "rating",
                            "users",
                            "created",
                            "updated",
                            "name"
                        ],
                        "type": "string",
                        "description": "Sort order for search results (mode=search).",
                        "default": "recommended"
                    },
                    "slugs": {
                        "title": "Slugs or GUIDs (mode=getBySlug)",
                        "type": "array",
                        "description": "List of add-on slugs (e.g. \"ublock-origin\") or GUIDs (e.g. \"{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}\") to fetch individually.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of add-on records to scrape.",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
