# Firefox Add-ons on Onekey > 6 endpoints for Firefox Add-ons (6 stable, 0 beta), 1 to 5 credits each. Category: Developer platforms. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/amo Reference (Markdown): https://onekey.dev/docs/api/amo.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 6 mapped Firefox Add-ons endpoints return each: - `content.createdAt` (ISO 8601 date): 6 - `package.version` (string): 6 - `entity.id` (string): 5 - `entity.stats.rating` (number): 5 - `content.updatedAt` (ISO 8601 date): 4 - `entity.description` (string): 4 - `entity.name` (string): 4 - `entity.slug` (string): 4 - `entity.stats.ratingCount` (integer): 4 - `entity.tags` (list of strings): 4 - `entity.type` (string): 4 - `entity.url` (URL): 4 - `media.thumbnailUrl` (URL): 4 - `content.text` (string): 2 - `author.username` (string): 1 - `content.id` (string): 1 - `media.url` (URL): 1 - plus 8 platform-specific fields under `ext.` ## Endpoints ### amo.addon Firefox add-on details by slug or id (AMO). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/amo/addon?slug=ublock-origin` with header `x-api-key: YOUR_API_KEY` - Parameters: - `slug` (string, required): Add-on slug or numeric id, e.g. ublock-origin - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.url`, `entity.type`, `package.version`, `entity.stats.rating`, `entity.stats.ratingCount`, `content.createdAt`, `content.updatedAt`, `entity.tags`, `media.thumbnailUrl`, `entity.description`, `ext.entitySummary`, `ext.developer`, `ext.users`, `ext.weeklyDownloads` - Reference: https://onekey.dev/docs/api/amo/addon.md ### amo.reviews User reviews of a Firefox add-on (AMO). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amo/reviews?slug=ublock-origin` with header `x-api-key: YOUR_API_KEY` - Parameters: - `slug` (string, required): Add-on slug or numeric id, e.g. ublock-origin - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.username`, `entity.stats.rating`, `package.version`, `ext.latestVersionReview` - Reference: https://onekey.dev/docs/api/amo/reviews.md ### amo.search Search Firefox add-ons (AMO). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amo/search?q=dark` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.url`, `entity.type`, `package.version`, `entity.stats.rating`, `entity.stats.ratingCount`, `content.createdAt`, `content.updatedAt`, `entity.tags`, `media.thumbnailUrl`, `ext.developer`, `ext.users`, `ext.weeklyDownloads` - Reference: https://onekey.dev/docs/api/amo/search.md ### amo.top_extensions Most-used Firefox extensions (AMO). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amo/top_extensions` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.url`, `entity.type`, `package.version`, `entity.stats.rating`, `entity.stats.ratingCount`, `content.createdAt`, `content.updatedAt`, `entity.tags`, `media.thumbnailUrl`, `ext.developer`, `ext.users`, `ext.weeklyDownloads` - Reference: https://onekey.dev/docs/api/amo/top_extensions.md ### amo.top_themes Most-used Firefox themes (AMO). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amo/top_themes` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.slug`, `entity.description`, `entity.url`, `entity.type`, `package.version`, `entity.stats.rating`, `entity.stats.ratingCount`, `content.createdAt`, `content.updatedAt`, `entity.tags`, `media.thumbnailUrl`, `ext.developer`, `ext.users`, `ext.weeklyDownloads` - Reference: https://onekey.dev/docs/api/amo/top_themes.md ### amo.versions Published versions of a Firefox add-on (AMO). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/amo/versions?slug=ublock-origin` with header `x-api-key: YOUR_API_KEY` - Parameters: - `slug` (string, required): Add-on slug or numeric id, e.g. ublock-origin - Fields returned: `entity.id`, `package.version`, `content.createdAt`, `content.text`, `media.url`, `ext.sizeBytes`, `ext.minFirefox`, `ext.maxFirefox` - Reference: https://onekey.dev/docs/api/amo/versions.md ## Sample request ```bash curl "https://api.onekey.dev/v1/amo/addon?slug=ublock-origin" \ -H "x-api-key: YOUR_API_KEY" ```