Sonic

Look up one Sonic Drive-In restaurant by its locator path

Returns one Sonic Drive-In restaurant's address, phone, coordinates, open/closed status, amenities, weekly hours broken down per fulfillment channel (order-ahead, pickup, curbside, in-store, delivery, drive-through), and delivery-provider deep links (DoorDash, GrubHub, Uber Eats, Postmates). path must be a "locations" section, kind=store path from GET /sonic/sitemap.

get/sonic/store

Request

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

Query parameters

pathstring required

A store path from /sonic/sitemap (section=locations, kind=store)

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": {
    "address": {
      "city": "Cheyenne",
      "country": "US",
      "line1": "2540 Dell Range Blvd",
      "postal_code": "82009",
      "state": "WY"
    },
    "delivery_providers": [
      {
        "name": "DoorDash"
      }
    ],
    "display_name": "2540 Dell Range Blvd, Cheyenne, WY",
    "hours": [
      {
        "closes": "21:45",
        "day_of_week": "MONDAY",
        "opens": "07:00"
      }
    ],
    "latitude": 41.160531,
    "longitude": -104.777659,
    "phone": "307-632-9188",
    "service_hours": [
      {
        "hours": [
          {
            "closes": "21:45",
            "day_of_week": "MONDAY",
            "opens": "07:00"
          }
        ],
        "type": "DRIVE_THROUGH"
      }
    ],
    "status": "OPEN",
    "store_id": "4521",
    "timezone": "America/Denver"
  }
}

Changes

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