# Sprouts Product API Documentation

<p><strong>Sprouts Product API</strong> returns one product with price, regular and sale price, unit price, size, brand, UPC, category, images, stock, rating and diet badges. It adds the full nutrition panel (calories, fats, cholesterol, sodium, carbohydrates, fiber, sugars, protein, daily value percentages and minerals), the ingredients, the warnings and the allergens when Sprouts lists them.</p><p>Send <code>id</code> exactly as search returns it (for example <code>items_17650-120137222</code>), or the product number, or the <code>url</code> of the product page. A product number or url needs a store from the list (<code>zip</code>: 85260, 90210, 77002, 30301, 80202) or no store (Scottsdale, AZ). For any other store send the full item id and its <code>store_id</code>.</p><p>Nutrition and ingredients are left out when Sprouts lists none. A product that is not sold in the store returns 404. Costs 1 credit per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/sprouts-api/sprouts_product](https://scrappa.co/docs/sprouts-api/sprouts_product)
- **API group:** Sprouts API
- **Endpoint:** `GET https://scrappa.co/api/sprouts/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | No | Item id from search, for example items_17650-120137222, or the product number, for example 120137222. Required if url is not sent. |
| `url` | string | No | Product page url, for example https://shop.sprouts.com/store/sprouts/products/120137222-grazeful-dairy-milk. Required if id is not sent. |
| `store_id` | string | No | Number of a Sprouts shop, 3 to 9 digits, for example 393864. Prices and stock follow the shop. It wins over zip. Default is shop 393864 (Scottsdale, AZ). |
| `zip` | string | No | One of the supported ZIP codes: 85260, 90210, 77002, 30301, 80202. It selects the shop that serves this ZIP code. Other ZIP codes return 422: use store_id. |

## Example response

```json
{
    "data": {
        "product": {
            "id": "items_17650-120137222",
            "upc": "00850221001627",
            "url": "https://shop.sprouts.com/store/sprouts/products/120137222-grazeful-dairy-grassfed-whole-a2-a2-milk-2-gal",
            "name": "Grazeful Dairy Whole Grassfed A2/A2 Milk",
            "size": "64 oz",
            "brand": "grazeful dairy",
            "price": 3.79,
            "badges": [
                "New",
                "Non-GMO"
            ],
            "images": [
                "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_ad76b7ae-756e-4ef3-85e9-8023a0494681.png"
            ],
            "rating": {
                "count": 12,
                "value": 4.9
            },
            "on_sale": true,
            "category": "Plain Milk",
            "currency": "USD",
            "warnings": "[Contains] : Milk And Its Derivatives",
            "allergens": [
                "Milk And Its Derivatives"
            ],
            "nutrition": {
                "calories": 160,
                "protein_g": 8,
                "sodium_mg": 105,
                "total_fat_g": 0,
                "trans_fat_g": 0,
                "serving_size": "8 FL OZ  240 Millilitre",
                "added_sugars_g": 0,
                "cholesterol_mg": 25,
                "total_sugars_g": 12,
                "dietary_fiber_g": 0,
                "saturated_fat_g": 5,
                "vitamins_minerals": [
                    {
                        "name": "Calcium",
                        "amount": "279mg",
                        "daily_value_percent": 20
                    },
                    {
                        "name": "Potassium",
                        "amount": "327mg",
                        "daily_value_percent": 6
                    }
                ],
                "daily_value_percent": {
                    "sodium": 5,
                    "total_fat": 0,
                    "cholesterol": 8,
                    "added_sugars": 0,
                    "dietary_fiber": 0,
                    "saturated_fat": 25,
                    "total_carbohydrate": 4
                },
                "total_carbohydrate_g": 12,
                "monounsaturated_fat_g": 0,
                "polyunsaturated_fat_g": 0,
                "servings_per_container": "8"
            },
            "product_id": "120137222",
            "sale_price": 3.79,
            "unit_price": {
                "text": "$0.06/oz",
                "unit": "oz",
                "amount": 0.06
            },
            "ingredients": "Milk, Vitamin D3.",
            "availability": {
                "in_stock": true,
                "stock_level": "inStock"
            },
            "regular_price": 4.99,
            "nutrition_highlights": [
                {
                    "name": "Protein",
                    "unit": "g",
                    "value": 8
                },
                {
                    "name": "Sat Fat",
                    "unit": "g",
                    "value": 5
                },
                {
                    "name": "Sugar",
                    "unit": "g",
                    "value": 12
                },
                {
                    "name": "Sodium",
                    "unit": "mg",
                    "value": 105
                },
                {
                    "name": "Carbs",
                    "unit": "g",
                    "value": 12
                },
                {
                    "name": "Calories",
                    "value": 160
                }
            ]
        },
        "store_id": "393864"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 404 | Not Found | The product is not sold in this store. This response is not billable. |
| 503 | Upstream Unavailable | Sprouts could not be reached after several tries. This response is not billable. Retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
