Papa John's

Find Papa John's stores near a coordinate

Returns Papa John's stores within a radius of a latitude/longitude, ordered nearest first, with distance, address, phone, hours, timezone, price range, fulfillment services, payment options, and ordering link. The response includes total_in_radius and offset paging. A coordinate with no nearby stores returns an empty list.

get/papajohns/nearby

Request

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

Query parameters

latitudenumber required

Search center latitude

longitudenumber required

Search center longitude

radiusinteger

Search radius in miles, 1-100 (default 25)

limitinteger

Maximum stores to return, 1-50 (default 10)

offsetinteger

Result offset, 0 or greater (default 0)

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": {
    "count": 10,
    "radius": 25,
    "stores": [
      {
        "address": {
          "city": "Alhambra",
          "country": "US",
          "line1": "2136 S FREMONT AVE",
          "postal_code": "91803",
          "region": "CA"
        },
        "delivery_hours": [
          {
            "closes": "00:15",
            "day_of_week": "Monday",
            "opens": "10:30"
          }
        ],
        "distance_kilometers": 0.97,
        "distance_miles": 0.6,
        "hours": [
          {
            "closes": "00:15",
            "day_of_week": "Monday",
            "opens": "10:30"
          }
        ],
        "latitude": 34.0614412,
        "longitude": -118.2439367,
        "name": "Papa Johns Pizza",
        "phone_number": "+12136172727",
        "price_range": "TWO",
        "store_id": "4269",
        "takeout_hours": [
          {
            "closes": "00:15",
            "day_of_week": "Monday",
            "opens": "10:30"
          }
        ],
        "timezone": "America/Los_Angeles"
      }
    ],
    "total_in_radius": 73
  }
}

Changes

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