
The Catalog Specs service allows you to get details of a product upon giving its Catalog ID. See also the Product Search, Catalog Listing, User Product Review and Merchant Search services.
The Catalog Specs service is discussed on the yws-shopping mailing list.
http://api.shopping.yahoo.com/ShoppingService/V1/catalogSpecs
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 product. |
Sample Request Url: http://api.shopping.yahoo.com/ShoppingService/v1/catalogSpecs?&catalogid=1991675140&appid=YahooDemo
The schema document for this service response is located at http://api.shopping.yahoo.com/shoppingservice/v1/catalogspecs.xsd
| Field | Description |
|---|---|
| CatalogSpecs | Contains the query response. |
| minprice | The lowest price (in US dollars) for the product in this catalog. |
| maxprice | The highest price (in US dollars) for the product in this catalog. |
| imageurl | The URL of the product image. |
| imagewidth | The width of the product image in pixels. |
| imageheight | The height of the product image in pixels. |
| thumburl | The URL of the product thumbnail. |
| thumbheight | The height of the product thumbnail in pixels. |
| thumbwidth | The width of the product thumbnail in pixels. |
| productName | The name of the product. |
| Description | A description of the product. |
| SpecificationList | Contains product specifications in key/value pairs. |
| Specification | Contains an individual key/value specification pair. |
| SpecificationLabel | Contains the label for the specification. |
| SpecificationValue | Contains the value for the specification. |
| UserRating | An enclosing tag for user rating information for this product. |
| MaxRating | A value from 1 (worst) to 5 (best) representing the maximum rating given to this product by a user. |
| NumRatings | The number of users who have rated this product. |
| AverageRating | A value from 1 (worst) to 5 (best) representing the average rating given to this product by a user. |
| RatingUrl | The Url to the ratings page for this product on Yahoo! Shopping. |
| CreateRatingUrl | The Url to the page for posting reviews of this product on Yahoo! Shopping. |
The following is a sample response for the query 1991675140, the ID for the Yahoo Shopping Buyers Guide for the ipod shuffle
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.
The Catalog Specs 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.
The Catalog Specs 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