# Package Dimension: Response

> Response fields and a sample JSON response for the PACKAGE_DIMENSION operation: package and item dimensions, weights and product data.

Source: https://docs.easyparser.com/real-time-integration/package-dimension/response

For the Package Dimension operation, `result` contains the marketplace country code, the `package` object (shipping dimensions and weight) and the `product` object (product data plus the item's own dimensions and weight). Every response uses the shared [response envelope](/real-time-integration/overview#response-envelope) (`request_info`, `request_parameters`, `request_metadata`, `result`).

## Response structure

```
result
├── country_code
├── package
│   ├── dimensions { height, length, width, unit, unit_string_id }
│   └── weight { value, unit }
└── product
    ├── asin, title, brand, link, fee_category, gl
    ├── dimensions { height, length, width, unit }
    ├── weight { value, unit }
    ├── media { image, thumbnail }
    ├── main_image { id, link }
    └── thumb_image { id, link }
```

## Result fields

### `result`

| Field | Type | Description |
|---|---|---|
| `country_code` | string | ISO 3166 alpha-2 country code of the marketplace, for example `US`. |
| `package` | object | Dimensions and weight of the packaged product, as used for fulfillment. See below. |
| `product` | object | Product data and the dimensions and weight of the item without packaging. See below. |

### `package.dimensions`

| Field | Type | Description |
|---|---|---|
| `height` | number | Package height. |
| `length` | number | Package length. |
| `width` | number | Package width. |
| `unit` | string | Unit of the three measurements, for example `inches`. |
| `unit_string_id` | string | Amazon internal identifier of the unit, for example `SC_FBA_UnitOfMeasure_Inches_39146`. Can be absent; the sample below does not include it. |

### `package.weight`

| Field | Type | Description |
|---|---|---|
| `value` | number | Package weight. |
| `unit` | string | Unit of the weight, for example `pounds`. |

### `product`

| Field | Type | Description |
|---|---|---|
| `asin` | string | ASIN of the product. |
| `title` | string | Product title as shown on the listing. |
| `brand` | string | Brand name. |
| `link` | string | URL of the product detail page. |
| `fee_category` | string | Amazon fee category code, for example `BASE_PRODUCT`. |
| `gl` | string | Amazon product group (GL) code, for example `ce_display_on_website`. |
| `dimensions` | object | Dimensions of the item without packaging. See `product.dimensions`. |
| `weight` | object | Weight of the item without packaging. See `product.weight`. |
| `media` | object | Image URLs. See `product.media`. |
| `main_image` | object | Main image ID and URL. See `product.main_image`. |
| `thumb_image` | object | Thumbnail image ID and URL. See `product.thumb_image`. |

### `product.dimensions`

| Field | Type | Description |
|---|---|---|
| `height` | number | Item height. |
| `length` | number | Item length. |
| `width` | number | Item width. |
| `unit` | string | Unit of the three measurements, for example `inches`. |

### `product.weight`

| Field | Type | Description |
|---|---|---|
| `value` | number | Net weight of the item. |
| `unit` | string | Unit of the weight, for example `pounds`. |

### `product.media`

| Field | Type | Description |
|---|---|---|
| `image` | string | URL of the main product image. |
| `thumbnail` | string | URL of a small version of the image for list views. |

### `product.main_image`

| Field | Type | Description |
|---|---|---|
| `id` | string | Amazon image ID, for example `61FxW-B6tgL`. |
| `link` | string | URL of the main image. |

### `product.thumb_image`

| Field | Type | Description |
|---|---|---|
| `id` | string | Amazon image ID of the thumbnail. |
| `link` | string | URL of the thumbnail image. |

## Sample response

#### Sample response (PACKAGE_DIMENSION, .com)

```json
{
   "request_info":{
      "id":"302677a1-6616-4129-82fc-d9fb8e7a5747",
      "success":true,
      "status_code":200,
      "error_details":[
         
      ],
      "credits_used":1,
      "credit_used_this_request":1,
      "credits_remaining":99,
      "credits_reset_at":"2026-04-09T07:41:48.000Z"
   },
   "request_parameters":{
      "asin":"B004N627KS",
      "type":"PACKAGE_DIMENSION"
   },
   "request_metadata":{
      "created_at":"2026-03-18T00:29:06.022Z",
      "processed_at":"2026-03-18T00:29:09.248Z",
      "total_time_taken":3.226
   },
   "result":{
      "country_code":"US",
      "package":{
         "dimensions":{
            "height":2.4799999974704,
            "length":20.041923056480318,
            "unit":"inches",
            "width":9.5299999902794
         },
         "weight":{
            "unit":"pounds",
            "value":1.7196056436
         }
      },
      "product":{
         "asin":"B004N627KS",
         "brand":"Logitech",
         "dimensions":{
            "height":17.25,
            "length":0.75,
            "unit":"inches",
            "width":5.75
         },
         "fee_category":"BASE_PRODUCT",
         "gl":"ce_display_on_website",
         "link":"https://www.amazon..com/dp/B004N627KS",
         "main_image":{
            "id":"61FxW-B6tgL",
            "link":"https://m.media-amazon.com/images/I/61FxW-B6tgL.jpg"
         },
         "media":{
            "image":"https://m.media-amazon.com/images/I/61FxW-B6tgL.jpg",
            "thumbnail":"https://m.media-amazon.com/images/I/41+R7pH+2RL._SL75_.jpg"
         },
         "thumb_image":{
            "id":"41+R7pH+2RL",
            "link":"https://m.media-amazon.com/images/I/41+R7pH+2RL._SL75_.jpg"
         },
         "title":"Logitech K270 Wireless Keyboard for Windows, 2.4 GHz Wireless, Full-Size, Number Pad, 8 Multimedia Keys, 2-Year Battery Life, Compatible with PC, Laptop, Black",
         "weight":{
            "unit":"pounds",
            "value":1.1
         }
      }
   }
}
```

## Notes

- Units depend on the marketplace. `.com` returns inches and pounds; EU marketplaces return centimeters and kilograms. Read the `unit` field of each object instead of assuming a unit.
- Measurements can have many decimal places (for example `20.041923056480318`). Round them in your application if you need fewer decimals.
- The response has no price, offer or rating data. Use the [Detail](/real-time-integration/detail) operation for price and rating, and the [Offer](/real-time-integration/offer) operation for offers.
