Papa John's

Get one Papa John's nutritional-details category

Returns Papa John's own published nutrition-facts panel for every item in one category -- full pizzas by name, or a single ingredient family (crust, cheese, sauce, toppings). Each item lists every published size/crust variant with serving size and a full nutrition-facts breakdown (calories, fat, cholesterol, sodium, carbohydrate, fiber, sugars, protein). This is Papa John's national reference data, not priced per-store data -- see GET /papajohns/directory for store lookup.

get/papajohns/nutrition

Request

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

Query parameters

categorystring required

One of: cheese, crust, desserts, dipping-sauces, drinks, extras, papa-bowls, papadias, pizzas, sandwiches, sauce, sides, toppings, wings

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": {
    "category": "pizzas",
    "count": 34,
    "items": [
      {
        "name": "Cheese Pizza",
        "variants": [
          {
            "label": "Original Crust - Large",
            "nutrition": {
              "calories": 200,
              "calories_from_fat": 25,
              "dietary_fiber_g": 1,
              "protein_g": 6,
              "saturated_fat_g": 0.5,
              "sodium_mg": 360,
              "sugars_g": 3,
              "total_carbohydrate_g": 36,
              "total_fat_g": 3
            },
            "serving_size": "1 slice",
            "servings": "8 slices per pizza"
          }
        ]
      }
    ]
  }
}

Changes

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