Health & Food · Data API

Global Food Nutrient Database

Comprehensive nutritional information for hundreds of thousands of generic and branded food products.

Provides detailed data on macronutrients, micronutrients, vitamins, and minerals for a vast array of food items. It is the definitive source for building nutrition-aware applications.

Source: U.S. Department of Agriculture (USDA) FoodData Central · Public Domain (US Government Work) · Source: U.S. Department of Agriculture, Agricultural Research Service.

Endpoints

Every request is authenticated with your X-API-Key and counted against your plan.

  • GET /v1/data/global-food-nutrient-database
  • GET /v1/data/global-food-nutrient-database/search?q=...
  • GET /v1/data/global-food-nutrient-database/{key}

Base path /v1/data/global-food-nutrient-database · full reference in the interactive docs. Also exposed as an MCP tool for AI agents.

Fields

FieldTypeDescription
fdc_idintThe unique identifier for the food item in the FoodData Central database.
descriptionstrThe name or description of the food item.
data_typestrThe type of food data (e.g., SR Legacy, Branded).
brand_ownerstrThe brand owner for branded food products.
serving_sizefloatThe serving size in grams.
calories_kcalfloatEnergy content in kilocalories per 100g.
protein_gfloatProtein content in grams per 100g.
fat_gfloatTotal fat content in grams per 100g.
carbohydrates_gfloatCarbohydrate content in grams per 100g.

What you get

Data on over 400,000 food items.
Includes generic foods, branded products, and restaurant items.
Up to 150 nutrient values per food.
Trusted, government-maintained source.
Powerful search API for easy integration.

FAQ

Is the data only for US products?
While the branded data is primarily from the US market, the foundational data (SR Legacy) covers generic food items and is globally applicable.
How can I find the nutrient ID for a specific vitamin?
Our documentation includes a full list of all available nutrients and their corresponding IDs for easy lookup.

Pricing

Simple, transparent pricing

Start free, upgrade when you need more. All plans include full API access.

Free

$0forever

Get started and explore the API

100 requests/day
  • 100 API requests per day
  • All endpoints included
  • Community support
Most popular

Pro

$9/month

For production apps and AI agents

10,000 requests/day
  • 10,000 API requests per day
  • All endpoints included
  • Priority support
  • Usage dashboard

Enterprise

$49/month

Unlimited access for high-volume use

Unlimited requests
  • Unlimited API requests
  • All endpoints included
  • Priority support
  • Usage dashboard
  • Dedicated support channel

Getting Started

Start building in minutes

Register for a free API key, make your first request, and upgrade when you're ready.

1

Register

Create an account to get your API key. It's free — no credit card required.

curl -X POST https://api.aristocles.com.au/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "name": "Your Name"}'
2

Make a request

Use your API key in the X-API-Key header to authenticate requests.

curl https://api.aristocles.com.au/v1/data/asx \
  -H "X-API-Key: your_api_key_here"
3

Upgrade

Need more requests? Upgrade to Pro or Enterprise — you'll be redirected to Stripe Checkout.

curl -X POST "https://api.aristocles.com.au/v1/billing/checkout?tier=pro" \
  -H "X-API-Key: your_api_key_here"
4

Check usage

Monitor your daily request count and remaining quota at any time.

curl https://api.aristocles.com.au/v1/usage \
  -H "X-API-Key: your_api_key_here"