Using the Browse API, you can create a rich selection of items for your buyers to browse with keyword and category searches. You can also provides the ability to eBay members to add items and change the quantity of an item in their eBay shopping cart as well as view the contents of their eBay cart.
Browse API resources
The Browse API has the following resources:
- Lets shoppers search for specific items by keyword, GTIN, category, charity, product, or item aspects and refine the results by using filters.
- Lets you retrieve the details of a specific item or all the items in an item group, which is an item with variations such as color and size and check if a product is compatible with the specified item, such as if a specific car is compatible with a specific part.
- Provides a bridge between the eBay legacy APIs, such as Finding, and the RESTful APIs, such as Browse, which use different formats for the item IDs enabling you to retrieve the details of the item and the RESTful item ID using a legacy item ID.
- (Experimental) Lets shoppers search for specific items by image. You can refine the results by using URI parameters and filters.
- (Experimental) Provides the ability for eBay members to see the contents of their eBay cart, and add, remove, and change the quantity of items in their eBay cart. Note: This resource is not available in the eBay API Explorer.
- (Experimental) search_by_image - Retrieve basic information for an item or a group of items based on an image ID (a Base64 string) search.
- Retrieve detailed information for a purchasable items to enable users to make buying decisions. In addition to the basic item information and providing additional information about shipping, seller, etc., the item details include product review data, item location, return policy terms, and more.
- Check if a product is compatible with the specified item, such as if a specific car is compatible with a specific part.
- Provides a bridge between the RESTful Buy APIs and the legacy APIs, such as Finding.
- (Experimental) shopping_cart - Provides the ability for eBay members to see the contents of their eBay cart, add, remove, or change the quantity of items in their eBay cart.
The Browse API is designed to be used together with the Buy APIs to create cohesive shopping, browsing, buying applications. For example, your buyers can have a seamless buying experience woven into a social application. This section outlines the high-level use cases for the Browse API.
Find eBay items using search
You can find exactly the items you want to show to your shoppers by searching for items by keyword, category, eBay product ID (EPID), GTIN, or image. Or a combination of these.
Refine the search results
You can control what is returned by the search using the fieldgroups field. By default, search returns matching items. But in addition to or instead of returning items, you can choose to return the aspects (all the variations of an item such and color and size), buying options (fixed or auction), conditions, and categories of the items found. These are known as refinements. This information enables you to create histograms, which enables shoppers to drill down in each refinement narrowing the search results.
Filter the search results by item aspects
You can use the information returned in aspectDistributions to filter the results by specific aspects, such as brand.
Filter the search results by field values
You can use field filters to refine the results based on the value returned in a field, such as listing format, item condition, price range, UPC value, listing end date, location, and more. You can use multiple filters in a single method. For details about, see Buy API Field Filters.
Get the details of each item in a group or a specific item
When the item has variations, you can retrieve the details of the individual items in an item group. You can also retrieve the details of a specific item.
Get item details using a legacy item ID or SKU
You can use the item IDs returned by eBay legacy APIs, such as Shopping and Finding, to retrieve the details of the item and the RESTful item ID, which you can use with all the Buy API methods.
Add/change/remove/view items in an eBay cart
You can use the shopping_cart methods to add items to, remove items from, and change the quantity of an item an eBay member's cart on eBay. You can also retrieve all the items in the eBay member's cart. When the eBay member is ready to purchase the items, they go to the eBay site. To use this resource, you will use a User access token and get permission from the eBay member to act on their behalf, which allows you to make changes to their cart on eBay.
Please note the following constraints for the Browse API.
The Buy APIs identifiers for item and order do not match the identifiers used on the eBay site and in buyer emails. So you cannot use the Buy APIs identifiers with any of the eBay legacy APIs, such as Finding. But you can use the eBay legacy item identifiers in the Browse API getItemByLegacyId method to retrieve items. For details, see the Item ID legacy API compatibility overview in the Buying Integration Guide.
For a list of the supported eBay sites for all the Buy APIs, see Buy API Support by Marketplace.
To specify the site, set the X-EBAY-C-MARKETPLACE-ID request header to the site. For example:
X-EBAY-C-MARKETPLACE-ID = EBAY_GB
getItem method restriction
This method will return FIXED_PRICE (Buy It Now) items and AUCTION items where no bids have been placed. But after a bid has been placed, that item becomes an active auction item and is no longer returned.
Search method restrictions
The following restrictions apply to the search and searchByImage methods.
Only FIXED_PRICE (Buy It Now) items are returned. However, these methods do return items where both FIXED_PRICE and AUCTION are available as a buying option. But after a bid has been placed, that item becomes an active auction item and is no longer returned.
- The search methods can return a maximum of 10,000 items in a result set. A result set is the complete set of items returned by a method.
- You cannot use a wildcard (
*) in search method requests. For example, the following is not allowed:
shopping_cart resource restrictions
The following lists the restrictions that apply to the shopping_cart resource:
The end user must have an eBay account.
To be added to an eBay cart, the item must be a fixed price (no auctions) item that accepts PayPal payments.
An eBay member can have multiple carts but only one cart per site per member. Once a cart is created, is does not expire but it can be deleted.
eBay policies and rules
Although the eBay Buy APIs are available for anyone to use in eBay's sandbox environment, use of the APIs in production is restricted. Users must meet standard eligibility requirements, get approvals from eBay support organizations, and sign contracts with eBay and PayPal to access the Buy APIs in production.
See Production eligibility requirements in the Buying Integration Guide for more information.
The Browse API limits the number of calls that can be made per day on behalf of your application. For the current application rate limits, see the eBay API Call Limits page.