The Feed API gives you the ability to:
- Download an entire category of items from a specific eBay marketplace.
- Curate the items off-line by item aspects, price, product, payment method, ship to location, etc.
- Keep the item information up-to-date using hourly feed files..
Using the Feed API, you can create a rich selection of items and products for your buyers. The Item feeds enable you to retrieve details of eBay marketplace items across various categories. The list of possible categories is available through the Taxonomy API.
This API uses the following resources:
- item - Returns a daily gzip file of newly listed items for a specific category and date (feed_scope =
NEWLY_LISTED) or the latest "Bootstrap" file containing all the items in a specific category (feed_scope = ALL_ACTIVE). The item details are returned, excluding the item description. See getItemFeed for details.
- item_description - Returns a daily gzip file of the descriptions of the newly listed items for a specific category and date (feed_scope =
NEWLY_LISTED) or the latest file containing the descriptions for all the items in a specific category (feed_scope = ALL_ACTIVE). See getItemDescriptionFeed for details.
- item_group - Returns a daily gzip file of the Item Group information for items in the daily item feed file that were associated with an item group (feed_scope =
NEWLY_LISTED) or the latest file containing the Item Group information for all the items in a specific category (feed_scope = ALL_ACTIVE).
- item_snapshot - Returns a hourly gzip file of items that have been changed in a category on a specific date and hour. See getItemSnapshotFeed for details.
In addition to the API, there is an open source Feed SDK written in Java that downloads and unzips the feed file and lets you specify field filters to curate the items in the file.
When used with the other Buy APIs, the Feed API lets you create shopping/buying opportunities virtually anywhere. 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 Feed API.
Get a daily feed files of newly listed items
You can download an Item feed file each day that contains the newly listed items and a feed file that contains the descriptions for these items in a category. You can also get an Item Group feed file that contains the item group information for the items in the daily Item feed file that were associated with an item group. An item group is an item that has various aspect differences, such as color, size, storage capacity, etc.
Curate the items
You can curate the items in any feed file by the fields returned in the feed file to create a shopping experience specifically for your shoppers. For a list of fields returned in the feed file see getItemFeed.
Update item details
Item details, such as quantity and price, change often on eBay so you will need check for changes in the items you have stored. You can use:
- The getItemSnapshotFeed method to retrieve an hourly TSV_GZIP feed file of the items that have changed within an hour by category.
- The Browse API getItem method to get the latest details of a specific item. This is often used to check price and quantity because these values change rapidly.
Please note the following constraints for the Feed API.
Note: In addition to the Feed API restrictions below, there are also requirements for using the Buy APIs. For more information, see Buy APIs Requirements.
The Feed API is supported on the following eBay sites:
- EBAY-DE - eBay Germany (ebay.de)
- EBAY-GB - eBay Great Britain (ebay.co.uk)
- EBAY-US - eBay USA (ebay.com)
To specify the site of the feed files, set the X-EBAY-C-MARKETPLACE-ID request header to the site. For example:
X-EBAY-C-MARKETPLACE-ID = EBAY-GB
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 Buy APIs Requirements in the Buying Integration Guide for more information.