As the biggest retailer in the world, Amazon.com is a popular source for product information. Unfortunately, Amazon does not offer Open Graph tags for easy scraping of product data. Using OpenGraph.io, it is now possible to get that information without having to write your own cumbersome web-scraping tool.
Let’s say you’d like information on a kid’s plush toy
First, we can see that Amazon displays Production Information on the page, but it’s difficult for developers to access it without doing quite a bit of DOM traversal
Next, using Opengraph.io’s debug tool, we can confirm that there are no Open Graph tags on the product page
However, the OpenGraph.io Hybrid Graph has parsed the page and returns the properties using standard Open Graph tags, such as og:title and og:url
Finally, by using the OpenGraph.io API, you now have access to the production information
Sign up for OpenGraph.io now!
As you can see above, the API produces easily consumable JSON with product specifications. It includes the dimensions, weight, and even the Amazon.com Best Sellers Rank and the Customer Review data! This data is incredibly useful. With Opengraph.io’s handy React Component generator tool, you can automatically create React Components with the data that is relevant to your needs. Sign up now with a free account to start using the powerful Opengraph.io API.