Starbucks

Locate the closest Starbucks to a coordinate

Returns the coordinates and distance of the single closest Starbucks store to a point. Both lat and lng are required. This endpoint returns coordinates only, not store details: it is what Starbucks' own store locator uses to centre its map. Use /starbucks/stores for full store records. A point with no nearby store returns a well-formed result with found set to false rather than an error. market selects which Starbucks country site answers, one of us or ca, defaulting to us.

get/starbucks/nearest-store

Request

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

Query parameters

latnumber required

Latitude

lngnumber required

Longitude

market'us' | 'ca'

Starbucks country site to read. One of: us, ca. Defaults to us

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

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