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

# Get product details

> Retrieve structured product data from an Amazon product page by ASIN or URL.



## OpenAPI

````yaml get /v1/amazon/product
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/amazon/product:
    get:
      tags:
        - Amazon
      summary: Get Amazon product details
      description: >-
        Retrieve structured product data from an Amazon product page: title,
        price, rating, review count, images, bullet points, description, and
        seller info. Accepts an ASIN or a full Amazon product URL.
      operationId: getAmazonProduct
      parameters:
        - name: query
          in: query
          required: false
          schema:
            description: Free-text product query (asin or query required)
            type: string
            minLength: 1
        - name: asin
          in: query
          required: false
          schema:
            description: Amazon ASIN to look up (asin or query required)
            type: string
            minLength: 1
        - name: country
          in: query
          required: false
          schema:
            description: Country code for localized results
            type: string
            pattern: ^[a-z]{2}$
        - name: language
          in: query
          required: false
          schema:
            description: Language for results
            type: string
            minLength: 1
        - name: domain
          in: query
          required: false
          schema:
            description: Amazon domain suffix, e.g. com, co.uk, de
            type: string
            pattern: ^[a-z]+(?:\.[a-z]+)?$
        - name: device
          in: query
          required: false
          schema:
            type: string
            enum:
              - desktop
              - mobile
              - tablet
            description: Device profile to emulate
        - name: timeout_ms
          in: query
          required: false
          schema:
            description: Max time to wait, in ms
            type: string
            pattern: ^\d+$
      responses:
        '200':
          description: Structured Amazon product data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmazonProductResponse'
        '400':
          description: Invalid ASIN or request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Amazon blocked the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Amazon execution backend unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: >-
            curl
            "https://api.scrapio.dev/v1/amazon/product?asin=B08N5WRWNW&country=us"
            \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
        - lang: Python
          label: Python
          source: |-
            import os, requests
            resp = requests.get(
                "https://api.scrapio.dev/v1/amazon/product",
                headers={"Authorization": f"Bearer {os.environ['SCRAPIO_API_KEY']}"},
                params={"asin": "B08N5WRWNW", "country": "us"},
            )
            print(resp.json()["title"], resp.json()["price"])
        - lang: JavaScript
          label: Node.js
          source: >-
            const params = new URLSearchParams({ asin: "B08N5WRWNW", country:
            "us" });

            const product = await
            fetch(`https://api.scrapio.dev/v1/amazon/product?${params}`, {
              headers: { Authorization: `Bearer ${process.env.SCRAPIO_API_KEY}` },
            }).then(r => r.json());

            console.log(product.title, product.price);
components:
  schemas:
    AmazonProductResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - amazon
        page_type:
          type: string
          enum:
            - product
        asin:
          anyOf:
            - type: string
            - type: 'null'
        title:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        availability:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: number
            - type: 'null'
        images:
          type: array
          items:
            type: string
        bullet_points:
          type: array
          items:
            type: string
        delivery:
          type: array
          items:
            type: object
            properties:
              type:
                anyOf:
                  - type: string
                  - type: 'null'
              date:
                anyOf:
                  - type: object
                    properties:
                      by:
                        anyOf:
                          - type: string
                          - type: 'null'
                    required:
                      - by
                    additionalProperties: false
                  - type: 'null'
            required:
              - type
              - date
            additionalProperties: false
        featured_merchant:
          anyOf:
            - type: object
              properties:
                name:
                  type: string
                seller_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                shipped_from:
                  anyOf:
                    - type: string
                    - type: 'null'
                is_amazon_fulfilled:
                  anyOf:
                    - type: boolean
                    - type: 'null'
              required:
                - name
                - seller_id
                - shipped_from
                - is_amazon_fulfilled
              additionalProperties: false
            - type: 'null'
        buybox:
          anyOf:
            - type: object
              propertyNames:
                type: string
              additionalProperties:
                anyOf:
                  - type: string
                  - type: number
                  - type: boolean
                  - type: 'null'
            - type: 'null'
        category:
          type: array
          items:
            type: object
            properties:
              ladder:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    url:
                      type: string
                  required:
                    - name
                    - url
                  additionalProperties: false
            required:
              - ladder
            additionalProperties: false
        product_details:
          type: object
          propertyNames:
            type: string
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
        url:
          type: string
          format: uri
      required:
        - provider
        - page_type
        - asin
        - title
        - brand
        - price
        - currency
        - availability
        - rating
        - review_count
        - images
        - bullet_points
        - delivery
        - featured_merchant
        - buybox
        - category
        - product_details
        - url
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````