Product metadata

This section describes various metadata that may be available for products.

Metadata availability and contents may vary depending on the product type. At the moment several types of metadata may be available:

metadata.externalIds — product ids in external sources

External ids metadata may contain these fields:

Name Description Count
externalIds.amazonAsin Amazon Standard Identification Number, string. 1 227 195 (2% of products)

An example of external ids metadata:

{
    // ...
    "product": {
        "metadata": {
            "externalIds": {
                "amazonAsin": "AMAZONASIN"
            }
        }
    }
}

metadata.generic — generic metadata

Generic metadata may contain these fields:

Name Description Count
generic.ingredients Product ingredients or materials. See Product ingredients for detailed information. 5 217 245 (8% of products)
generic.contributors Product contributors (book authors, musicCD performers, etc.), a list of objects. Each contributor object has following attributes:
  • names — "lang" → "contributor name / title" mapping,
  • type — contributor type, string, one of the following:
    • author — book author,
    • narrator — audio book narrator,
    • artist — artist (for music recordings: composer / musician etc.),
    • music_group — music group / band,
    • choir — choir / chorus / large vocal ensemble,
    • orchestra — large instrumental ensemble.
10 885 810 (18% of products)
generic.weight Product weight information, a list of objects:
[
    {
        "type": "net",    // One of values: ["net", "gross", "unknown"]
        "value": 150.0,   // Weight value, float
        "unit": "grams"   // Weight unit, one of values: ["grams"]
    },
    // ...
]
3 302 898 (5% of products)
generic.dimensions Product and packaging dimensions information, an object:
{
    // Product dimensions, if available
    "product": {
        // Can contain "width", "height", "depth" and / or "length" attributes
        "width": {
            "value": 9.5, // Dimension value
            "unit": "cm"  // Dimension unit (currently only "cm" are returned)
        },
        // ...
        "depth": {
            "value": 19.5,
            "unit": "cm"
        }
    },
    // Packaging dimensions, if available
    "packaging": {
        // Same as product
    }
}
7 224 467 (12% of products)
generic.manufacturerCode Manufacturer product code, string. 13 230 623 (21% of products)
generic.color Product color, one of strings: beige, black, blue, bronze, brown, chrome, dark_blue, gold, gray, green, ivory, khaki, light_blue, magenta_fuchsia, multi, orange, pink, purple, red, silver, transparent, white, yellow. 7 834 782 (13% of products)

An example of generic metadata:

{
    // ...
    "product": {
        "metadata": {
            "generic": {
                "manufacturerCode": "PRODUCT-CODE-123",
                "color": "white",
                "contributors": [
                    {
                        "names": {
                            "en": "John Smith"
                        },
                        "type": "author"
                    }
                ]
            }
        }
    }
}

metadata.food — for food items, beverages and baby food

Food metadata may contain these fields:

Name Description Count
food.nutrimentsPer100Grams.fatGrams Fat content, grams per 100 grams. 987 992 (49% of food products)
food.nutrimentsPer100Grams.proteinsGrams Proteins content, grams per 100 grams. 1 002 305 (49% of food products)
food.nutrimentsPer100Grams.carbohydratesGrams Carbohydrates content, grams per 100 grams. 1 016 220 (50% of food products)
food.nutrimentsPer100Grams.energyKCal Energy value, kcal per 100 grams. 1 034 516 (51% of food products)
food.nutrimentsPer100Grams.cholesterolMg Cholesterol content, milligrams per 100 grams. 283 136 (14% of food products)
food.nutrimentsPer100Grams.sodiumMg Sodium (Na) content, milligrams per 100 grams. 836 978 (41% of food products)
food.nutrimentsPer100Grams.potassiumMg Potassium (K) content, milligrams per 100 grams. 151 147 (7% of food products)
food.nutrimentsPer100Grams.calciumMg Calcium (Ca) content, milligrams per 100 grams. 290 540 (14% of food products)

An example of food metadata:

{
    // ...
    "product": {
        "metadata": {
            "food": {
                "nutrimentsPer100Grams": {
                    "fatGrams": 1.0,
                    "proteinsGrams": 12.0,
                    "carbohydratesGrams": 34.5,
                    "energyKCal": 654.0
                }
            }
        }
    }
}

metadata.printBook — for print books

Print book metadata may contain these fields:

Name Description Count
printBook.numPages Number of pages in print book, integer. 7 170 296 (71% of print books)
printBook.publishedYear Book publication year, integer. 8 103 453 (81% of print books)
printBook.bisacCodes BISAC codes of a print book, list of strings. 1 243 359 (12% of print books)
printBook.bindingType Book binding type, one of strings: hardcover, paperback. 8 257 082 (82% of print books)

An example of print book metadata:

{
    // ...
    "product": {
        "metadata": {
            "printBook": {
                "numPages": 123,
                "publishedYear": 2021,
                "bisacCodes": ["FIC027110"],
                "bindingType": "paperback"
            }
        }
    }
}

metadata.musicCD — for music CDs

Music CD metadata may contain these fields:

Name Description Count
musicCD.releasedYear Year of first music CD release, integer. 1 347 294 (96% of music CDs)
musicCD.numberOfDiscs Number of discs, integer. 357 565 (26% of music CDs)

An example of music CD metadata:

{
    // ...
    "product": {
        "metadata": {
            "musicCD": {
                "releasedYear": 1990,
                "numberOfDiscs": 1
            }
        }
    }
}