FoodData Central
National Nutrient Database for Standard Reference
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Health
- Documentation / URL
- https://fdc.nal.usda.gov/
Overview
USDA FoodData Central provides nutrient data — key-based (an invalid key returns 403, verified).
Quick Start
Search (replace YOUR_KEY):
curl "https://api.nal.usda.gov/fdc/v1/foods/search?api_key=YOUR_KEY&query=apple"
{ "error": { "code": "API_KEY_INVALID", "message": "An invalid api_key was supplied. Get one at https://api.nal.usda.gov" } }
Authentication
- Register at fdc.nal.usda.gov → API key (free).
- Send it as the
api_keyquery parameter (invalid → 403, verified).
Rate Limits & Notes
- Free; be polite — no hard published limit.
- Foods, nutrients, and branded products.
FAQ
Is FoodData Central free? Yes — free with a key.
Why 403? Invalid keys return 403 (verified) — register for a key.
What’s the auth style?
api_key query parameter.
More in Health
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Clinical Trials Directory Every clinical trial registered with ClinicalTrials.gov, indexed by condition and sponsor | No auth | Yes | Yes | ↗ |
| CMS.gov Access to the data from the CMS - medicare.gov | API Key | Yes | Unknown | ↗ |
| Coronavirus HTTP API for Latest Covid-19 Data | No auth | Yes | Unknown | ↗ |
| Coronavirus in the UK UK Government coronavirus data, including deaths and cases by region | No auth | Yes | Unknown | ↗ |
| Covid Tracking Project Covid-19 data for the US | No auth | Yes | No | ↗ |