Skip to content
Scrappa Get API key
Sprouts API 1 credit/request

Sprouts Product API Documentation

GET https://scrappa.co/api/sprouts/product

Sprouts Product API 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.

Send id exactly as search returns it (for example items_17650-120137222), or the product number, or the url of the product page. A product number or url needs a store from the list (zip: 85260, 90210, 77002, 30301, 80202) or no store (Scottsdale, AZ). For any other store send the full item id and its store_id.

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.

Sprouts Product API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/sprouts/product
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "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"
            ],
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

4 optional filters available.

id string Optional

Item id from search, for example items_17650-120137222, or the product number, for example 120137222. Required if url is not sent.

Example value 1234567890
url string Optional
Open example

Product page url, for example https://shop.sprouts.com/store/sprouts/products/120137222-grazeful-dairy-milk. Required if id is not sent.

Example value https://example.com/product
store_id string Optional

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).

Example value 1234567890
zip string Optional

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 value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "zip": [
            "This ZIP code is not in the list of supported ZIP codes (85260, 90210, 77002, 30301, 80202). Use store_id for any other store."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The product is not sold in this store. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "product"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested product was not found."
    },
    "success": false
}
503

Upstream Unavailable

Sprouts could not be reached after several tries. This response is not billable. Retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "product"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Sprouts could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.