How do the JSON output and object table of Unwrangle amazon product API function?
In this article, I will delve into the specific aspects of the Unwrangle Amazon Product API, focusing on the object table and JSON output. I will explain the structure and content of the object table and how it relates to the JSON output, highlighting any relevant differences and similarities between the two formats. By the end of this article, the reader should have a clear understanding of the object table and JSON output of the Unwrangle Amazon Product API, and be able to utilize the information effectively in their own projects.
Object and Description of API Output
Objects | Description |
success | |
url | Requested URL for scraping |
result_count | |
detail | |
name | Name of product listing |
brand | Brand of product listing |
categories | List of categories the product belongs to |
name | Category name |
url | Category URL |
images | Product listing's images |
price | Price of product |
price_reduced | Reduced price of product |
max_quantity | Max quantity purchasable for any user |
rating | Average rating of product |
total_ratings | No. of ratings received |
asin | Product's retailer ID on Amazon |
overview | Product's overview as listing on Amazon |
details_table | Product's specifications table as a list |
bestseller_ranks | Product's bestseller rank in each category on Amazon |
Objects: This column lists the objects in the Unwrangle Amazon Product API.
Description: This column provides a brief description of each object in the API.
success: This object represents the success or failure of the API request. If the API request is successful, this object will have a value of "true". If the request fails, the value will be "false".
url: The requested URL for scraping, which is the URL of the product page on Amazon.
result_count: The number of results returned by the API request. This is the number of product listings that match the search criteria.
detail: Additional details about the API request. This object may contain error messages or additional information about the results.
name: The name of the product listing.
brand: The brand of the product listing.
categories: A list of categories that the product belongs to.
images: An array of URLs for the product listing's images.
price: The price of the product.
price_reduced: The reduced price of the product.
max_quantity: The maximum quantity that can be purchased by any user.
rating: The average rating of the product.
total_ratings: The total number of ratings that the product has received.
asin: The product's retailer ID on Amazon.
overview: A brief overview of the product, as listed on Amazon.
details_table: A list of the product's specifications, displayed in a table format.
bestseller_ranks: The product's bestseller rank in each category on Amazon.
The information in the table is useful for developers and data analysts who are working with the Unwrangle Amazon Product API. The table provides a clear and concise list of the objects that can be retrieved from the API, along with brief descriptions of each object. This information is valuable because it enables developers to understand the structure of the API response and to extract the specific data they need for their project. The API's objects cover a broad range of product information, from the product's name and brand to its price and bestseller rank. By using the API and leveraging the information in the table, developers can build applications that provide users with comprehensive and up-to-date product information from Amazon.
JSON Output
The provided JSON output contains information about an Amazon product, specifically an Apple iPhone 13 with 128GB storage in blue color, that is available for purchase. The output starts with a success flag, indicating the query was successful, followed by the URL of the product. It then provides details like the product name, brand, images, price, quantity, rating, and total ratings, along with the product's ASIN and its overview, which includes attributes like model name, wireless carrier, memory storage capacity, color, cellular technology, screen size, manufacturer, other camera features, and shooting modes. Additionally, there is a details table with attributes like package dimensions, item weight, best sellers rank, and date first available. The output also includes bestseller ranks, seller name, and seller URL. All this information can be useful for customers to make informed decisions before purchasing a product.
{
"success": true,
"url": "https://www.amazon.com/Apple-iPhone-13-128GB-Blue/dp/B09LNX6KQS/",
"result_count": 1,
"detail": {
"name": "Apple iPhone 13, 128GB, Blue - Unlocked (Renewed)",
"brand": "Amazon Renewed",
"categories": [
{
"name": "Cell Phones & Accessories",
"url": "https://www.amazon.com/cell-phones-service-plans-accessories/b/ref=dp_bc_aui_C_1/142-5323634-6780802"
},
{
"name": "Cell Phones",
"url": "https://www.amazon.com/cell-phone-devices/b/ref=dp_bc_aui_C_2/142-5323634-6780802"
}
],
"images": [
"https://images-na.ssl-images-amazon.com/images/I/71H8ipbuxoL.__AC_SX300_SY300_QL70_ML2_.jpg"
],
"price": "$784.97",
"price_reduced": null,
"max_quantity": 14,
"rating": 4.4,
"total_ratings": 25,
"asin": "B09LNX6KQS",
"overview": [
{
"name": "ModelName",
"value": "13"
},
{
"name": "WirelessCarrier",
"value": "UnlockedforAllCarriers"
},
{
"name": "Brand",
"value": "Apple"
},
{
"name": "MemoryStorageCapacity",
"value": "128GB"
},
{
"name": "Color",
"value": "Blue"
},
{
"name": "CellularTechnology",
"value": "5G"
},
{
"name": "ScreenSize",
"value": "6.1Inches"
},
{
"name": "Manufacturer",
"value": "AppleComputer"
},
{
"name": "Othercamerafeatures",
"value": "Front"
},
{
"name": "ShootingModes",
"value": "HighDynamicRange"
}
],
"details_table": [
{
"name": "Package Dimensions",
"value": "6.1 x 3 x 0.3 inches"
},
{
"name": "Item Weight",
"value": "6.4 ounces"
},
{
"name": "ASIN",
"value": "B09LNX6KQS"
},
{
"name": "Item model number",
"value": "13"
},
{
"name": "Customer Reviews",
"value": ""
},
{
"name": "Best Sellers Rank",
"value": ""
},
{
"name": "Other display features",
"value": "Wireless"
},
{
"name": "Other camera features",
"value": "Front"
},
{
"name": "Colour",
"value": "Blue"
},
{
"name": "Manufacturer",
"value": "Apple Computer"
},
{
"name": "Date First Available",
"value": "November 11, 2021"
}
],
"bestseller_ranks": [
{
"name": "See Top 100 in Electronics",
"url": "https://www.amazon.com/gp/bestsellers/electronics/ref=pd_zg_ts_electronics",
"rank": 4832
},
{
"name": "Cell Phones",
"url": "https://www.amazon.com/gp/bestsellers/electronics/7072561011/ref=pd_zg_hrsr_electronics",
"rank": 187
}
],
"seller_name": "Networkstore",
"seller_url": "https://www.amazon.com/gp/help/seller/at-a-glance.html/ref=dp_merchant_link?ie=UTF8&seller=AR1FTLUUZC24W"
}
}
Final words
This article covered a range of topics, including the usefulness of data tables, the description of objects, and the interpretation of JSON output. It highlighted the importance of clear and concise communication, as well as the value of understanding data in various formats. Overall, these skills and knowledge are essential in many fields, such as data analysis and software development, and can help individuals make informed decisions and solve complex problems.
Footnote
Worldindata is a third-party data marketplace that offers a variety of datasets and APIs for businesses and researchers. One of the APIs that they offer is the Unwrangle Amazon Product API, which provides access to detailed information about Amazon products. This API can be useful for businesses that want to track pricing and inventory information, monitor customer reviews, or conduct market research on specific products. To gain access to this API, you can request it through the Worldindata marketplace and follow the necessary steps to authenticate your account and start using the service.