Datasets

Find nearby stored Starbucks stores

Returns stored Starbucks stores within a radius of a point, nearest first, from dataset id starbucks-stores. lat, lon, and radius_m are required. Unlike the live /starbucks/stores endpoint (which caps at 50 near a point), this queries the full grid-tiled directory, so it can return every store in the radius. Billing: this endpoint costs 1 credit per record returned, with a minimum of 2 (an empty result costs 2, a full page of 100 costs 100).

get/datasets/starbucks-stores/nearby

Request

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

Query parameters

latnumber required

Center latitude, from -90 through 90

lonnumber required

Center longitude, from -180 through 180

radius_minteger required

Search radius in meters, 1 through 50000

countrystring

ISO-3166-1 alpha-2 country filter

amenitystring

Amenity code filter, e.g. DT

pageinteger

Page number, defaults to 1

page_sizeinteger

Page size, defaults to 20 and maxes at 100

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 4 revisions of this API.