Marketplace API
  • Overview
    • Requests
      • Verbs
      • Versions
      • Modifying Results
        • Carrier
        • Region
        • Language
        • Device
    • Responses
      • Data errors
      • Rate limiting
      • Other errors
      • Listings
      • Listing response meta
      • Listing query params
      • Listing response objects
        • Translations
      • Cross Origin
      • Timestamps
  • Abuse and reporting
    • Report An Abusive App
    • Report An Abusive User
    • Report A Website
  • Accounts
    • Account
    • Feedback
    • Newsletter signup
    • Operator Permissions
    • Sign Developer Agreement
  • App Features
    • Features List
  • App Submission
    • How to submit an app
    • App Validation
    • Creating an App
    • Screenshots or videos
    • Content ratings
    • Enabling an App
  • Apps
    • App Submission
    • App
    • Updating an App Icon
    • Versions
    • Payments
    • Manifest refresh
  • Authentication
    • Shared Secret
      • Login
      • Logout
    • OAuth
      • Web sites
      • Command-line tools
    • Production server
    • Development server
    • Using OAuth Tokens
      • Example clients
  • Communication
    • App
    • Thread
    • Note
      • List ordering params
    • Attachment
  • Content Ratings
    • Content Rating
  • Export
    • Collection Format
  • Feed
    • Feed
    • Feed Items
      • List
      • Detail
      • Create
      • Update
      • Delete
    • Feed Apps
      • List
      • Detail
      • Create
      • Update
      • Delete
      • Feed App Image
    • Feed Brands
      • List
      • Detail
      • Create
      • Update
      • Delete
    • Feed Collections
      • List
      • Detail
      • Create
      • Update
      • Delete
    • Operator Shelf
      • List
      • List User’s
      • Detail
      • Create
      • Update
      • Delete
      • Image
    • Builder
    • Feed Element Search
  • Firefox OS Add-ons
    • Add-on
      • Detail
      • List
      • Update
      • Search
      • Delete
      • Blocking and Unblocking
    • Add-on Versions
      • Detail
      • List
      • Delete
    • Add-on Statuses
    • Add-on and Add-on Version Submission
      • Validation
      • Add-on Creation
      • Add-on Version Creation
    • Add-ons Review Queue
      • List
      • Publishing
      • Rejecting
  • Fireplace
    • App
    • Error reporter
    • Search
    • Featured Search
    • Multi Search
    • Consumer Information
  • Games
    • Daily Games
    • Featured Game Listings
  • Langpacks
    • List
    • Detail
    • Langpack properties edition
    • Deletion
    • Creation
    • Package update
  • Late Customization
  • Payments
    • Configuring payment accounts
    • Upsell
    • In-app products
    • Preparing payment
    • Signature Check
    • Payment status
    • Installing
      • Free apps
      • Premium apps
        • Developers
        • Reviewers
    • Receipt Testing
    • Receipt reissue
    • Price Tiers
      • Localized tier
    • Product Icons
    • Transaction failure
  • Ratings
    • List
    • Detail
    • Create
    • Update
    • Delete
    • Flagging as spam
  • Reviewers
    • Reviewer Search
    • Reviewing
    • Mini-Manifest
    • Canned Responses
    • Reviewer Scores
  • Rocketfuel
    • Collections
      • Listing
      • Create
      • Detail
      • Update
      • Duplicate
      • Delete
      • Add Apps
      • Remove Apps
      • Reorder Apps
      • Image
    • Curators
      • Listing
      • Add Curator
      • Remove Curator
  • Search
    • Search
    • Multi-Search
    • Feature Profile Signatures
  • Site
    • Categories
    • Carriers
    • Regions
    • Configuration
    • Price tiers
  • Statistics
    • Global Statistics
      • Metrics
        • Apps added by packaging type
        • Apps added by premium type
        • Apps available by packaging type
        • Apps available by premium type
        • Apps installed
        • Total developers
        • Total visits
        • Ratings
        • Abuse Reports
        • Gross Revenue
    • Per-app Statistics
      • Metrics
        • Installs
        • Visits
        • Ratings
        • Average ratings
        • Abuse Reports
        • Gross Revenue
    • Totals Statistics
      • Metrics
        • Global totals
        • Per-app totals
  • Transactions
    • Transaction
  • TV
    • App
    • Website
    • Multi Search
  • Websites
    • Website
    • Website Submission
 
Marketplace API
  • Docs »
  • Search
  • Edit on GitHub

Search¶

This API allows search for apps by various properties.

Search¶

GET /api/v2/apps/search/¶

Request

Parameters:
  • q (string) – The query string to search for.
  • cat (int|string) – The category slug to filter by. Use the category API to find the category slugs.
  • dev (string) – Filters by supported device. One of ‘desktop’, ‘android’, or ‘firefoxos’.
  • device (string) – Enables additional filtering by device profile if device is ‘android’. One of ‘mobile’ or ‘tablet’.
  • pro (string) – A feature profile describing the features to filter by.
  • premium_types (string) – Filters by whether the app is free or premium or has in-app purchasing. Any of ‘free’, ‘free-inapp’, ‘premium’, ‘premium-inapp’, or ‘other’ [1].
  • app_type (string) – Filters by types of web apps. Any of ‘hosted’, ‘packaged’, or ‘privileged’.
  • manifest_url (string) – Filters by manifest URL. Requires an exact match and should only return a single result if a match is found.
  • installs_allowed_from – Filters apps by the manifest ‘installs_allowed_from’ field. The only supported value is ‘*’.
  • offline (string) – Filters by whether the app works offline or not. ‘True’ to show offline-capable apps; ‘False’ to show apps requiring online support; any other value will show all apps unfiltered by offline support.
  • languages (string) – Filters apps by a supported language. Language codes should be provided in ISO 639-1 format, using a comma-separated list if supplying multiple languages.
  • author (string) – Filters by author. Requires a case-insensitive exact match of the author field.
  • region (string) – Filters apps by a supported region. A region code should be provided in ISO 3166 format (e.g., pl). In API v1 (and only v1), if not provided, the region is automatically detected via requesting IP address. To disable automatic region detection, None may be passed.
  • guid (string) – Filter for a specific app by Marketplace GUID.
  • sort (string) – The fields to sort by. One or more of ‘created’, ‘downloads’, ‘name’, ‘rating’, ‘reviewed’, or ‘trending’. Sorts by relevance by default. In every case except ‘name’, sorting is done in descending order.

Response

Parameters:
  • meta (object) – Listing response meta.
  • objects (array) – A listing of apps, with the following additional fields:
{
    "absolute_url": https://marketplace.firefox.com/app/my-app/",
}
Status Codes:
  • 200 OK – successfully completed.

Multi-Search¶

This API allows search for mixed content by various properties. Content types include webapps and websites.

GET /api/v2/multi-search/¶
Parameters:
  • doc_type (optionnal) (string) – The type of content to search for, separated by a comma (without spaces). Defaults to webapp,website if absent or invalid. Supported content types: webapp, website and extension.

Response

Similar to Search API but the objects field can contain:

  • Apps if doc_type includes webapp;
  • Websites if doc_type includes website;
  • Firefox OS Add-ons if doc_type includes extension.

Feature Profile Signatures¶

Feature profile signatures indicate what features a device supports or does not support, so the search results can exclude apps that require features your device doesn’t provide.

The format of a signature is FEATURES.SIZE.VERSION, where FEATURES is a bitfield in hexadecimal, SIZE is its length in bits as a decimal number, and VERSION is a decimal number indicating the version of the features table.

Each bit in the features bitfield represents the presence or absence of a feature. New features will always be added as the least significant bit.

Feature table version 8:

bit position feature
0 UDP Sockets
1 OpenMobile ACL
2 NFC
3 1GB RAM Device
4 512MB RAM Device
5 Asm.js Precompilation
6 Mobile ID
7 Multiple Network Information
8 Third-Party Keyboard Support
9 TCP Sockets
10 SystemXHR
11 Alarms
12 Notifications
13 Pointer Lock
14 Web Speech Recognition
15 Web Speech Synthesis
16 WebRTC PeerConnection
17 WebRTC DataChannel
18 WebRTC MediaStream
19 Screen Capture
20 Microphone
21 Camera
22 Quota Management
23 Gamepad
24 Full Screen
25 WebM
26 H.264
27 Web Audio
28 Audio
29 MP3
30 Smartphone-Sized Displays (qHD)
31 Touch
32 WebSMS
33 WebFM
34 Vibration
35 Time/Clock
36 Screen Orientation
37 Simple Push
38 Proximity
39 Network Stats
40 Network Information
41 Idle
42 Geolocation
43 IndexedDB
44 Device Storage
45 Contacts
46 Bluetooth
47 Battery
48 Archive
49 Ambient Light Sensor
50 Web Activities
51 Web Payment
52 Packaged Apps Install API
53 App Management API

For example, a device with only the ‘App Management API’, ‘Proximity’, ‘Ambient Light Sensor’, and ‘Vibration’ features enabled would send this feature profile signature:

11002200000000.53.8
[1]other denotes a payment system other than the Firefox Marketplace payments. This field is not currently populated by the Marketplace Developer Hub.
Next Previous

© Copyright 2015, The Marketplace Crew.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.