{ } DLPL API

Giá trị dinh dưỡng thực phẩm

Free

851 thực phẩm trong bảng thành phần thực phẩm Việt Nam (Viện Dinh dưỡng Quốc gia), tới 150 chỉ tiêu trên 100 g phần ăn được.

Endpoint

EndpointMô tả
GET /v1/nutrition-foodsTìm kiếm, lọc, phân trang
GET /v1/nutrition-foods/{id}Chi tiết một bản ghi (toàn bộ trường)
bash
curl "https://api.dulieuphapluat.vn/v1/nutrition-foods?per_page=10" \
  -H "Authorization: Bearer dlpl_live_xxxxxxxxxxxxxxxxxxxxxxxx"

Tham số và trường dữ liệu

Tham số lọc
Tham sốKiểu
q Từ khoá tìm trong: name, name_en
code string
group string
energy_min (>=) int
energy_max (<=) int
page, per_pagePhân trang
Trường dữ liệu
TrườngKiểuGói
id id Free
code string Free
name string Free
name_en string Free
group* string Free
group_name string Free
group_name_en* string Free
energy_kcal_per_100g float Free
nutrient_count* int Free
nutrients* json Starter+
variants* json Pro+

* chỉ trả ở endpoint chi tiết.

Cùng nhóm Y tế