Skip to content

Amazon Product Details API (V1) ​

GET
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...

Retrieves details for an Amazon product identified by ASIN in a selected country marketplace. Use it to look up a known listing for catalog review, product comparison, or downstream commerce analysis.

Parameters ​

NameInTypeRequiredDefaultDescription
tokenquerystringYes-Authentication token for this API service.
asinquerystringYes-10-character alphanumeric Amazon Standard Identification Number (ASIN).
countryquerystringNoUSCountry code for the Amazon product.


Available Values:

- US: United States

- AU: Australia

- BR: Brazil

- CA: Canada

- CN: China

- FR: France

- DE: Germany

- IN: India

- IT: Italy

- MX: Mexico

- NL: Netherlands

- SG: Singapore

- ES: Spain

- TR: Turkey

- AE: United Arab Emirates

- GB: United Kingdom

- JP: Japan

- SA: Saudi Arabia

- PL: Poland

- SE: Sweden

- BE: Belgium

- EG: Egypt

- ZA: South Africa

- IE: Ireland

Code Samples ​

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE'
text
I want to use the "Product Details (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE
API Endpoint: BASE_URL + /api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/amazon/product-details-v1-en.json

Parameters:
- token (query): Authentication token for this API service. (Required)
- asin (query): 10-character alphanumeric Amazon Standard Identification Number (ASIN). (Required)
- country (query): Country code for the Amazon product.

Available Values:
- `US`: United States
- `AU`: Australia
- `BR`: Brazil
- `CA`: Canada
- `CN`: China
- `FR`: France
- `DE`: Germany
- `IN`: India
- `IT`: Italy
- `MX`: Mexico
- `NL`: Netherlands
- `SG`: Singapore
- `ES`: Spain
- `TR`: Turkey
- `AE`: United Arab Emirates
- `GB`: United Kingdom
- `JP`: Japan
- `SA`: Saudi Arabia
- `PL`: Poland
- `SE`: Sweden
- `BE`: Belgium
- `EG`: Egypt
- `ZA`: South Africa
- `IE`: Ireland

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
python
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
go
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/amazon/get-product-detail/v1?token=YOUR_API_KEY&asin=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}

Response Fields ​

Key fields in a successful response (code = 0).

Product and marketplace15 fields

data

FieldTypeDescription
asinstringASIN of the returned product.
landing_asinstringASIN of the product landing page.
parent_asinstringParent ASIN reported for the product family.
countrystringCountry code of the Amazon marketplace used for the lookup.
domainstringDomain of the Amazon marketplace.
marketplace_idstringIdentifier of the Amazon marketplace returned by the lookup.
product_titlestringTitle shown on the product page.
product_urlstringURL of the product page.
product_photostringMain product image URL.
product_bylinestring | nullText shown in the product byline, which can identify the brand or a contributor.
product_byline_linkstring | nullLink attached to the product byline when reported.
product_byline_linksarray | nullLinks attached to the product byline when reported.
product_byline_links[]stringA link attached to the product byline.
product_slugstring | nullProduct title slug used in the listing URL when available.
is_redirectedbooleanWhether the lookup redirected to a product listing.
Prices and discounts16 fields

data

FieldTypeDescription
product_pricestringCurrent price text displayed on the selected marketplace, which may contain a currency symbol.
product_price_valuenumberNumeric current price for the reported currency, when present.
product_original_pricestring | nullOriginal or reference price text as shown on the listing.
product_original_price_valuenumberNumeric original or reference price when reported.
currencystringCurrency code reported for the marketplace prices.
product_minimum_offer_pricestring | nullLowest offer price text shown for the product.
product_minimum_offer_price_valuenumber | nullNumeric value of the reported lowest offer price.
product_minimum_offer_conditionstring | nullCondition label attached to the lowest reported offer.
product_num_offersintegerNumber of offers reported for the product.
product_offers_linkstring | nullLink to the product offer listings.
deal_badgestringPromotional badge text shown for the listing.
coupon_discount_percentageintegerCoupon discount percentage reported for the listing.
unit_countinteger | nullNumber of units reported for the offer when shown.
unit_pricestring | nullDisplayed price per unit when provided.
unit_price_valuenumber | nullNumeric price per unit when provided.
unit_price_unitstring | nullUnit label attached to the unit price.
Offers and delivery24 fields

data

FieldTypeDescription
is_primebooleanWhether Prime eligibility is indicated for the listing.
product_conditionstringCondition text displayed for the product or selected offer.
product_availabilitystringAvailability text shown for the product on the selected marketplace.
maximum_order_quantityinteger | nullMaximum order quantity shown for the listing when reported.
main_buy_boxobjectPrimary offer displayed in the product page purchase panel.
main_buy_box.titlestringLabel shown in the purchase panel.
main_buy_box.pricestringPurchase-panel offer price as displayed.
main_buy_box.unit_pricestringDisplayed unit price for this offer.
main_buy_box.sellerstringPublic seller name displayed for this offer.
main_buy_box.seller_idstringIdentifier of the public seller displayed for this offer.
main_buy_box.seller_linkstringLink to the public seller page shown for this offer.
main_buy_box.ships_fromstringShips-from value displayed for the offer.
main_buy_box.return_policystringReturn-policy text displayed for the offer.
main_buy_box.is_fbaboolean | nullWhether the offer is marked as fulfilled by Amazon.
buy_boxesarrayAdditional purchase-panel offers returned with the product.
buy_boxes[]object-
buy_boxes[].titlestringLabel shown in the purchase panel.
buy_boxes[].pricestringPurchase-panel offer price as displayed.
buy_boxes[].unit_pricestringDisplayed unit price for this offer.
buy_boxes[].is_fbaboolean | nullWhether the offer is marked as fulfilled by Amazon.
deliverystringDelivery text displayed on the product page.
delivery_pricestringDisplayed delivery fee text.
delivery_timestringDelivery date or time text displayed for the product.
primary_delivery_timestringPrimary delivery estimate shown on the listing.
Specifications and variations16 fields

data

FieldTypeDescription
product_informationobjectProduct specification labels and display values, with keys that can vary by product and marketplace language.
product_information.{key}stringDisplay value for the product specification named by the key.
product_detailsobjectDetail labels and display values listed on the product page. Keys can vary by product and marketplace language.
product_details.{key}stringDisplay value for the product detail named by the key.
product_variationsobject | arrayOptions keyed by variation dimension. Some listings return an empty array.
product_variations.{key}arrayOptions for the variation dimension named by the key.
product_variations.{key}[]object-
product_variations.{key}[].asinstringASIN linked to this option.
product_variations.{key}[].valuestringDisplay value of this option.
product_variations.{key}[].photostringImage URL attached to this option when available.
product_variations.{key}[].is_availablebooleanAvailability flag shown for the option.
product_variations_dimensionsarrayVariation dimension names reported for the product.
product_variations_dimensions[]stringA reported variation dimension name.
all_product_variationsobjectVariant ASINs mapped to their reported dimension values.
all_product_variations.{key}objectReported dimension values for the variant ASIN named by the key.
all_product_variations.{key}.{key}stringDisplay value of the dimension named by the inner key.
Description, images and videos27 fields

data

FieldTypeDescription
product_item_highlightstring | nullShort product highlight shown on the listing.
product_descriptionstring | nullDescription text shown on the product page.
about_productarrayBullet points describing the product.
about_product[]stringA product bullet point.
product_photosarrayURLs of product images listed on the page.
product_photos[]stringA product image URL.
product_photos_labeledarrayProduct images with their reported image labels.
product_photos_labeled[]object-
product_photos_labeled[].urlstringImage URL.
product_photos_labeled[].variantstringImage label as reported for this photo.
has_videobooleanWhether the product is marked as having video.
product_videosarrayVideos listed for the product.
product_videos[]object-
product_videos[].idstringProduct video identifier.
product_videos[].titlestringProduct video title.
product_videos[].video_urlstringProduct video URL.
product_videos[].thumbnail_urlstringProduct video thumbnail URL.
product_videos[].video_widthstringVideo width as reported in text.
product_videos[].video_heightstringVideo height as reported in text.
product_videos[].product_asinstringASIN associated with the video.
product_videos[].parent_asinstringParent ASIN associated with the video.
video_thumbnailstringThumbnail URL for the listing video.
has_aplusbooleanWhether the listing is marked as having A+ Content.
aplus_textstring | nullText extracted from the listing’s A+ Content.
aplus_imagesarrayImages listed in the product’s A+ Content.
aplus_images[]stringA product A+ Content image URL.
has_brandstorybooleanWhether the listing is marked as having a brand story.
Categories and rankings17 fields

data

FieldTypeDescription
categoryobjectPrimary category associated with the product.
category.idstringPrimary category identifier.
category.namestringDisplay name of the primary category.
category_patharrayCategory breadcrumb shown for the product.
category_path[]object-
category_path[].idstringIdentifier of this category in the breadcrumb.
category_path[].namestringDisplay name of this category.
category_path[].linkstringLink to this category.
is_best_sellerbooleanWhether the listing carries an Amazon Best Sellers badge.
is_amazon_choicebooleanWhether the listing carries an Amazon’s Choice badge.
climate_pledge_friendlybooleanWhether the listing carries a Climate Pledge Friendly badge.
sales_volumestring | nullSales-volume text displayed on the listing, which can be abbreviated.
best_sellers_rankarrayReported best seller ranks by category.
best_sellers_rank[]object-
best_sellers_rank[].rankintegerReported sales rank in this category.
best_sellers_rank[].categorystringCategory label associated with this rank.
best_sellers_rank[].linkstringCategory link associated with this rank.
Book formats and authors14 fields

data

FieldTypeDescription
book_author_namestringName of the featured book author in the author section.
book_author_aboutstringBiography text for the featured book author.
book_author_profile_urlstringPublic profile URL for the featured book author.
book_authorsarrayAuthor links and labels shown for a book.
book_authors[]object-
book_authors[].textstringDisplay text for a book author entry.
book_authors[].hrefstringLink attached to the book author entry.
book_publication_datestringPublication date text shown for the book.
book_formatsarrayEdition formats listed for the book.
book_formats[]object-
book_formats[].asinstringASIN linked to this edition format.
book_formats[].formatstringDisplay label of this edition format.
book_formats[].pricestringPrice text shown for this edition format.
book_formats[].currentbooleanWhether this format is marked as the selected edition.
Ratings and review summaries20 fields

data

FieldTypeDescription
product_star_ratingstringDisplayed overall star rating as text.
product_num_ratingsintegerRating count reported for the product.
rating_distributionobjectReported rating percentages keyed by star rating.
rating_distribution.{key}integerReported percentage for the star rating named by the key.
customers_saystringText of the customer-review summary displayed on the listing.
review_aspectsobjectReported review-aspect text keyed by display label.
review_aspects.{key}stringReported text for the review aspect named by the key.
review_aspects_detailsarrayReview aspect rows with reported sentiment and mention counts.
review_aspects_details[]object-
review_aspects_details[].aspectstringDisplay label of the review aspect.
review_aspects_details[].sentimentstringSentiment label reported for the aspect.
review_aspects_details[].mentionsintegerReported mention count for the aspect.
review_aspects_details[].positive_mentionsintegerReported positive mention count for the aspect.
review_aspects_details[].negative_mentionsintegerReported negative mention count for the aspect.
customer_review_mediaarray | nullMedia shown in the customer-review section when present.
customer_review_media[]object-
customer_review_media[].media_typestringReported media kind for this entry.
customer_review_media[].review_idstringReview identifier associated with the media.
customer_review_media[].thumbnail_urlstringMedia thumbnail URL.
customer_review_media[].urlstringMedia URL shown in the review section.
Featured reviews44 fields

data

FieldTypeDescription
top_reviewsarrayFeatured reviews returned for the selected marketplace.
top_reviews[]object-
top_reviews[].review_idstringIdentifier of the public review.
top_reviews[].review_titlestringTitle of the review.
top_reviews[].review_commentstringText of the review.
top_reviews[].review_star_ratingstringStar rating given by the reviewer, as display text.
top_reviews[].review_linkstringLink to the public review.
top_reviews[].review_authorstringPublic reviewer display name.
top_reviews[].review_imagesarrayImages attached to the public review.
top_reviews[].review_images[]stringAn image URL attached to the review.
top_reviews[].review_datestringReview-date text as displayed.
top_reviews[].review_date_isostringReview date in ISO notation when reported.
top_reviews[].is_verified_purchasebooleanWhether the review shows a Verified Purchase label.
top_reviews[].helpful_vote_statementstringDisplayed text about helpful votes when shown.
top_reviews[].helpful_votesinteger | nullReported count of helpful votes for the review.
top_reviews[].countrystringCountry field associated with the review.
top_reviews[].review_languagestringLanguage field associated with the review.
top_reviews[].reviewed_product_asinstringASIN referenced by the review.
top_reviews[].reviewed_product_urlstringURL of the product referenced by the review.
top_reviews[].reviewed_product_variantobjectVariant labels and values shown in the review.
top_reviews[].reviewed_product_variant.{key}stringDisplay value for the variation named by the key.
top_reviews[].is_different_asinbooleanWhether the reviewed item is flagged as a different ASIN.
top_reviews[].is_vinebooleanWhether the review is marked as an Amazon Vine review.
top_reviews_globalarrayFeatured global reviews returned with the listing.
top_reviews_global[]object-
top_reviews_global[].review_idstringIdentifier of the public review.
top_reviews_global[].review_titlestringTitle of the review.
top_reviews_global[].review_commentstringText of the review.
top_reviews_global[].review_star_ratingstringStar rating given by the reviewer, as display text.
top_reviews_global[].review_linkstringLink to the public review.
top_reviews_global[].review_authorstringPublic reviewer display name.
top_reviews_global[].review_imagesarrayImages attached to the public review.
top_reviews_global[].review_images[]stringAn image URL attached to the review.
top_reviews_global[].review_datestringReview-date text as displayed.
top_reviews_global[].review_date_isostringReview date in ISO notation when reported.
top_reviews_global[].is_verified_purchasebooleanWhether the review shows a Verified Purchase label.
top_reviews_global[].countrystringCountry field associated with the review.
top_reviews_global[].review_languagestringLanguage field associated with the review.
top_reviews_global[].reviewed_product_asinstringASIN referenced by the review.
top_reviews_global[].reviewed_product_urlstringURL of the product referenced by the review.
top_reviews_global[].reviewed_product_variantobjectVariant labels and values shown in the review.
top_reviews_global[].reviewed_product_variant.{key}stringDisplay value for the variation named by the key.
top_reviews_global[].is_different_asinbooleanWhether the reviewed item is flagged as a different ASIN.
top_reviews_global[].is_vinebooleanWhether the review is marked as an Amazon Vine review.
Related and sponsored products31 fields

data

FieldTypeDescription
frequently_bought_togetherarrayProducts listed under Frequently Bought Together.
frequently_bought_together[]object-
frequently_bought_together[].asinstringASIN of a paired product.
frequently_bought_together[].product_titlestringDisplayed title of the paired product.
frequently_bought_together[].product_pricestringDisplayed price of the paired product.
frequently_bought_together[].product_urlstringLink to the paired product.
frequently_bought_together[].product_photostringImage URL of the paired product.
frequently_bought_together_total_pricestring | nullDisplayed combined price for the paired products.
carousel_productsarray | nullProducts returned in product-page carousels.
carousel_products[]object-
carousel_products[].asinstringASIN of a carousel product.
carousel_products[].product_titlestringDisplayed title of a carousel product.
carousel_products[].product_urlstringLink to a carousel product.
carousel_products[].product_photostringImage URL of a carousel product.
carousel_products[].product_pricestring | nullDisplayed price of a carousel product.
carousel_products[].product_original_pricestring | nullDisplayed original or reference price of a carousel product.
carousel_products[].product_star_ratingstring | nullDisplayed star rating of a carousel product.
carousel_products[].product_num_ratingsinteger | nullReported rating count of a carousel product.
carousel_products[].carousel_titlestringDisplay title of the carousel containing the product.
carousel_products[].positionintegerReported product position in the carousel.
carousel_products[].badgesarray | nullBadge labels displayed for the carousel product.
carousel_products[].badges[]stringA badge label for the carousel product.
sponsored_productsarray | nullSponsored listings returned with the product page.
sponsored_products[]object-
sponsored_products[].asinstringASIN of the sponsored product.
sponsored_products[].product_titlestringDisplayed title of the sponsored product.
sponsored_products[].product_urlstringLink to the sponsored product.
sponsored_products[].product_photostringImage URL of the sponsored product.
sponsored_products[].product_pricestring | nullDisplayed price of the sponsored product.
sponsored_products[].product_star_ratingstring | nullDisplayed star rating of the sponsored product.
sponsored_products[].product_num_ratingsinteger | nullReported rating count of the sponsored product.

Response Example ​

Loading the response example...