Menu
Product Advertising API
Developer Guide (API Version 2013-08-01)

Find Related Items

The following request uses the ItemLookup operation with the RelatedItems response group to find music tracks for ASIN B00136LUWW (Bob Dylan's Greatest Hits).

The RelationshipType parameter specifies how items are related. This parameter is required with the RelatedItems response group.

When the RelationshipType parameter is set to Tracks, the API finds the relationship between the MP3 Album (parent) and its Tracks (children). You can also find the reverse relationship; specify a track to find the parent album.

Example Request

Copy
http://webservices.amazon.com/onca/xml? Service=AWSECommerceService &Operation=ItemLookup &ResponseGroup=RelatedItems,Small &IdType=ASIN &ItemId=B00136LUWW &RelationshipType=Tracks &AssociateTag=[Your_AssociateTag] &AWSAccessKeyId=[Your_AWSAccessKeyId] &Timestamp=[YYYY-MM-DDThh:mm:ssZ] &Signature=[Request_Signature]

Example Response

The following response returns the children items (tracks) for the parent item (album).

Copy
<Item> <ASIN>B00136LUWW</ASIN> <DetailPageURL> https://www.amazon.com/Bob-Dylans-Greatest-Hits/dp/B00136LUWW%3FAWSAccessKeyId%3D[Your_AccessKeyId]%26tag%3D[Your_AssociateTag]%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00136LUWW </DetailPageURL> <ItemAttributes> <Creator Role="Primary Contributor">Bob Dylan</Creator> <Manufacturer>Columbia</Manufacturer> <ProductGroup>Digital Music Album</ProductGroup> <Title>Bob Dylan's Greatest Hits</Title> </ItemAttributes> <RelatedItems> <Relationship>Children</Relationship> <RelationshipType>Tracks</RelationshipType> <RelatedItemCount>10</RelatedItemCount> <RelatedItemPageCount>1</RelatedItemPageCount> <RelatedItemPage>1</RelatedItemPage> <RelatedItem> <Item> <ASIN>B00136NUSY</ASIN> <ItemAttributes> <Creator Role="Primary Contributor">Bob Dylan</Creator> <Manufacturer>Columbia</Manufacturer> <ProductGroup>Digital Music Track</ProductGroup> <Title>Just Like A Woman</Title> </ItemAttributes> </Item> </RelatedItem> <RelatedItem> <Item> <ASIN>B00136LTN2</ASIN> <ItemAttributes> <Creator Role="Primary Contributor">Bob Dylan</Creator> <Manufacturer>Columbia</Manufacturer> <ProductGroup>Digital Music Track</ProductGroup> <Title>Rainy Day Women #12 & 35</Title> </ItemAttributes> </Item> </RelatedItem> <RelatedItem> <Item> <ASIN>B00136JOO8</ASIN> <ItemAttributes> <Creator Role="Primary Contributor">Bob Dylan</Creator> <Manufacturer>Columbia</Manufacturer> <ProductGroup>Digital Music Track</ProductGroup> <Title>Blowin' In The Wind</Title> </ItemAttributes> </Item> </RelatedItem> </RelatedItems> </Item>