Coding For Online Success

Finding BrowseNodes for Amazon API search (AWS)


So, I’ve been hitting the Amazon sites real hard over the last month. With a combination of ReviewAZON, WPReviewSite and my own amazon store script, I’ve been picking niches and working on traffic. Today, I was looking at one of my good performing EPN store fronts, and I wanted to include Amazon products in there as well. The problem I was having was getting it targeted to the sub category. I knew the SearchIndex, but couldn’t figure out how to get the proper BrowseNode of the sub category. The solution is to do a BrowseNodeLookup call.

To do this, you first need to determine the main BrowseNode, basically the number related to the main category where your product is located in. To get this number, you may be able to see it in the URL, or use this matrix to get the proper BrowseNode based off of country:

Next, you need to query Amazon’s AWS and send this BrowseNode. You will receive a XML file containing all children related to this parent including name and BrowseNode.

Here is a basic function I wrote that will do a signed request for BrowseNodeLookup operation:

span class=”st0″>"GET";
    $host               = "ecs.amazonaws.".$region;
    $uri                = "/onca/xml";
    $params["Service"]                  = "AWSECommerceService";
    $params["Version"]                  = "2009-03-31""%7E", "~""%7E", "~"‘ItemPage’ && $value == ‘x’"=""=""&""\n".$host."\n".$uri."\n"‘sha256’"%7E", "~""http://".$host.$uri."?""&Signature="

To call the function you would do something like this:

span class=”st0″>"Operation"=>"BrowseNodeLookup",

$pubKey is your Associate Key ID (not your tracking ID) and the $privKey is your Secret AWS Key ID. You can do a var_dump($resp) to see the values of the returned array of values. After retrieving the BrowseNodeID, you can search within that category by passing ‘BrowseNode’ to your ItemSearch API call. Hope this helps!

Leave a Reply

Required fields are marked *.

CommentLuv badge

This site uses Akismet to reduce spam. Learn how your comment data is processed.