USDA Food

Obtain details about an item in the USDA food database

Use the usdaFoodByNdbNumber query to obtain details about an item in the USDA food database.

Argument

Type

Description

ndbNumber

String!

USDA ndbNumber

Example

{
  usdaFoodByNdbNumber(ndbNumber: "25028") {
    dataType
    description
    portions {
      modifier
      seqNum
      amount
      gramWeight
      unit
    }
    nutrients {
      amount
      unit
      nutrientNbr
      name
    }
  }
}

Last updated