# Firefox Add-ons versions API

Get Firefox Add-on Versions data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including version string, release timestamp, and version file link for release history, and file catalogue, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/firefox-add-ons/firefox-add-ons-versions-api/1a084066-c722-42b1-8e69-0ad38c5c4fa7/
API ID: 1a084066-c722-42b1-8e69-0ad38c5c4fa7
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/firefox-addons/v1/versions
Page update time: 2026-12-03T02:45:22.620Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:22.021Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Firefox Add-on Versions API

Use id to select the add-on and page plus limit to traverse versions. Each version retains its own release, compatibility, license and file attributes instead of reusing current-version metadata for the entire history.

## What You Can Build

- **Release history**: Compare version-specific release and review metadata.
- **File catalogue**: Retain each file URL with its version and checksum metadata.

## Returned Data

| Field | Meaning |
| --- | --- |
| `versions[].version` | Version string |
| `versions[].released_at` | Release timestamp |
| `versions[].compatibility` | Application compatibility for this version |
| `versions[].file.url` | Version file link |
| `next_page` | Next page number or null |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Firefox Add-ons versions API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Add-on slug, numeric id, GUID or addons.mozilla.org link."
        },
        "lang": {
          "type": "string",
          "description": "Language for names and descriptions (default en-US), e.g. de, fr, ja, pt-BR."
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1). Pass `next_page` back as `page`; null on the last page."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page, 1-50 (default 25)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "addon": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "page_count": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "versions": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "channel": {
                "type": "string"
              },
              "compatibility": {
                "type": "object",
                "properties": {
                  "android": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "string"
                      },
                      "min": {
                        "type": "string"
                      }
                    }
                  },
                  "firefox": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "string"
                      },
                      "min": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "file": {
                "type": "object",
                "properties": {
                  "created_at": {
                    "type": "string"
                  },
                  "data_collection_permissions": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "hash": {
                    "type": "string"
                  },
                  "host_permissions": {
                    "type": "array",
                    "items": {}
                  },
                  "id": {
                    "type": "integer"
                  },
                  "is_mozilla_signed": {
                    "type": "boolean"
                  },
                  "optional_data_collection_permissions": {
                    "type": "array",
                    "items": {}
                  },
                  "optional_permissions": {
                    "type": "array",
                    "items": {}
                  },
                  "permissions": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "size_bytes": {
                    "type": "integer"
                  },
                  "status": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "id": {
                "type": "integer"
              },
              "is_strict_compatibility": {
                "type": "boolean"
              },
              "license": {
                "type": "object",
                "properties": {
                  "is_custom": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              },
              "release_notes": {
                "type": "null"
              },
              "released_at": {
                "type": "string"
              },
              "reviewed_at": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/firefox-addons/v1/versions?id=ublock-origin&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "addon": "ublock-origin",
  "cached": false,
  "count": 25,
  "credits_used": 1,
  "next_page": 2,
  "page": 1,
  "page_count": 7,
  "total": 153,
  "versions": [
    {
      "channel": "listed",
      "compatibility": {
        "android": {
          "max": "*",
          "min": "115.0"
        },
        "firefox": {
          "max": "*",
          "min": "115.0"
        }
      },
      "file": {
        "created_at": "2026-11-03T13:56:57Z",
        "data_collection_permissions": [
          "none"
        ],
        "hash": "sha256:e2df503cce7cf5069130618c349695f62bdddb9eb8c189156d027269ae4ae267",
        "host_permissions": [],
        "id": 5203014,
        "is_mozilla_signed": false,
        "optional_data_collection_permissions": [],
        "optional_permissions": [],
        "permissions": [
          "alarms",
          "dns",
          "… 21 more"
        ],
        "size_bytes": 6343923,
        "status": "public",
        "url": "https://addons.mozilla.org/firefox/downloads/file/5203014/ublock_origin-1.75.4.xpi"
      },
      "id": 6658919,
      "is_strict_compatibility": false,
      "license": {
        "is_custom": false,
        "name": "GNU General Public License v3.0 only",
        "slug": "GPL-3.0-only",
        "url": "https://spdx.org/licenses/GPL-3.0-only.html"
      },
      "release_notes": null,
      "released_at": "2026-11-03T13:56:57Z",
      "reviewed_at": "2026-11-03T14:01:23Z",
      "version": "1.75.4"
    },
    {
      "channel": "listed",
      "compatibility": {
        "android": {
          "max": "*",
          "min": "115.0"
        },
        "firefox": {
          "max": "*",
          "min": "115.0"
        }
      },
      "file": {
        "created_at": "2026-11-02T16:41:35Z",
        "data_collection_permissions": [
          "none"
        ],
        "hash": "sha256:b941eac9ac4b156edefa9273bdf5a313204919f751e1a86b8c81e254b9471599",
        "host_permissions": [],
        "id": 5199068,
        "is_mozilla_signed": false,
        "optional_data_collection_permissions": [],
        "optional_permissions": [],
        "permissions": [
          "alarms",
          "dns",
          "… 21 more"
        ],
        "size_bytes": 6329324,
        "status": "public",
        "url": "https://addons.mozilla.org/firefox/downloads/file/5199068/ublock_origin-1.75.2.xpi"
      },
      "id": 6654971,
      "is_strict_compatibility": false,
      "license": {
        "is_custom": false,
        "name": "GNU General Public License v3.0 only",
        "slug": "GPL-3.0-only",
        "url": "https://spdx.org/licenses/GPL-3.0-only.html"
      },
      "release_notes": null,
      "released_at": "2026-11-02T16:41:35Z",
      "reviewed_at": "2026-11-02T16:46:12Z",
      "version": "1.75.2"
    },
    "… 23 more"
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How is the add-on selected?
Use id with a slug, numeric ID, GUID or Mozilla add-on page link.

### How many versions can I request?
Set limit from 1 to 50, default 25. Start page at 1 and follow next_page.

### Does every release have the same compatibility?
No. Read compatibility within each version rather than applying the current release range to older releases.

### Can release notes or review timestamps be absent?
Yes. Preserve null values for optional release_notes or reviewed_at; absence is not an empty release or proof of rejection.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/firefox-add-ons/firefox-add-ons-versions-api/1a084066-c722-42b1-8e69-0ad38c5c4fa7/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
