> ## Documentation Index
> Fetch the complete documentation index at: https://docs.archeraffiliates.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Look up one product by ASIN

> Returns full product details for one ASIN on one Amazon marketplace. It uses the same `ProductCatalogItem` response schema as each row from `/getproducts`, including the image gallery, list price, and product ranking fields. When a legacy product has no stored gallery, `images` falls back to `[image_encoded_string]`; it is empty only when no primary image exists. If the product is not found in that marketplace, you get a 404.



## OpenAPI

````yaml /docs/api-reference/openapi.json get /get_single_product
openapi: 3.1.0
info:
  title: Archer Affiliates API
  description: API that allows use of features on the Archer Platform
  version: '2.0'
servers:
  - url: https://api.archeraffiliates.com
    description: Production
security: []
paths:
  /get_single_product:
    get:
      tags:
        - Products
      summary: Look up one product by ASIN
      description: >-
        Returns full product details for one ASIN on one Amazon marketplace. It
        uses the same `ProductCatalogItem` response schema as each row from
        `/getproducts`, including the image gallery, list price, and product
        ranking fields. When a legacy product has no stored gallery, `images`
        falls back to `[image_encoded_string]`; it is empty only when no primary
        image exists. If the product is not found in that marketplace, you get a
        404.
      operationId: get_single_product_endpoint_get_single_product_get
      parameters:
        - name: asin
          in: query
          required: true
          schema:
            type: string
            title: Asin
        - name: marketplace
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Which Amazon marketplace to look the product up on, e.g.
              `amazon.co.uk`.
            examples:
              us:
                value: amazon.com
              uk:
                value: amazon.co.uk
            default: amazon.com
            title: Marketplace
          description: >-
            Which Amazon marketplace to look the product up on, e.g.
            `amazon.co.uk`.
        - name: product_available
          in: query
          required: false
          schema:
            type: string
            description: >-
              `yes` only returns the product if it's currently buyable. Use
              `either` to look up unavailable products too.
            enum:
              - 'yes'
              - 'no'
              - either
            default: 'yes'
            title: Product Available
          description: >-
            `yes` only returns the product if it's currently buyable. Use
            `either` to look up unavailable products too.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductCatalogItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    ProductCatalogItem:
      properties:
        ASIN:
          anyOf:
            - type: string
            - type: 'null'
          title: Asin
          description: Amazon product identifier.
        product_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Name
          description: Product title.
        marketplace:
          anyOf:
            - type: string
            - type: 'null'
          title: Marketplace
          description: Amazon marketplace the product belongs to, e.g. `amazon.co.uk`.
        pricing:
          anyOf:
            - $ref: '#/components/schemas/Pricing'
            - type: 'null'
          description: Numeric price and its currency.
        price:
          anyOf:
            - type: string
            - type: 'null'
          title: Price
          description: Price as a plain string. Use `pricing.price` if you want a number.
        commission:
          anyOf:
            - type: number
            - type: 'null'
          title: Commission
          description: Affiliate commission rate you would earn on a sale, as a number.
        commission_payout_aff:
          anyOf:
            - type: string
            - type: 'null'
          title: Commission Payout Aff
          description: >-
            Affiliate commission rate as a plain string. Use `commission` if you
            want a number.
        image_encoded_string:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Encoded String
          description: URL of the product image.
        images:
          items:
            type: string
          type: array
          title: Images
          description: >-
            Ordered product image gallery URLs. When no gallery is stored, this
            falls back to `[image_encoded_string]`; it is empty only when the
            product has no primary image.
        list_price:
          anyOf:
            - type: number
            - type: 'null'
          title: List Price
          description: Amazon list (was) price, when higher than the current price.
        avg_rating:
          anyOf:
            - type: string
            - type: 'null'
          title: Avg Rating
          description: Average star rating as a string.
        total_reviews:
          anyOf:
            - type: string
            - type: 'null'
          title: Total Reviews
          description: Number of customer reviews, as a string.
        best_seller:
          type: boolean
          title: Best Seller
          description: True when Amazon marks the product as a best seller.
          default: false
        sales_rank:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sales Rank
          description: Amazon best-seller rank in `rank_category`.
        rank_category:
          anyOf:
            - type: string
            - type: 'null'
          title: Rank Category
          description: Category associated with `sales_rank`.
        monthly_sold:
          anyOf:
            - type: integer
            - type: 'null'
          title: Monthly Sold
          description: Recent monthly unit-sales estimate, when available.
        inStock:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Instock
          description: True when the product is currently buyable.
        product_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Url
          description: Ready-to-share Amazon URL on the correct marketplace.
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
          description: Brand name.
        brand_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand Name
          description: Brand name (same value as `company_name`).
        company_logo:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Logo
          description: URL of the brand logo.
        brand_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand Id
          description: Brand identifier you can pass back to `/getproducts?brand_id=…`.
        product_category:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Category
          description: Top-level product category.
        sub_category:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Sub Category
          description: Sub-categories the product appears under.
        is_variant_of:
          anyOf:
            - type: string
            - type: 'null'
          title: Is Variant Of
          description: Parent ASIN when this is a variant of another product.
      type: object
      title: ProductCatalogItem
      description: A product in the Archer catalog.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Pricing:
      properties:
        price:
          anyOf:
            - type: number
            - type: 'null'
          title: Price
          description: Price as a number.
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
          description: Currency code for the marketplace (e.g. `USD`, `GBP`, `EUR`).
      type: object
      title: Pricing
      description: Numeric price and its currency.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: token

````