
Python Nutrition API Quickstart is a developer guide for Dietly’s public nutrition catalog. It shows how to make a first nutrition lookup in Python with a single GET request to the Dietly API search endpoint, and it frames that workflow as a quick start for working with nutrition data in code.
The guide uses a minimal example built around requests.get to https://api.getdietly.com/search, with q as the only required parameter and limit available to cap results from 1 to 50. It notes that the response is a JSON array of foods rather than an object with a results property. The page also explains how to handle the returned fields: each result is a flat object, nutrient values are generally per 100 g unless noted, and null values should be treated as unknown rather than zero.
Several fields are named explicitly, including id for a stable Dietly food ID, name and brand for product identity, calories_kcal for energy per 100 g, protein_g, fat_g, and carbs_g for macronutrients, and fiber_g, sugar_g, saturated_fat_g, and sodium_mg for additional nutrients. The page also says the rest of the guide turns the single call into something dependable by introducing a client class, correct field handling, and retries that respect the rate limit. The intended audience is developers using Python to build nutrition lookup into software.
Python Nutrition API Quickstart is an API design, testing & docs product. It focuses on accessing structured nutrition data for foods programmatically without manual data entry. It is built as a B2B product for developers. Python Nutrition API Quickstart is available on API.
It is developed by Dietly, and the product first shipped in 2024. Key capabilities include nutrition lookup, REST API, and food database. It exposes integrations via a public API.
Latest indexed changes and source events
Python quickstart: nutrition data in 10 lines verified by the PulseGate indexer
Other apps tracked under the same category.