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

1 replies
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:

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:

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:

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.

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.
#amazon #category #determine #easy #node
  • Profile picture of the author Ray Harries
    Thanks for this explanation spurge0n. I now know how to identify a Node ID.

    In spite of much googling I still don't know how to actually download an xml file of all the products in any given category. A description of how to do do this would be a great help.(not too nerdy, though).

    Reading the Amazon instructions is like learning another language and has left me more confused than enlightened!

    Ray Harries

    {{ DiscussionBoard.errors[10029393].message }}

Trending Topics