Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIFirefox add-ons

    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.

    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; what a run costs is in Usage and units.

    Inputs

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

    Inputs of firefox_addons.search
    FieldTypeDescription
    querystringThe words to search for. Leave it out to list a category.Limit: at least 2 characters, at most 200 characters.
    categorystringThe store's category, e.g. privacy-security, tabs, shopping, social-communication.Limit: matches ^[a-z0-9-]{2,60}$.
    type"extension" | "statictheme" | "dictionary" | "language"What to look for: extension (default), statictheme, dictionary or language.Default: "extension".
    sort"relevance" | "users" | "rating" | "newest" | "updated" | "trending"The order: relevance (default; most users when there are no words), users, rating, newest, updated or trending.Default: "relevance".
    max_resultsintegerAdd-ons a page; 50 at most.Limit: 1 to 50. Default: 25.
    pageintegerThe 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.

    Record fields of firefox_addons.search
    FieldTypeNotes
    addon_idintegerThe add-on's numeric id on addons.mozilla.org.
    slugstringThe add-on's slug, the name in its address. firefox_addons.addon takes it.
    guidstring or nullThe 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.
    urlstringThe add-on's page on addons.mozilla.org.
    namestringThe add-on's name.
    typestring or nullWhat it is: extension, statictheme, dictionary or language.
    summarystring or nullThe add-on's one-paragraph summary.
    descriptionstring or nullThe add-on's full description, as text.
    categoriesarray of stringThe store's categories it is in, e.g. privacy-security.
    tagsarray of stringThe tags the store gives it.
    authorsarray of stringThe developers, by the names the add-on's page shows.
    usersinteger or nullIts average number of daily users, as the store counts them.
    weekly_downloadsinteger or nullIts downloads in the last week.
    ratingnumber or nullThe average rating, from 1 to 5; null for an add-on nobody has rated.
    rating_countinteger or nullHow many people rated it.
    review_countinteger or nullHow many of those ratings came with a written review.
    versionstring or nullThe version the store serves.
    licensestring or nullThe licence of that version, e.g. GNU General Public License v3.0 only.
    size_bytesinteger or nullThe size of that version's file, in bytes.
    min_firefox_versionstring or nullThe oldest version of Firefox it runs on.
    created_atstring (date-time) or nullWhen the add-on was first listed, in UTC.
    updated_atstring (date-time) or nullWhen the add-on's listing or version was last updated, in UTC.
    homepagestring or nullThe website the developer names.
    support_urlstring or nullWhere the developer takes support questions.
    recommendedbooleanTrue when Mozilla recommends it (its Recommended badge).Default: false.
    requires_paymentboolean or nullTrue when the add-on needs something paid to work.
    iconstring or nullThe add-on's icon.
    fetched_atstring (date-time)When the store answered, in UTC.
    positionintegerThe add-on's place in the whole result list, from 1.
    pageintegerThe results page it was on.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    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}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("firefox_addons.search", {
        "query": "password manager",
        "max_results": 5,
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("firefox_addons.search", {
      query: "password manager",
      max_results: 5,
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "firefox_addons.search", map[string]any{"query": "password manager", "max_results": 5})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("firefox_addons.search", Map.of("query", "password manager", "max_results", 5));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run firefox_addons.search --input 'query=password manager' --input max_results=5

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Firefox add-ons scrapers are in their own section there.