Papa John's API endpoint
Use Crawlora's Papa John's Ingredients API to extract supported public Papa John's data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/papajohns/intl/ingredientsReturns every topping, sauce, and cheese a pizza can be built with on one menu, in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain. Each ingredient reports its family (meat, vegetable, base sauce, and so on), whether it is included on pizzas by default, whether it is charged at the premium rather than the normal rate, and whether it can be applied to just one half. The response also carries what one extra ingredient costs at each size, for both the normal and premium rates. Menu ids come from GET /papajohns/intl/stores. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| market | string | Yes | Market. One of: chile, costa-rica, guatemala, panama, portugal, spain Allowed values: chile, costa-rica, guatemala, panama, portugal, spain | ||
| menu_id | string | Yes | Menu id from a restaurant returned by GET /papajohns/intl/stores | ||
| category | string | No | Return only one ingredient category. One of: base_cheese, base_sauce, extra_cheese, extra_sauce, meat, not_ingredient, premium, vegetable Allowed values: base_cheese, base_sauce, extra_cheese, extra_sauce, meat, not_ingredient, premium, vegetable | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/papajohns/intl/ingredients?market=chile&category=base_cheese" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- `base` marks an ingredient that is on the pizza by default; `premium` marks one charged at the premium rather than the normal rate. - `available_as_half` reports whether it can be applied to just one half of a pizza. - `prices` is what **one extra ingredient** costs at each size, for both the normal and premium rates, keyed by the same size codes [`/papajohns/intl/menu`](papajohns-intl-menu.md) uses. `sizes` maps those codes to the market's own labels. - Ingredients are grouped by category and then name, so output is stable across calls. - The price table comes from a second upstream call; if it fails the catalog still returns without `prices`. - An unknown `market` or `category` returns a `400`. Example response: ```json {"code":200,"msg":"OK","data":{"market":"spain","menu_id":8,"ingredients":[{"id":25,"name":"Salsa de Tomate","category":"base_sauce","description":"Salsa de tomate elaborada con ingredientes naturales…","premium":false,"base":false,"available_as_half":true}],"count":39,"prices":{"normal":{"family":1.29,"medium":1.29},"premium":{"family":1.5,"medium":1.5}},"sizes":{"family":"Familiar","medium":"Mediana"},"source_url":"https://api.papajohns.es/v1/ingredients?menu_id=8","fetched_at":"2026-09-06T09:00:00Z"}} ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"market": "spain",
"menu_id": 8,
"ingredients": [
{
"id": 25,
"name": "Salsa de Tomate",
"category": "base_sauce",
"description": "Salsa de tomate elaborada con ingredientes naturales…",
"premium": false,
"base": false,
"available_as_half": true
}
],
"count": 39,
"prices": {
"normal": {
"family": 1.29,
"medium": 1.29
},
"premium": {
"family": 1.5,
"medium": 1.5
}
},
"sizes": {
"family": "Familiar",
"medium": "Mediana"
},
"source_url": "https://api.papajohns.es/v1/ingredients?menu_id=8",
"fetched_at": "2026-09-06T09:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/papajohns.intlIngredientsResponseDoc
| 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.IntlIngredientsResponse | No | ||||
| data.category | string | No | meat | |||
| data.count | integer | No | 39 | |||
| data.fetched_at | string | No | ||||
| data.ingredients | array | No | ||||
| data.ingredients[].available_as_half | boolean | No | true | AvailableAsHalf reports whether it can be applied to just one half. | ||
| data.ingredients[].base | boolean | No | false | Base marks an ingredient included on the pizza by default. | ||
| data.ingredients[].category | string | No | base_sauce | Category is the ingredient family, e.g. meat or vegetable. | ||
| data.ingredients[].description | string | No | ||||
| data.ingredients[].id | integer | No | 25 | |||
| data.ingredients[].image_url | string | No | ||||
| data.ingredients[].name | string | No | Salsa de Tomate | |||
| data.ingredients[].premium | boolean | No | false | Premium marks an ingredient charged at the premium rate rather than the normal one. | ||
| data.market | string | No | spain | |||
| data.menu_id | integer | No | 8 | |||
| data.prices | unknown | No | Prices is what adding one extra ingredient costs, keyed by size code. | |||
| data.sizes | object | No | ||||
| data.source_url | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/papajohns/intl/ingredients?market=chile&category=base_cheese" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms