JSON Response

JSON Response

When format: "json" (the default), the response body is a JSON object with the brand name, region filter, total count, and an array of location objects.

Response body

{
  "brand": "Starbucks",
  "region": "US, CA",
  "count": 3182,
  "locations": [
    {
      "id": "a1b2c3d4-...",
      "brand": "Starbucks",
      "name": "Starbucks",
      "address": "1912 Pike Pl, Seattle, WA 98101, US",
      "lat": 47.6097,
      "lng": -122.3425,
      "country": "US",
      "state": "WA",
      "city": "Seattle",
      "postcode": "98101",
      "phone": "+1-206-624-0173",
      "hours": "Mo-Su 06:00-21:00",
      "features": ["drive_through", "outdoor_seating", "internet_access"],
      "source": "osm",
      "osm_id": "node/123456789",
      "last_updated": "2026-04-03T17:23:28.022+00:00"
    }
  ]
}

Location fields

FieldTypeDescription
idstringUnique location identifier (UUID)
brandstringBrand name
namestringLocation display name
addressstringFull street address
latnumberLatitude
lngnumberLongitude
countrystringISO 3166-1 alpha-2 country code
statestringState or province code
citystringCity name
postcodestringZip/postal code (when available)
phonestringPhone number (when available)
hoursstringOpening hours in OSM format (when available)
featuresstring[]Location features (e.g. drive_through, outdoor_seating)
sourcestringData source identifier
osm_idstringOpenStreetMap node/way ID
last_updatedstringISO 8601 timestamp of last data update

Response headers

All responses

HeaderTypeDescription
X-Location-CountnumberTotal locations returned
X-BrandstringBrand name queried
X-RegionstringRegion filter applied (e.g. "CA, US") or "global"
X-Credits-ChargednumberCredits deducted for this request
X-Credits-RemainingnumberCredits remaining on your key
X-Credits-LowbooleanPresent and true when balance drops below 50

Rate limit headers

HeaderTypeDescription
X-RateLimit-LimitnumberMaximum requests per minute for your tier
X-RateLimit-RemainingnumberRequests remaining in the current window
X-RateLimit-ResetnumberUnix timestamp when the window resets

CSV and GeoJSON responses

When format is "csv", the response is a text/csv file with a Content-Disposition header for auto-download. Fields match the JSON location fields.

When format is "geojson", the response is an RFC 7946 GeoJSON FeatureCollection with each location as a Point feature. Properties include all location fields except lat and lng (which are in the geometry).