{ } DLPL API

Chỉ tiêu dinh dưỡng (bảng phẳng)

Starter+

33.017 dòng giá trị từng chỉ tiêu dinh dưỡng của từng thực phẩm/món ăn, dùng để xếp hạng “thực phẩm giàu chất X”.

Endpoint

EndpointMô tả
GET /v1/nutrition-valuesTìm kiếm, lọc, phân trang
GET /v1/nutrition-values/{id}Chi tiết một bản ghi (toàn bộ trường)
bash
curl "https://api.dulieuphapluat.vn/v1/nutrition-values?owner_type=…&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
owner_type string
nutrient_code string
owner_id int
value_min (>=) float
page, per_pagePhân trang

Cần ít nhất một trong: nutrient_code, owner_id

Bắt buộc: owner_type

Trường dữ liệu
TrườngKiểuGói
id id Free
owner_type string Free
owner_id int Free
nutrient_code string Free
nutrient_name string Free
unit string Free
value_per_100g float Free

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

Cùng nhóm Y tế