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

# /dhgate/products

> Get a single DHgate product by id or product URL. Returns title, images and product video, the price range and per-quantity wholesale price tiers, minimum order and measure unit, category, weight and package dimensions, units sold, review count, rating with its star breakdown and review highlight tags, product features, the specification list, the variant axes (colour, compatible model and more, each with its values and images), the shipping option for the requested country (free flag, cost, delivery window, express type, stock country) and the seller store (id, name, positive feedback, transactions, item count, location, opening date, level).

**Price:** 1 credit

**⚠️ Common errors:** 412: Product not found or no longer listed on DHgate



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/dhgate/products
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/dhgate/products:
    post:
      tags:
        - /dhgate
      summary: /dhgate/products
      description: >-
        Get a single DHgate product by id or product URL. Returns title, images
        and product video, the price range and per-quantity wholesale price
        tiers, minimum order and measure unit, category, weight and package
        dimensions, units sold, review count, rating with its star breakdown and
        review highlight tags, product features, the specification list, the
        variant axes (colour, compatible model and more, each with its values
        and images), the shipping option for the requested country (free flag,
        cost, delivery window, express type, stock country) and the seller store
        (id, name, positive feedback, transactions, item count, location,
        opening date, level).


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Product not found or no longer listed on
        DHgate
      operationId: __api_dhgate_products_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DhgateProductsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DhgateProduct'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DhgateProductsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        currency:
          $ref: '#/components/schemas/DhgateCurrency'
          default: USD
        ship_to_country:
          $ref: '#/components/schemas/DhgateShipCountry'
          default: US
        product:
          type: string
          minLength: 1
      type: object
      required:
        - product
    DhgateProduct:
      properties:
        '@type':
          type: string
          default: DhgateProduct
        id:
          type: string
        product_url:
          anyOf:
            - type: string
            - type: 'null'
        product_title:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        video_url:
          anyOf:
            - type: string
            - type: 'null'
        video_duration:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        max_price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        price_tiers:
          items:
            $ref: '#/components/schemas/DhgateProductPriceTier'
          type: array
          default: []
        measure:
          anyOf:
            - type: string
            - type: 'null'
        min_order:
          anyOf:
            - type: integer
            - type: 'null'
        max_order:
          anyOf:
            - type: integer
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        category_id:
          anyOf:
            - type: string
            - type: 'null'
        weight:
          anyOf:
            - type: number
            - type: 'null'
        length:
          anyOf:
            - type: number
            - type: 'null'
        width:
          anyOf:
            - type: number
            - type: 'null'
        height:
          anyOf:
            - type: number
            - type: 'null'
        units_sold:
          anyOf:
            - type: integer
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_breakdown:
          anyOf:
            - $ref: '#/components/schemas/DhgateProductRatingBreakdown'
            - type: 'null'
        review_with_pic_count:
          anyOf:
            - type: integer
            - type: 'null'
        review_tags:
          items:
            $ref: '#/components/schemas/DhgateProductReviewTag'
          type: array
          default: []
        features:
          items:
            type: string
          type: array
          default: []
        specifications:
          items:
            $ref: '#/components/schemas/DhgateProductSpecification'
          type: array
          default: []
        description_url:
          anyOf:
            - type: string
            - type: 'null'
        variants:
          items:
            $ref: '#/components/schemas/DhgateProductVariant'
          type: array
          default: []
        shipping:
          anyOf:
            - $ref: '#/components/schemas/DhgateProductShipping'
            - type: 'null'
        store:
          anyOf:
            - $ref: '#/components/schemas/DhgateProductStore'
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    DhgateCurrency:
      type: string
      enum:
        - USD
        - EUR
        - GBP
        - CAD
        - AUD
        - JPY
        - RUB
        - BRL
        - INR
        - MXN
        - KRW
        - TRY
        - SEK
        - NOK
        - DKK
        - PLN
        - CHF
        - NZD
        - SGD
        - HKD
        - THB
        - ILS
        - AED
        - SAR
        - ZAR
        - CZK
    DhgateShipCountry:
      type: string
      enum:
        - US
        - GB
        - CA
        - AU
        - DE
        - FR
        - IT
        - ES
        - NL
        - BE
        - SE
        - 'NO'
        - DK
        - FI
        - IE
        - PT
        - PL
        - CH
        - AT
        - CZ
        - GR
        - RU
        - BR
        - MX
        - CL
        - AR
        - JP
        - KR
        - CN
        - HK
        - TW
        - SG
        - MY
        - TH
        - ID
        - PH
        - VN
        - IN
        - AE
        - SA
        - IL
        - TR
        - ZA
        - NZ
    DhgateProductPriceTier:
      properties:
        '@type':
          type: string
          default: DhgateProductPriceTier
        min_quantity:
          anyOf:
            - type: integer
            - type: 'null'
        max_quantity:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    DhgateProductRatingBreakdown:
      properties:
        '@type':
          type: string
          default: DhgateProductRatingBreakdown
        five_star:
          anyOf:
            - type: integer
            - type: 'null'
        four_star:
          anyOf:
            - type: integer
            - type: 'null'
        three_star:
          anyOf:
            - type: integer
            - type: 'null'
        two_star:
          anyOf:
            - type: integer
            - type: 'null'
        one_star:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    DhgateProductReviewTag:
      properties:
        '@type':
          type: string
          default: DhgateProductReviewTag
        name:
          type: string
        count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    DhgateProductSpecification:
      properties:
        '@type':
          type: string
          default: DhgateProductSpecification
        name:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    DhgateProductVariant:
      properties:
        '@type':
          type: string
          default: DhgateProductVariant
        name:
          type: string
        values:
          items:
            $ref: '#/components/schemas/DhgateProductVariantValue'
          type: array
          default: []
      type: object
      required:
        - name
    DhgateProductShipping:
      properties:
        '@type':
          type: string
          default: DhgateProductShipping
        is_free:
          type: boolean
          default: false
        cost:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        stock_country:
          anyOf:
            - type: string
            - type: 'null'
        delivery_time:
          anyOf:
            - type: string
            - type: 'null'
        delivery_min_days:
          anyOf:
            - type: integer
            - type: 'null'
        delivery_max_days:
          anyOf:
            - type: integer
            - type: 'null'
        express_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    DhgateProductStore:
      properties:
        '@type':
          type: string
          default: DhgateProductStore
        id:
          anyOf:
            - type: string
            - type: 'null'
        seller_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        positive_feedback_percent:
          anyOf:
            - type: number
            - type: 'null'
        transaction_count:
          anyOf:
            - type: integer
            - type: 'null'
        item_count:
          anyOf:
            - type: integer
            - type: 'null'
        favorite_count:
          anyOf:
            - type: integer
            - type: 'null'
        opened_at:
          anyOf:
            - type: string
            - type: 'null'
        business_type:
          anyOf:
            - type: string
            - type: 'null'
        level:
          anyOf:
            - type: string
            - type: 'null'
        tier:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    DhgateProductVariantValue:
      properties:
        '@type':
          type: string
          default: DhgateProductVariantValue
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````