freeapis

Edamam recipes

食谱搜索

认证方式
API Key
HTTPS
Yes
CORS
Unknown
分类
餐饮
数据来源
public-apis + marcelscruz

简介

Edamam 的 Recipe API 搜索数百万食谱并带营养数据。认证是 App ID + App Key 对(无效对返回 401,已实测)。

快速开始

搜索(替换 YOUR_ID / YOUR_KEY):

curl "https://api.edamam.com/api/recipes/v2?type=public&q=chicken&app_id=YOUR_ID&app_key=YOUR_KEY"
{
  "from": 0,
  "to": 10,
  "count": 12345,
  "hits": [
    {
      "recipe": {
        "label": "Chicken Soup",
        "image": "https://edamam-product-images.s3.amazonaws.com/...",
        "calories": 320,
        "ingredientLines": ["2 chicken breasts", "1 onion"],
        "url": "https://example.com/recipe"
      }
    }
  ]
}

认证方式

  • 在 developer.edamam.com 注册 → 创建应用 → App ID + App Key。
  • 作为 app_id 和 app_key 查询参数发送(无效 → 401,已实测)。

速率限制与注意事项

  • 免费层:约 10,000 次/月(看控制台);付费档可扩展。
  • type=public 必填;可加筛选(diet、health、cuisineType)。
  • 每个食谱返回完整营养数据。

常见问题

Edamam 免费吗? 免费层:约 10,000 次/月;更多需要付费。

如何获取凭据? developer.edamam.com → 创建应用。

认证风格是什么? app_id + app_key 查询参数(已实测)。

餐饮 分类更多

APIAuthHTTPSCORS
BaconMockup

Resizable bacon placeholder images

No authYesYes↗
Chomp

Data about various grocery products and foods

API KeyYesUnknown↗
Coffee

Random pictures of coffee

No authYesUnknown↗
DietlyAPI

Food & nutrition API with 4.2M+ foods (Open Food Facts + community, normalized and confidence-ranked): calories, macros, micronutrients, barcode lookup, ~40ms s

API KeyYesUnknown↗
Edamam nutrition

Nutrition Analysis

API KeyYesUnknown↗