Starbucks API: Find nearby cafés
Finds Starbucks cafés near a city, address or ZIP code, nearest first, with whether each is open now, today's local hours and amenities; optionally only cafés open now.
Unofficial. Not affiliated with or endorsed by Starbucks.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Location, required
location City, address, or ZIP code, for example Seattle, WA.
Seattle, WA
- Max Results optional
max_results Maximum number of nearby cafés to return, for example 10.
10 (default)
Whole number from 1 to 50.
- Open Now Only optional
open_now_only Only show cafés that are open now, for example false.
false (default)
True or false.
Input as JSON
{ "location": "Seattle, WA"}Output
{ "stores": [ { "address": "701 Fifth Ave, Seattle, WA 98104", "latitude": 47.60422, "open_now": false, "amenities": [ "In café", "Mobile Order and Pay", "MOP ASAP + Scheduled Ordering" ], "longitude": -122.33078, "store_name": "Columbia Center - 4th & Cherry", "today_hours": "5:00 AM to 6:00 PM", "phone_number": "+1 206-447-9934", "store_number": "101-54", "distance_miles": 0.1639, "store_page_link": "https://www.starbucks.com/store-locator/store/11311" }, { "address": "601 Union St, Seattle, WA 98101", "latitude": 47.61034, "open_now": false, "amenities": [ "In café", "Mobile Order and Pay", "MOP ASAP + Scheduled Ordering" ], "longitude": -122.33223, "store_name": "Two Union Square", "today_hours": "5:00 AM to 6:00 PM", "phone_number": "+1 206-264-2534", "store_number": "114-101752", "distance_miles": 0.2917, "store_page_link": "https://www.starbucks.com/store-locator/store/7328" }, { "address": "1401 2nd Ave, Seattle, WA 98101", "latitude": 47.60837, "open_now": true, "amenities": [ "Blonde Espresso", "In café", "Nitro Cold Brew" ], "longitude": -122.33844, "store_name": "Target Seattle Pike Plaza 2786", "today_hours": "7:00 AM to 8:00 PM", "phone_number": "+1 206-494-3250", "store_number": "16891-168546", "distance_miles": 0.3027, "store_page_link": "https://www.starbucks.com/store-locator/store/89776" } ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"starbucks.com/search_stores","input":{"location":"Seattle, WA"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "starbucks.com/search_stores" , "input": { "location": "Seattle, WA" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "starbucks.com/search_stores" , "input": { "location": "Seattle, WA" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run starbucks.com/search_stores# with {"location":"Seattle, WA"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "location" ], "properties": { "location": { "type": "string", "minLength": 1, "description": "City, address, or ZIP code, for example Seattle, WA." }, "max_results": { "type": "integer", "default": 10, "maximum": 50, "minimum": 1, "description": "Maximum number of nearby cafés to return, for example 10." }, "open_now_only": { "type": "boolean", "default": false, "description": "Only show cafés that are open now, for example false." } }}Output schema
{ "type": "object", "required": [ "stores" ], "properties": { "stores": { "type": "array", "items": { "type": "object", "required": [ "store_name", "address", "distance_miles", "phone_number", "today_hours", "open_now", "amenities", "store_page_link", "store_number", "latitude", "longitude" ], "properties": { "address": { "type": "string", "description": "Full street address." }, "latitude": { "type": [ "number", "null" ], "description": "Café latitude.", "x-fous-developer": true }, "open_now": { "type": "boolean", "description": "Whether the café is currently open." }, "amenities": { "type": "array", "items": { "type": "string" }, "description": "Café amenities." }, "longitude": { "type": [ "number", "null" ], "description": "Café longitude.", "x-fous-developer": true }, "store_name": { "type": "string", "description": "Name of the café." }, "today_hours": { "type": [ "string", "null" ], "description": "Today’s local opening hours as text, or null when unavailable." }, "phone_number": { "type": [ "string", "null" ], "description": "Phone number." }, "store_number": { "type": [ "string", "null" ], "description": "Starbucks store number.", "x-fous-developer": true }, "distance_miles": { "type": [ "number", "null" ], "description": "Distance from the searched place in miles." }, "store_page_link": { "type": "string", "description": "Link to the Starbucks listing for the café." } }, "additionalProperties": false } } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
starbucks.com/search_stores- Returns
- café name, address, distance, phone, today's hours, open now, amenities, store link, store number, coordinates
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method starbucks.com/search_stores with the inputs above.
Ask your agent
- Find the closest Starbucks to 1600 Pennsylvania Ave NW, Washington, DC that's open right now
- coffee shops near ZIP 78704, nearest first with today's hours and whether they have a drive-thru
- I'm in Portland, Maine. Show me the 5 nearest cafés currently open and their phone numbers
- List up to 20 Starbucks locations around Pasadena, CA with addresses, distances and store numbers
- Which cafés near 350 5th Ave, New York, NY are open now? Give me their hours and links to the store pages
See more
All Starbucks methodsLooks up a Starbucks menu item by name. Returns its description, standard recipe, size-specific nutrition, ingredients, allergens and photo.
starbucks.com/get_menu_itemFinds McDonald's restaurants within 50 miles of a US city, address or ZIP code, nearest first. Each result includes today's hours, services and directions. Open-now status follows the listed hours.
mcdonalds.com/search_restaurantsFinds the AutoZone stores nearest a US ZIP code, city or street address, with contact details, opening hours, whether each is open now, distance and store page links.
autozone.com/search_storesFinds the US Costco warehouses nearest a city, address or ZIP code, with today's and weekly hours, gas station hours, services and posted gas prices.
costco.com/search_warehousesFinds named places or kinds of places in a city or area, in search order, using OpenStreetMap Nominatim. Results may be fewer than requested. Data © OpenStreetMap contributors (ODbL).
openstreetmap.org/search_placesFinds the nearest open Chipotle that takes online orders for a city, address, or ZIP code and returns its address, distance, today's hours and the pickup menu with prices, calories and photos.
chipotle.com/get_menuLooks up a public Google Maps place by name and location and returns its profile: address, rating, hours, phone, website and photos.
google.com/get_placeFinds businesses and places near a location on Google Maps, in Google Maps order, with rating, hours, contact details and links when shown.
google.com/search_places