Panera

Geocode a free-text address for Panera Bread's locator

Resolves a free-text address, city, or postal code to coordinates using Panera Bread's own locator geocoder -- the same lookup its site uses to center a cafe search. Returns latitude/longitude plus the resolved city, state, country and formatted address. An address Panera cannot resolve returns a single result with resolved false rather than an error.

get/panera/geocode

Request

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

Query parameters

addressstring required

Free-text address, city, or postal code

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": "Chicago, IL",
    "count": 1,
    "results": [
      {
        "city": "Chicago",
        "country": "US",
        "formatted_address": "Chicago, IL US",
        "latitude": 41.85003,
        "longitude": -87.65005,
        "resolved": true,
        "state": "IL"
      }
    ]
  }
}

Changes

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