{
  "x402Version": 2,
  "kind": "resource-server",
  "name": "Food Nutrition API",
  "description": "Global nutrition data from 6 sources. All endpoints require x402 payment (0.01 USDC on Base Mainnet).",
  "free_resources": [
    "https://fooddata-api.com/",
    "https://fooddata-api.com/openapi.json",
    "https://fooddata-api.com/.well-known/x402",
    "https://fooddata-api.com/api/stats"
  ],
  "resources": [
    {
      "url": "https://fooddata-api.com/api/foods",
      "method": "GET",
      "type": "http",
      "description": "USDA FoodData Central foods (403 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/foods/:id",
      "method": "GET",
      "type": "http",
      "description": "USDA food by FDC ID",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/off/products",
      "method": "GET",
      "type": "http",
      "description": "Open Food Facts products (807,904 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/off/search",
      "method": "GET",
      "type": "http",
      "description": "Search Open Food Facts by name",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/off/products/:code",
      "method": "GET",
      "type": "http",
      "description": "Open Food Facts product by barcode",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/cn/foods",
      "method": "GET",
      "type": "http",
      "description": "Chinese foods (222 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/cn/search",
      "method": "GET",
      "type": "http",
      "description": "Search Chinese foods",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/cn/foods/:id",
      "method": "GET",
      "type": "http",
      "description": "Chinese food by ID",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/cn/recipes",
      "method": "GET",
      "type": "http",
      "description": "Chinese recipes",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/in/foods",
      "method": "GET",
      "type": "http",
      "description": "Indian foods IFCT 2017 (542 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/in/search",
      "method": "GET",
      "type": "http",
      "description": "Search Indian foods",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/in/foods/:code",
      "method": "GET",
      "type": "http",
      "description": "Indian food by code",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/in/recipes",
      "method": "GET",
      "type": "http",
      "description": "Indian recipes",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/kr/foods",
      "method": "GET",
      "type": "http",
      "description": "Korean foods MFDS (316,734 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/kr/search",
      "method": "GET",
      "type": "http",
      "description": "Search Korean foods by name",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/kr/foods/:id",
      "method": "GET",
      "type": "http",
      "description": "Korean food by ID",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/compare",
      "method": "GET",
      "type": "http",
      "description": "Compare nutrition of two foods (format: source:id)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/filter",
      "method": "GET",
      "type": "http",
      "description": "Filter foods by nutrition criteria",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes",
      "method": "GET",
      "type": "http",
      "description": "List all recipes (7,661 items)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/search",
      "method": "GET",
      "type": "http",
      "description": "Search recipes by name/category/area",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/random",
      "method": "GET",
      "type": "http",
      "description": "Random recipe",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/by-ingredient",
      "method": "GET",
      "type": "http",
      "description": "Find recipes by ingredient",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/filter",
      "method": "GET",
      "type": "http",
      "description": "Filter recipes by category/area/ingredient",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/:id",
      "method": "GET",
      "type": "http",
      "description": "Recipe by ID",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/recipes/:id/nutrition",
      "method": "GET",
      "type": "http",
      "description": "Recipe nutrition calculation",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/jp/foods",
      "method": "POST",
      "type": "http",
      "description": "Japanese food data (2,538 items, 28 nutrients, allergens, carbon footprint)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/jp/search",
      "method": "POST",
      "type": "http",
      "description": "Search Japanese foods by name (JP/EN)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/jp/foods/:id",
      "method": "POST",
      "type": "http",
      "description": "Japanese food by ID with full nutrients",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/jp/foods/:id/allergens",
      "method": "POST",
      "type": "http",
      "description": "Japanese food allergens (EU 14)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    },
    {
      "url": "https://fooddata-api.com/api/jp/foods/:id/sustainability",
      "method": "POST",
      "type": "http",
      "description": "Japanese food carbon footprint (Poore & Nemecek 2018)",
      "price_usd": 0.01,
      "currency": "USDC",
      "network": "eip155:8453"
    }
  ],
  "updated": "2026-09-26T20:26:44.328Z"
}