Motyar

@motyar

Freelance Web Developer

Static Web Hosting, made easy

Dec 18, 2012

Amazon Offers Price Tracking using WebScrapeMaster

Was trying to get a list of offers (their prices) for an item based on the ASIN. Exploring all the APIs but find nothing that can solve my problem. So scraping web is the last choice.


Which page to scrape

This page displays the information I was looking for.http://www.amazon.com/gp/offer-listing/B0002F7MX6/ref=dp_olp_new?ie=UTF8&condition=new  ( for ASIN B0002F7MX6)


WebScrapeMaster FTW

Its how I figured it out using WebScrapeMaster API, I know the url, I know the xpath of the information I need. This simple call solved my problem

http://motyar.info/webscrapemaster/api/?key=YOUR_API_KEY&url=http://www.amazon.com/gp/offer-listing/B00005BRNO/ref=dp_olp_new?ie=UTF8&condition=new&xpath=span.price

 And I got the output in this simple JSON format:-

Amazon Offers Price Tracking using WebScrapeMaster

Check the WebScrapeMaster API here.


Labels: , , ,




By :