Wendys

Get one Wendy's menu item's (or combo's) detail

Returns one item's full detail. A simple item (is_combo false) returns its description, base price, calories, every size/weight variant (e.g. Small/Medium/Large fries, each with its own price and calories, with is_default marking the one Wendy's own page pre-selects), and every modifier component -- default (comes with the item), extra (a paid add-on) and required (the caller must pick one option from a named group, e.g. a salad's dressing) -- each with its own ingredient description and allergen list, since Wendy's publishes allergens per-component rather than as one whole-item field. The top-level allergens field is the union across default components and each required group's default-selected option only. A combo (is_combo true) instead returns combo_slots: its entree/side/drink composition and every product each slot can be built from, since a combo's own price and calories vary by what is chosen. A combo slot's product ids are the same items sold standalone in their own categories -- call this endpoint again on one of those for its own full component/allergen detail. Category and item slugs come from GET /wendys/categories and GET /wendys/menu.

get/wendys/item

Request

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

Query parameters

categorystring required

Category slug from /wendys/categories

itemstring required

Item slug from /wendys/menu's items[].slug

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": {
    "base_price": 7.99,
    "calories": "520 Cal",
    "category": "hamburgers",
    "combo_slots": [
      {
        "name": "Dave's Hamburger Combo",
        "options": [
          {
            "base_price": 5.59,
            "calories": "560 Cal",
            "name": "Dave's Single®",
            "product_id": "10000000000081"
          }
        ],
        "slot_type": "ENTREE"
      }
    ],
    "components": [
      {
        "allergens": [
          "Wheat",
          "Milk"
        ],
        "group": "default",
        "name": "Grilled Chicken",
        "price": 0.5,
        "required_group_name": "Dressing"
      }
    ],
    "item": "daves-combo",
    "name": "Dave's Combo",
    "variants": [
      {
        "base_price": 2.79,
        "calories": "260 Cal",
        "item_id": "40054",
        "name": "Small Natural-Cut Fries",
        "short_name": "Small"
      }
    ]
  }
}

Changes

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