KFC

Find KFC restaurants near a location

Returns KFC restaurants near a latitude/longitude, nearest first. A coordinate with no nearby KFC returns an empty list rather than an error. Each restaurant carries its store number, full address with coordinates, phone, whether it currently accepts online orders, its timezone, and its distance from the search point in miles. occasion restricts results to restaurants that offer a given order channel (e.g. only drive-thru locations).

get/kfc/nearby

Request

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

Query parameters

latitudenumber required

Search center latitude

longitudenumber required

Search center longitude

radius_milesnumber

Search radius in miles, 0.1-100 (default 10)

occasion'DELIVERY' | 'CARRYOUT' | 'DINE_IN' | 'DRIVE_THRU' | 'CATERING_CARRYOUT'

Restrict to restaurants offering this order channel

max_resultsinteger

Maximum restaurants to return, 1-50 (default 20)

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": 20,
    "has_more": true,
    "stores": [
      {
        "accepting_online_orders": true,
        "address": {
          "address1": "600 Terminal Drive",
          "address2": "Louisville International Airport - Pre Security",
          "city": "Louisville",
          "country_code": "US",
          "latitude": 38.1857,
          "longitude": -85.7445,
          "phone": "+15023633000",
          "postal_code": "40209",
          "state": "KY"
        },
        "distance_miles": 1.408,
        "name": "KFC 600 Terminal Drive",
        "store_number": "I824001",
        "timezone": "America/New_York"
      }
    ]
  }
}

Changes

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