Papa John's API endpoint
Returns Papa John's complete published item x allergen matrix (crusts, sauces, cheeses, meats, veggies, and more), grouped by section, each item flagged for peanut, tree nut, egg, milk, wheat, soy, fish, shellfish, and sesame content.
/papajohns/allergensReturns Papa John's complete published item x allergen matrix — crusts,
sauces, cheeses, meats, veggies, and more — grouped by the guide's own
section headings (e.g. Crust Options, Sauces). Each item is flagged for
peanut, tree_nut, egg, milk, wheat, soy, fish, shellfish, and
sesame content. See /papajohns/nutrition for
calorie/macro data on the same items.
No query parameters — this is Papa John's single national allergen guide.
| Field | Filled in, of 1 checked | Values in the sample |
|---|---|---|
| section | 0 | |
| name | 1 | “Şube 7 gün 24 saat açıktır.” |
| allergens | 1 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/papajohns/allergens" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"items": [
{
"section": "Crust Options",
"name": "Original Crust",
"allergens": {
"peanut": false,
"tree_nut": false,
"egg": false,
"milk": false,
"wheat": true,
"soy": false,
"fish": false,
"shellfish": false,
"sesame": false
}
},
{
"section": "Crust Options",
"name": "Gluten-Free Crust",
"allergens": {
"peanut": false,
"tree_nut": false,
"egg": true,
"milk": true,
"wheat": false,
"soy": true,
"fish": false,
"shellfish": false,
"sesame": false
}
}
],
"count": 133,
"source_url": "https://www.papajohns.com/allergens/papa-johns-allergen-guide.html",
"fetched_at": "2026-09-05T09:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/papajohns.allergensResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | papajohns.AllergensResponse | No | ||||
| data.count | integer | No | 170 | |||
| data.fetched_at | string | No | ||||
| data.items | array | No | ||||
| data.items[].allergens | papajohns.AllergenFlags | No | ||||
| data.items[].allergens.egg | boolean | No | ||||
| data.items[].allergens.fish | boolean | No | ||||
| data.items[].allergens.milk | boolean | No | ||||
| data.items[].allergens.peanut | boolean | No | ||||
| data.items[].allergens.sesame | boolean | No | ||||
| data.items[].allergens.shellfish | boolean | No | ||||
| data.items[].allergens.soy | boolean | No | ||||
| data.items[].allergens.tree_nut | boolean | No | ||||
| data.items[].allergens.wheat | boolean | No | ||||
| data.items[].name | string | No | Original Crust | |||
| data.items[].section | string | No | Crust Options | |||
| data.source_url | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/papajohns/allergens" \
-H "x-api-key: $CRAWLORA_API_KEY"