Starbucks Product
One Starbucks item at one café, with a price for every size. Get the café from Search first. Prices use browser rendering.
Credit cost: 3 credits per call
Autorización
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Parámetros de consulta
query*string
Product and form, or a Starbucks product URL.
Examples:
418/hothttps://www.starbucks.com/menu/product/418/hotstore_number?string
Café number from Search, short (9230) or full (9230-154245). Required when the product URL has no storeNumber.
form_code?string
Form when query is only a product number. Usually hot or iced.
Cuerpo de la respuesta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/starbucks/product?query=string"{ "url": "https://www.starbucks.com/menu/product/418/hot", "name": "Pumpkin Spice Latte", "sizes": [ { "sku": "183885", "name": "short", "price": 6.15, "default": false, "calories": "210 calories", "currency": "usd", "size_code": "short" }, { "sku": "183886", "name": "tall", "price": 6.25, "default": false, "calories": "300 calories", "currency": "usd", "size_code": "tall" }, { "sku": "183887", "name": "grande", "price": 6.75, "default": true, "calories": "390 calories", "currency": "usd", "size_code": "grande" }, { "sku": "183888", "name": "venti", "price": 7.25, "default": false, "calories": "470 calories", "currency": "usd", "size_code": "venti" } ], "currency": "usd", "form_code": "hot", "image_url": "https://cloudassets.starbucks.com/is/image/sbuxcorp/PumpkinSpiceLatteV1", "store_name": "DTLA Grand Park", "description": "Our signature Espresso Roast and steamed milk with the celebrated flavor combination of pumpkin, cinnamon, nutmeg and clove. Enjoy it topped with whipped cream and real pumpkin-pie spices.", "product_type": "beverages", "store_number": "9230-154245", "product_number": 418}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}