Developer Network Home - Help

Documentation for Yahoo! Shopping Web Services: Catalog Listing

Version 1Shopping Web Services : Catalog Listing

Submitting Catalog Price Queries

The Catalog Listing service allows you to display price information for offers aggregated as Buyer's Guides by Yahoo! Shopping, in particular those identified by a Catalog ID via the Product Search service.See also the Merchant Search, Catalog Specs and the User Product Review services.

Support & Community

The Catalog Listing service is discussed on the yws-shopping mailing list.

Request URL

http://api.shopping.yahoo.com/ShoppingService/V1/catalogListing

Request parameters

See information on constructing REST queries

Parameter Value Description
appid string (required) The application ID. See Application IDs for more information.
catalogid integer (required) The ID of the Yahoo! Shopping Buyers Guide catalog, as derived from a Catalog in a Product Search.
upc string: default no value The UPC code of the product to search for. This can be useful for disambiguating books/CDs/DVDs, etc.
zip integer or <integer>-<integer> The zip code being ordered from (for calculating shipping and taxes if possible).
onlynew 1 (default) or 0 If set to 0, the search will also display used or refurbished items along with new items. By default, only new item are displayed.
start integer: default 1 The starting result position to return (1-based). The number of the finishing position is (start + results - 1).
results integer:: default no value (returns all) The number of results to return.

Sample Request Url: http://api.shopping.yahoo.com/ShoppingService/v1/CatalogListing?appid=YahooDemo&catalogid=1991675140&zip=95127

Response fields

The schema document for this service response is located at http://api.shopping.yahoo.com/shoppingservice/v1/cataloglisting.xsd

Field Description
CatalogListing Contains all of the query responses. Has attributes:
  • ID: The ID of this catalog.
  • zip: The zip code specified for shipping data, if provided.
  • numOffers: The number of offers in the catalog.
Offer Contains each individual product offering.
Merchant Contains the name of the merchant making this offer. Has attributes:
Url The URL for the corresponding offer page on Yahoo! Shopping.
Condition The condition of the product, if known.
BasePrice Price of the product in dollars from this merchant, not including tax and shipping.
TaxCost If the zip parameter was provided, the taxes on the product, if available.
ShippingCost If the zip parameter was provided, the cost of shipping, if available.
TotalPrice Price of the product in dollars from this merchant, including tax and shipping if known.
StrikeThroughPrice Price of the product suggested by the merchant as the original retail price. This price can be used as a "strikethrough" to indicate savings.

Sample response

The following is a sample response for the query 1991675140, the ID for the Yahoo! Shopping Buyer's Guide for the iPod Shuffle:

Additional Terms of Service

When calling the shopping APIs, you must set the HTTP user agent to a valid web browser string. Bot and spider strings are not valid. The user agent can be set to some default value - it does not have to be changed based on the user's browser. Some examples are as follows:

More information on user agents can be found at http://en.wikipedia.org/wiki/user_agent.

For all Web sites and applications that present data from the Yahoo! Shopping API, the attribution text "Powered by Yahoo! Shopping" must be presented.

Rate Limit

The Catalog Listing service is a part of the Yahoo! Shopping Web Services, which are limited to 5,000 queries per appid per day. See information on rate limiting.

Errors

The Catalog Listing service returns the standard errors. A 999 error is returned if the query limit has been exceeded.

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings