ApiNutrients
Get US FDA nutrient profile by BMID
Get full nutrient profile by BMID.
Returns identity, rounding rules, and daily values across all 4 demographics.
Cache-Control: 5 minutes, then revalidated.
GET
bmid*BmidBetterMenu nutrient ID
Match
^n_[a-z0-9_]+$Successful Response
application/json- response
Complete response for get nutrient profile endpoint.
data*Nutrient profile data
meta*Request metadata (version, ID, timestamp)
curl -X GET 'https://api.bettermenu.live/us/nutrition/nutrients/n_cf0wwfrw2sf4y'Example Response
{ "data": { "nutrient": { "bmid": "string", "name": "string", "unit": "string", "group": "macronutrient", "fda_mandatory": true, "has_daily_value": true, "rounding_rules": { "value_rounding": [ { "min": "string", "max": "string", "exclusive_min": false, "exclusive_max": false, "action": "declare_zero", "increment": "string", "threshold": "string", "display_text": "string" } ], "dv_rounding": [ { "min": "string", "max": "string", "exclusive_min": false, "exclusive_max": false, "action": "round_nearest", "increment": "string" } ], "citation": "21 CFR § 101.9(c)(7)" }, "daily_values": { "property1": { "daily_value": "string", "unit": "g" }, "property2": { "daily_value": "string", "unit": "g" } }, "daily_values_citation": { "regulation": "81 FR 33742", "section": "21 CFR § 101.9(c)(8)(iv)", "source_url": "string" } } }, "meta": { "version": "string", "request_id": "string", "timestamp": "2019-08-24T14:15:22Z" }}