Endpoint Playground
Test Crawlora's Starbucks Custom Nutrition API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/starbucks/product/<product_number>/hot/nutrition" \
-H "x-api-key: $CRAWLORA_API_KEY" \
-X POST \
--data "{}"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| product_number (path) | string | Yes | Starbucks numeric product id. One of: 406, 407, 408, 413 | |
| form (path) | string | Yes | hot | Product form. Only hot is supported for this endpoint |
| request (body) | object | Yes | The size and the complete modifier build |
{
"code": 200,
"msg": "OK",
"data": {
"market": "us",
"product_number": "406",
"form": "hot",
"size_sku": "93",
"modifiers": [
{
"sku": "55",
"quantity": 6
},
{
"sku": "11010168",
"quantity": 1
}
],
"values": [
{
"key": "calories",
"name": "Calories",
"value": "25",
"unit_of_measure": "kcal"
},
{
"key": "fat",
"name": "Fat",
"value": "0",
"unit_of_measure": "g"
},
{
"key": "protein",
"name": "Protein",
"value": "2",
"unit_of_measure": "g"
},
{
"key": "sugars",
"name": "Sugars",
"value": "0",
"unit_of_measure": "g"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Recalculates calories, fat, sugars, and protein for a customized build of a Starbucks beverage: swap the milk, change the number of espresso shots or syrup pumps, and get the real figures for that exact drink rather than the standard recipe. Starbucks only offers this for four hot espresso beverages; product_number and form must be one of 406/hot (Caffe Americano), 407/hot (Caffe Latte), 408/hot (Caffe Mocha), or 413/hot (Caramel Macchiato). Any other product returns an invalid-parameter error naming the four that work. size_sku comes from a /starbucks/product result's sizes[].sku. modifiers is the COMPLETE build, not a change-set: start from that size's default_recipe, adjust what you want, and send the whole list back; an empty list is rejected. Each modifier needs a sku, an optional quantity (defaults to 1, and is the dial that matters for countable modifiers like espresso shots), and an optional replaced_sku when substituting a pick-one slot such as the milk. This returns Starbucks' own four-value dynamic-nutrition panel, which is smaller than the full per-size panel /starbucks/product returns for the standard build.
{
"code": 200,
"msg": "OK",
"data": {
"market": "us",
"product_number": "406",
"form": "hot",
"size_sku": "93",
"modifiers": [
{
"sku": "55",
"quantity": 6
},
{
"sku": "11010168",
"quantity": 1
}
],
"values": [
{
"key": "calories",
"name": "Calories",
"value": "25",
"unit_of_measure": "kcal"
},
{
"key": "fat",
"name": "Fat",
"value": "0",
"unit_of_measure": "g"
},
{
"key": "protein",
"name": "Protein",
"value": "2",
"unit_of_measure": "g"
},
{
"key": "sugars",
"name": "Sugars",
"value": "0",
"unit_of_measure": "g"
}
]
}
}curl "https://api.crawlora.net/api/v1/starbucks/product/<product_number>/<form>/nutrition" \
-H "x-api-key: $CRAWLORA_API_KEY" \
-X POST \
--data "{}"