FoodData Central
FoodData Central — free-tier JSON endpoint
FoodData Central offers a free API tier. We verified JSON on a sample GET (Health). Check provider docs for key requirements and limits.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
GET https://api.nal.usda.gov/fdc/v1/foods/search?query=apple&pageSize=1&api_key=DEMO_KEY
{
"totalHits": 26835,
"currentPage": 1,
"totalPages": 26835,
"pageList": [
1,
2
],
"foodSearchCriteria": {
"query": "apple",
"generalSearchInput": "apple",
"pageNumber": 1,
"numberOfResultsPerPage": 50,
"pageSize": 1,
"requireAllWords": false
},
"foods": [
{
"fdcId": 2117388,
"description": "APPLE",
"dataType": "Branded",
"gtinUpc": "070038322238",
"publishedDate": "2021-10-28",
"brandOwner": "Associated Wholesale Grocers, Inc.",
"brandName": "BEST CHOICE",
"ingredients": "FILTERED WATER, APPLE JUICE CONCENTRATE, ASCORBIC ACID (VITAMIN C)."
}
],
"aggregations": {
"dataType": {
"Branded": 26698,
"SR Legacy": 89,
"Survey (FNDDS)": 42,
"Foundation": 6
},
"nutrients": {}
}
}curl "https://api.nal.usda.gov/fdc/v1/foods/search?query=apple&pageSize=1&api_key=DEMO_KEY"const res = await fetch("https://api.nal.usda.gov/fdc/v1/foods/search?query=apple&pageSize=1&api_key=DEMO_KEY");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.nal.usda.gov/fdc/v1/foods/search?query=apple&pageSize=1&api_key=DEMO_KEY")
print(res.json())/fdc/v1/foods/search?query=apple&pageSize=1&api_key=DEMO_KEYPROBEDFoodData Central — free-tier JSON endpoint
/fdcFdc — documented GET route.
/fdc/1Fdc details by ID (example: 1).
/fdc?limit=10Fdc — documented GET route.
/fdc/search?q=testSearch by query parameters.
/fdc/v1/foods/search?limit=5Search by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
FoodData Central: common questions
Is FoodData Central free to use?
Yes — FoodData Central is a free health & food API. Free tier: Free tier — API key may be required for production. Whether the free tier allows commercial use is unclear — check the provider docs.
Does FoodData Central need an API key?
Yes — FoodData Central needs a free API key, which you pass on each request. Rate limits: Unpublished.
Can I call FoodData Central from the browser?
Yes — FoodData Central returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is FoodData Central up right now?
FoodData Central is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.