McDonalds

Get nutrition and allergen detail for a batch of McDonald's items

Returns the same published nutrition detail as GET /mcdonalds/item for up to 20 items in one call, plus the per-component ingredient and allergen breakdown that the single-item endpoint does not expose -- a composite item's overall allergen statement is the union of its parts' (a burger's bun, patty, cheese and condiment each carry their own ingredient statement and allergens), so this is the source to use when the full breakdown matters, not just the item-level summary. Item ids come from GET /mcdonalds/menu and are market-specific, so pass the same country back. The response echoes the requested ids so a caller can tell which ones McDonald's returned nothing for.

get/mcdonalds/item-list

Request

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

Query parameters

item_idsstring required

Comma-separated McDonald's numeric product ids, up to 20

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 ids 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": {
    "count": 3,
    "country": "us",
    "items": [
      {
        "item_id": "200466",
        "name": "Quarter Pounder with Cheese",
        "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.