Papa John's API endpoint
Use Crawlora's Papa John's International Offer 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/offerReturns one promotional offer's full composition in one of six international markets: Chile, Costa Rica, Guatemala, Panama, Portugal, and Spain. This is what a promotion banner from GET /papajohns/intl/deals actually contains: the offer's own price, each choice step a customer works through in order (e.g. "pick your family pizza", "pick a side"), and every product eligible at that step with the surcharge picking it adds. It also carries the offer's ingredient rules -- how many extras are free, the minimum and maximum that may be chosen, and which ingredient families are allowed. Offer ids come from the offer_id field on a deal. 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 | ||
| offer_id | string | Yes | Offer id from the offer_id field on GET /papajohns/intl/deals | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/papajohns/intl/offer?market=chile" \ -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.
- `steps` are in the order a customer works through them, e.g. "pick your family pizza" then "pick a side". A step with `optional` true may be skipped. - Each choice's `surcharge` is what picking it **adds** to the offer price. A choice that costs nothing extra omits the field rather than reporting a `0.00` charge. - Choices carry `product_id` (usable with [`/papajohns/intl/product`](papajohns-intl-product.md)) and `variant_id`, plus size and crust codes with the market's own labels. - `free_extras`, `min_ingredients`, `max_ingredients`, and `ingredient_categories` describe the offer's own ingredient rules, which can differ from the base product's. - Size and crust labels come from a second upstream call; if it fails the offer still returns with machine codes only. - An unknown `offer_id` returns a `404`; an unknown `market` or a non-numeric id returns a `400`. Example response: ```json {"code":200,"msg":"OK","data":{"market":"spain","id":660,"name":"Combo Veranito","description":"1 Familiar + Entrante + 2 Cocktails.","offer_type":"Combo","dispatch_method":"both","price":19.98,"currency":"EUR","start_date":"2023-09-19T01:00:00Z","end_date":"2026-09-21T23:45:00Z","availability":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"customizable":true,"promoted":true,"free_extras":2,"min_ingredients":1,"max_ingredients":10,"ingredient_categories":["extra_cheese","meat","premium","shots","vegetable"],"steps":[{"id":1919,"name":"❶ Elige tu pizza familiar","optional":false,"choices":[{"product_id":336,"variant_id":830,"name":"Italiana Ranch","size":"family","crust":"traditional","size_label":"Familiar","crust_label":"Original","surcharge":1.9}],"choice_count":12}],"source_url":"https://api.papajohns.es/v1/offers/660","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",
"id": 660,
"name": "Combo Veranito",
"description": "1 Familiar + Entrante + 2 Cocktails.",
"offer_type": "Combo",
"dispatch_method": "both",
"price": 19.98,
"currency": "EUR",
"start_date": "2023-09-19T01:00:00Z",
"end_date": "2026-09-21T23:45:00Z",
"availability": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"customizable": true,
"promoted": true,
"free_extras": 2,
"min_ingredients": 1,
"max_ingredients": 10,
"ingredient_categories": [
"extra_cheese",
"meat",
"premium",
"shots",
"vegetable"
],
"steps": [
{
"id": 1919,
"name": "❶ Elige tu pizza familiar",
"optional": false,
"choices": [
{
"product_id": 336,
"variant_id": 830,
"name": "Italiana Ranch",
"size": "family",
"crust": "traditional",
"size_label": "Familiar",
"crust_label": "Original",
"surcharge": 1.9
}
],
"choice_count": 12
}
],
"source_url": "https://api.papajohns.es/v1/offers/660",
"fetched_at": "2026-09-06T09:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/papajohns.intlOfferResponseDoc
| 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.IntlOfferResponse | No | ||||
| data.availability | array | No | Availability lists the weekdays the offer runs on. | |||
| data.currency | string | No | EUR | |||
| data.customizable | boolean | No | true | |||
| data.description | string | No | ||||
| data.discount | number | No | ||||
| data.dispatch_method | string | No | both | DispatchMethod is the fulfillment this offer applies to, e.g. both. | ||
| data.end_date | string | No | 2026-09-21T23:45:00Z | |||
| data.fetched_at | string | No | ||||
| data.free_extras | integer | No | 2 | FreeExtras is how many extra ingredients are included at no charge, and MinIngredients/MaxIngredients bound how many may be chosen. | ||
| data.id | integer | No | 660 | |||
| data.image_url | string | No | ||||
| data.ingredient_categories | array | No | IngredientCategories lists the ingredient families this offer allows. | |||
| data.market | string | No | spain | |||
| data.max_ingredients | integer | No | 10 | |||
| data.min_ingredients | integer | No | 1 | |||
| data.name | string | No | Combo Veranito | |||
| data.offer_type | string | No | Combo | OfferType is the platform's own classification, e.g. Combo. | ||
| data.price | number | No | 19.98 | |||
| data.promoted | boolean | No | true | |||
| data.source_url | string | No | ||||
| data.start_date | string | No | 2023-09-19T01:00:00Z | |||
| data.steps | array | No | ||||
| data.steps[].choice_count | integer | No | 12 | |||
| data.steps[].choices | array | No | ||||
| data.steps[].choices[].crust | string | No | traditional | |||
| data.steps[].choices[].crust_label | string | No | Original | |||
| data.steps[].choices[].description | string | No | ||||
| data.steps[].choices[].name | string | No | Italiana Ranch | |||
| data.steps[].choices[].product_id | integer | No | 336 | ProductID is the underlying product, usable with GET /papajohns/intl/product. | ||
| data.steps[].choices[].size | string | No | family | |||
| data.steps[].choices[].size_label | string | No | Familiar | SizeLabel and CrustLabel are the market's own display names. | ||
| data.steps[].choices[].surcharge | number | No | 1.9 | Surcharge is what picking this choice adds to the offer price. Absent when the choice costs nothing extra. | ||
| data.steps[].choices[].variant_id | integer | No | 830 | |||
| data.steps[].id | integer | No | 1919 | |||
| data.steps[].name | string | No | ❶ Elige tu pizza familiar | |||
| data.steps[].optional | boolean | No | false | Optional reports whether the step may be skipped. | ||
| 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/offer?market=chile" \
-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