# Starbucks API

> Starbucks returns menu item details and nearby café data, available as a workflow and API.

Search stores finds nearby cafés from a city, address, or ZIP code, returning open status, local hours, and amenities.

- Page: https://fous.com/workflows/starbucks
- Handle: `@starbucks`
- Category: [Food](https://fous.com/workflows/category/food)
- Source website: https://starbucks.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Starbucks.

## Methods

### Get menu item

Operation `get_menu_item`, version 1. 1 credit per call.

Get a Starbucks menu item’s description, standard recipe, size-specific nutrition, ingredients, allergens, and photo by name. Sizes not offered for a drink cannot be selected; food ignores size.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `item` | string | yes | `"Butter Croissant"` | Menu item name, for example Caffe Latte, Pumpkin Spice Latte, or Butter Croissant. |
| `size` | string | no | `"tall"` | Drink size, for example tall; food ignores this choice. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "item"
  ],
  "properties": {
    "item": {
      "type": "string",
      "description": "Menu item name, for example Caffe Latte, Pumpkin Spice Latte, or Butter Croissant.",
      "examples": [
        "Butter Croissant",
        "Caffe Latte",
        "Pumpkin Spice Latte"
      ]
    },
    "size": {
      "enum": [
        "short",
        "tall",
        "grande",
        "venti",
        "trenta"
      ],
      "type": "string",
      "default": "grande",
      "description": "Drink size, for example tall; food ignores this choice.",
      "examples": [
        "tall",
        "grande",
        "short"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "item": "Butter Croissant",
      "size": "tall"
    },
    {
      "item": "Caffe Latte",
      "size": "grande"
    },
    {
      "item": "Pumpkin Spice Latte",
      "size": "tall"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `calories` | number or null | `250` | Calories per selected serving. |
| `allergens` | string or null | `"Egg, Milk, Wheat"` | Allergens explicitly named on the item page, if any. |
| `item_name` | string | `"Butter Croissant"` | Starbucks menu item name. |
| `protein_g` | number or null | `5` | Protein in grams, if listed. |
| `size_used` | string or null | `"1 Serving"` | Selected size or serving label for food. |
| `sodium_mg` | number or null | `300` | Sodium in milligrams, if listed. |
| `photo_link` | string or null | `"https://cloudassets.starbucks.com/is/image/sbuxcorp/SBX20210915_Croissant-onGreen"` | Item photo link, if listed. |
| `caffeine_mg` | number or null | `150` | Caffeine in milligrams, if listed. |
| `description` | string or null | `"Classic butter croissant with soft, flaky layers and a golden-brown crust.\n\n–VEGETARIAN"` | Item description. |
| `ingredients` | string or null | `"Enriched Wheat Flour (Wheat Flour, Niacin, Reduced Iron, Ascorbic Acid, Thiamine Mononitrate, Riboflavin, Folic Acid, E` | Ingredient statement including subingredients, if listed. |
| `total_fat_g` | number or null | `14` | Total fat in grams, if listed. |
| `fluid_ounces` | number or null | `16` | Drink serving size in fluid ounces; null for food. |
| `sizes_offered` | array |  | Available size labels with fluid ounces where provided. |
| `item_page_link` | string | `"https://www.starbucks.com/menu/product/1033/single"` | Public item page link. |
| `total_sugars_g` | number or null | `4` | Total sugars in grams, if listed. |
| `standard_recipe` | string or null | `"2% Milk; 2 Espresso Shots; Foam; Steamed Hot; Signature Espresso Roast"` | Standard milk and recipe choices for the selected size, if listed. |

**Example input**

```json
{
  "item": "Butter Croissant",
  "size": "tall"
}
```

**Example output**

```json
{
  "calories": 250,
  "allergens": "Egg, Milk, Wheat",
  "item_name": "Butter Croissant",
  "protein_g": 5,
  "size_used": "1 Serving",
  "sodium_mg": 300,
  "photo_link": "https://cloudassets.starbucks.com/is/image/sbuxcorp/SBX20210915_Croissant-onGreen",
  "caffeine_mg": null,
  "description": "Classic butter croissant with soft, flaky layers and a golden-brown crust.\n\n–VEGETARIAN",
  "ingredients": "Enriched Wheat Flour (Wheat Flour, Niacin, Reduced Iron, Ascorbic Acid, Thiamine Mononitrate, Riboflavin, Folic Acid, Enzyme), Butter (Cream (Milk), Natural Flavor), Water, Sugar, Eggs, Whole Milk Pow…",
  "total_fat_g": 14,
  "fluid_ounces": null,
  "sizes_offered": [
    "1 Serving"
  ],
  "item_page_link": "https://www.starbucks.com/menu/product/1033/single",
  "total_sugars_g": 4,
  "standard_recipe": null
}
```

### Search stores

Operation `search_stores`, version 1. 1 credit per call.

Find nearby Starbucks cafés by city, address, or ZIP code, nearest first, with current open status, local daily hours, and amenities. Store links may redirect to the locator instead of opening individual details.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `location` | string | yes | `"Seattle, WA"` | City, address, or ZIP code, for example Seattle, WA. |
| `max_results` | integer | no | `5` | Maximum number of nearby cafés to return, for example 10. |
| `open_now_only` | boolean | no | `true` | Only show cafés that are open now, for example false. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "location"
  ],
  "properties": {
    "location": {
      "type": "string",
      "minLength": 1,
      "description": "City, address, or ZIP code, for example Seattle, WA.",
      "examples": [
        "Seattle, WA",
        "98101",
        "zzzzzzzzinvalidplacexyz"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of nearby cafés to return, for example 10.",
      "x-fous-developer": true,
      "examples": [
        5,
        50
      ]
    },
    "open_now_only": {
      "type": "boolean",
      "default": false,
      "description": "Only show cafés that are open now, for example false.",
      "examples": [
        true
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "location": "Seattle, WA"
    },
    {
      "location": "98101",
      "max_results": 5,
      "open_now_only": true
    },
    {
      "location": "zzzzzzzzinvalidplacexyz"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `stores` | array |  |  |
| `stores[].address` | string | `"701 Fifth Ave, Seattle, WA 98104"` | Full street address. |
| `stores[].latitude` | number or null | `47.60422` | Café latitude. |
| `stores[].open_now` | boolean | `false` | Whether the café is currently open. |
| `stores[].amenities` | array |  | Café amenities. |
| `stores[].longitude` | number or null | `-122.33078` | Café longitude. |
| `stores[].store_name` | string | `"Columbia Center - 4th & Cherry"` | Name of the café. |
| `stores[].today_hours` | string or null | `"5:00 AM to 6:00 PM"` | Today’s local opening hours as text, or null when unavailable. |
| `stores[].phone_number` | string or null | `"+1 206-447-9934"` | Phone number. |
| `stores[].store_number` | string or null | `"101-54"` | Starbucks store number. |
| `stores[].distance_miles` | number or null | `0.1639` | Distance from the searched place in miles. |
| `stores[].store_page_link` | string | `"https://www.starbucks.com/store-locator/store/11311"` | Link to the Starbucks listing for the café. |

**Example input**

```json
{
  "location": "Seattle, WA"
}
```

**Example output**

```json
{
  "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"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@starbucks",
  "visibility": "public",
  "operation": "get_menu_item",
  "version": 1,
  "input": {
    "item": "Butter Croissant",
    "size": "tall"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@starbucks\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_menu_item\",\n  \"version\": 1,\n  \"input\": {\n    \"item\": \"Butter Croissant\",\n    \"size\": \"tall\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@starbucks",
  "visibility": "public",
  "operation": "get_menu_item",
  "version": 1,
  "input": {
    "item": "Butter Croissant",
    "size": "tall"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@starbucks","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare nutrition across menu items and sizes
- Review listed ingredients and allergens before choosing an item
- Find nearby cafés by city, address, or ZIP code
- Check café hours, open status, and amenities
- Map nearby cafés using their locations

## FAQ

### Is Fous affiliated with Starbucks?

No. Fous is not affiliated with Starbucks. This workflow reads the public starbucks.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Starbucks account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from starbucks.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### How many calories are in a menu item?

Get menu item accepts an item name and optional offered drink size, then returns calories per selected serving.

### What ingredients and allergens are listed for an item?

Get menu item returns the ingredient statement and allergens explicitly named on the item page, if listed.

### Which Starbucks cafés are near a location?

Search stores accepts a city, address, or ZIP code and returns nearby cafés, nearest first.

## Related

- [McDonald's API](https://fous.com/workflows/mcdonalds.md): McDonald’s provides menu-item food information for US, UK and Canadian items, plus nearby US restaurants and listed hours today, which may miss unexpected closures.
- [Uber Eats API](https://fous.com/workflows/uber-eats.md): Uber Eats shows restaurants and delivery options, with menus, prices, ratings, and delivery details; fees may reflect guest promotions and rating counts may be rounded.
- [DoorDash API](https://fous.com/workflows/doordash.md): DoorDash lists nearby restaurants and menus, prices, ratings, delivery fees, and estimated times; offers, availability, fees, and times can change.
- [Costco API](https://fous.com/workflows/costco.md): Costco returns US product prices/details and warehouse hours/services/gas prices; delivery affects availability, member prices may be hidden, and posted gas and holiday hours may differ.
- [Yelp API](https://fous.com/workflows/yelp.md): Yelp returns local business matches, public profiles, ratings and up to 60 publicly shown reviews; matches are unsponsored and Yelp-ordered, but later results may lack contact or location details.
- [Tesla API](https://fous.com/workflows/tesla.md): Tesla offers new and certified pre-owned vehicles across the United States and nearby open Supercharger sites, with delivery estimates and opening hours only when available.
- [Google Maps API](https://fous.com/workflows/google-maps.md): Google Maps returns nearby places, public place details, up to 100 public reviews, and up to three routes; transit options vary by departure time.
- [Home Depot API](https://fous.com/workflows/home-depot.md): Home Depot offers home improvement products with prices, ratings, availability, and delivery options, plus nearby stores’ distances, regular hours, and services; holiday hours may differ and coverage varies.
- [All Food workflows](https://fous.com/workflows/category/food)
