McDonalds

Get one McDonald's item's nutrition

Returns one McDonald's item's published nutrition detail: the full per-serving nutrient list (calories, protein, carbohydrates, total and saturated fat, trans fat, cholesterol, sodium, fibre, sugars, vitamins and minerals -- 21 values for a Big Mac), each with a stable machine key, a unit and a percent-daily-value where McDonald's prints one; plus the item's marketing description, allergen statement, full ingredient statement and image. Item ids come from GET /mcdonalds/menu and are market-specific, so pass the same country back. Seven markets serve this endpoint, fewer than the eight publishing a menu -- Great Britain has a menu but no nutrition surface. Combo meals legitimately carry no nutrient list. Prices are not available on this surface.

get/mcdonalds/item

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/mcdonalds/item
  • Auth: API key in header x-api-key

Query parameters

item_idstring required

McDonald's numeric product id, from /mcdonalds/menu

country'us' | 'ca' | 'au' | 'ie' | 'nz' | 'ch' | 'se'

Market (default us). One of us, ca, au, ie, nz, ch, se. Must match the market the item id came from.

Headers

x-api-keystring required

API key required

Response

OK

codeinteger

Code is the HTTP status code or a custom code used to indicate the result of the request @example 200

msgunknown

Example response

{
  "data": {
    "country": "us",
    "item_id": "200463",
    "name": "Big Mac",
    "nutrients": [
      {
        "daily_value": "45",
        "key": "calories",
        "name": "Calories",
        "unit": "Cal.",
        "value": "580"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.