1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Here's An Easy Way To Determine The Node ID Of An Amazon Category

Discussion in 'Affiliate Programs' started by spurge0n, Apr 5, 2015.

  1. spurge0n

    spurge0n Junior Member

    Joined:
    Mar 27, 2014
    Messages:
    162
    Likes Received:
    43
    Gender:
    Male
    If you're an Amazon affiliate (like me) and a code geek (like me), then you probably use the Amazon Product Advertising API to fetch products relevant to your niche.

    One easy way to do that is to find products in a specific Amazon category (i.e., "Countertop Blenders"). To do that, you need to know the "Node ID" of that category.

    Problem: Sometimes finding the Node ID is not easy.

    Sure, you can use the Browse Nodes response group (people who know the API know what that means), but that's awkward and time consuming.

    There are websites out there that supposedly tell you all of the Node IDs for particular categories, but I find them incomplete.

    There is an easy way.

    Just go over to Amazon and visit the page for a specific category. In this case, we'll look at countertop blenders. Here's the non-affiliate link:
    http://www.amazon.com/s/ref=sr_nr_n...arity-rank&ie=UTF8&qid=1428236503&rnid=289913

    Now, right-click on that page and click "View Source" from the context menu that appears.

    You'll see the code for the page. Just search for the word "node". Eventually, you should come across something that looks like this:
    amazon-blenders.png


    Note the highlighted word "node" in the link tag. The number to the right of the equals sign is the Node ID.

    HOWEVER, sometimes I have found that the Node ID is not in the link tag. In that case, it's almost always in the link to the category page itself, which exists on that page.

    Keep searching for "node" on that page, and eventually you'll see the link:
    amazon-blenders2.jpg

    There it is again. Same Node ID in this case, which is what you would expect because I'm still on the blenders page.

    Now, you can use that Node ID to browse for products within the "Countertop Blenders" category.

    So if you want to search for blenders, you would use something similar to this (unsigned) request.
    http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService
    &Version=2011-08-01
    &AssociateTag=xxxx
    &Operation=ItemSearch
    &SearchIndex=Appliances
    &Keywords=blender
    &BrowseNode=289915

    Note the "BrowseNode" parameter at the end. That tells Amazon to only search in the blenders category. Yes, I included the keyword "blender" as well because sometimes Amazon miscategorizes products.

    I thought I'd share this because it took me a while to figure out how to get the Node ID for various Amazon categories.
     
    • Thanks Thanks x 2
  2. atultanna88

    atultanna88 Regular Member

    Joined:
    Jul 31, 2008
    Messages:
    257
    Likes Received:
    21
    Whats is the link where we see all the categories of products on Amazon on one page Think there was a link here somewhere and the best categories to promote

    Atul
     
  3. vt2011

    vt2011 Junior Member

    Joined:
    Jun 1, 2011
    Messages:
    199
    Likes Received:
    23
    I think you can get it directly from the url when you clink on the "Countertop Blenders" category,
    the decoded part of that url n:289913,n:289914,n:289915 is the sequence of Node ID, 289913=Small Appliances, 289914=Blenders, 289915=Countertop Blenders