---
title: "Sprouts Farmers Market API: 2 endpoints, 1 credit per call"
description: "Sprouts Farmers Market API for grocery search and product details by store or ZIP: prices, sales, unit prices and stock as JSON. 1 credit per call."
url: https://perceptlayer.com/apis/sprouts
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Sprouts Farmers Market

1 credit per call 2 endpoints 20 datapoints

# Sprouts Farmers Market API

Sprouts Farmers Market API for grocery search and product details by store or ZIP: prices, sales, unit prices and stock as JSON. 1 credit per call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Sprouts Farmers Market

GET /v1/sprouts/search?query=milk 

```
{
  "success": true,
  "data": {
    "query": "milk",
    "store_id": "393864",
    "page": 1,
    "per_page": 20,
    "total_results": 249,
    "has_next_page": true,
    "items": [
      {
        "position": 1,
        "id": "items_17650-120137222",
        "product_id": "120137222",
        "name": "Grazeful Dairy Whole Grassfed A2/A2 Milk",
        "brand": "grazeful dairy",
        "size": "64 oz",
        "category": "Plain Milk",
        "upc": "00850221001627",
        "url": "https://shop.sprouts.com/store/sprouts/products/120137222-grazeful-dairy-grassfed-whole-a2-a2-milk-2-gal",
        "images": [
          "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_927e0d28-b193-4e41-9592-765d3a2d6625.png"
        ],
        "price": 3.79,
        "regular_price": 4.99,
        "sale_price": 3.79,
        "on_sale": true,
        "currency": "USD",
        "unit_price": {
          "amount": 0.06,
          "unit": "oz",
          "text": "$0.06/oz"
        },
        "availability": {
          "in_stock": true,
          "stock_level": "inStock"
        },
        "rating": {
          "value": 4.9,
          "count": 12
        },
        "badges": [
          "New",
          "Non-GMO"
        ],
        "nutrition_highlights": [
          {
            "name": "Protein",
            "value": 8,
            "unit": "g"
          },
          {
            "name": "Sat Fat",
            "value": 5,
            "unit": "g"
          },
          {
            "name": "Sugar",
            "value": 12,
            "unit": "g"
          }
        ]
      },
      {
        "position": 2,
        "id": "items_17650-120136748",
        "product_id": "120136748",
        "name": "Grazeful Dairy Reduced Fat Grassfed A2/A2 Milk",
        "brand": "grazeful dairy",
        "size": "64 oz",
        "category": "Plain Milk",
        "upc": "00850221001610",
        "url": "https://shop.sprouts.com/store/sprouts/products/120136748-grazeful-dairy-reduced-fat-grass-fed-a2-a2-milk-2-gal",
        "images": [
          "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_5800a9df-672c-4bd2-8d40-0002c719eae2.png"
        ],
        "price": 3.79,
        "regular_price": 4.99,
        "sale_price": 3.79,
        "on_sale": true,
        "currency": "USD",
        "unit_price": {
          "amount": 0.06,
          "unit": "oz",
          "text": "$0.06/oz"
        },
        "availability": {
          "in_stock": true,
          "stock_level": "inStock"
        },
        "rating": {
          "value": 4.7,
          "count": 6
        },
        "badges": [
          "New",
          "Non-GMO"
        ],
        "nutrition_highlights": [
          {
            "name": "Protein",
            "value": 9,
            "unit": "g"
          },
          {
            "name": "Sat Fat",
            "value": 3,
            "unit": "g"
          },
          {
            "name": "Sugar",
            "value": 13,
            "unit": "g"
          }
        ]
      },
      {
        "position": 3,
        "id": "items_17650-44732949",
        "product_id": "44732949",
        "name": "Little Oak Press Natural Goat Milk Toddler Drink",
        "brand": "little oak press",
        "size": "28 oz",
        "category": "Baby Formula",
        "upc": "00850021933005",
        "url": "https://shop.sprouts.com/store/sprouts/products/44732949-littleoak-goat-s-milk-formula-28-oz",
        "images": [
          "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_db8f459f-6d0f-4fbd-9051-08e0934d8c83.png"
        ],
        "price": 49.99,
        "regular_price": 49.99,
        "on_sale": false,
        "currency": "USD",
        "unit_price": {
          "amount": 1.79,
          "unit": "oz",
          "text": "$1.79/oz"
        },
        "availability": {
          "in_stock": true,
          "stock_level": "inStock"
        },
        "rating": {
          "value": 5,
          "count": 4
        },
        "badges": [
          "Gluten-Free",
          "Non-GMO"
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_fdb07b2018fa42dcaccc6a6d2eda8656",
    "credits_charged": 1,
    "credits_remaining": 1909
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | position integer | id string | product\_id string | name string | brand string | size string | category string | upc string | url url | images string\[\] | price number | regular\_price number | sale\_price number | on\_sale boolean | currency string | unit\_price object | availability object | rating object | badges string\[\] | nutrition\_highlights object\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | items\_17650-120137222 | 120137222 | Grazeful Dairy Whole Grassfed A2/A2 Milk | grazeful dairy | 64 oz | Plain Milk | 00850221001627 | https://shop.sprouts.com/store/sprouts/products/120137222-grazeful-dairy-grassfed-whole-a2-a2-milk-2-gal | \[1 item\] | 3.79 | 4.99 | 3.79 | true | USD | {3 fields} | {2 fields} | {2 fields} | \[2 items\] | \[3 items\] |
| 2 | 2 | items\_17650-120136748 | 120136748 | Grazeful Dairy Reduced Fat Grassfed A2/A2 Milk | grazeful dairy | 64 oz | Plain Milk | 00850221001610 | https://shop.sprouts.com/store/sprouts/products/120136748-grazeful-dairy-reduced-fat-grass-fed-a2-a2-milk-2-gal | \[1 item\] | 3.79 | 4.99 | 3.79 | true | USD | {3 fields} | {2 fields} | {2 fields} | \[2 items\] | \[3 items\] |
| 3 | 3 | items\_17650-44732949 | 44732949 | Little Oak Press Natural Goat Milk Toddler Drink | little oak press | 28 oz | Baby Formula | 00850021933005 | https://shop.sprouts.com/store/sprouts/products/44732949-littleoak-goat-s-milk-formula-28-oz | \[1 item\] | 49.99 | 49.99 | — | false | USD | {3 fields} | {2 fields} | {2 fields} | \[2 items\] | — |

Recorded from our API · 3 items shown · 20 datapoints per item GET /v1/sprouts/search?query=milk

20 datapoints

### Identity

-   id string
-   product\_id string
-   name string
-   brand string
-   category string

### Contact

-   url url

### Reputation

-   images string\[\]
-   rating object
-   badges string\[\]

### Price

-   price number
-   regular\_price number
-   sale\_price number
-   currency string
-   unit\_price object

### Other

-   position integer
-   size string
-   upc string
-   on\_sale boolean
-   availability object
-   nutrition\_highlights object\[\]

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/sprouts/search?query=milk" \
  -H "X-API-Key: $API_KEY"
```

Sprouts Farmers Market · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/sprouts/product`](https://perceptlayer.com/apis/sprouts/product) | none +4 optional | 1 credit |
| [GET `/v1/sprouts/search`](https://perceptlayer.com/apis/sprouts/search) | `query` +4 optional | 1 credit |

Overview

## About the Sprouts Farmers Market API

## What you can get

The Sprouts Farmers Market API returns Sprouts grocery data as JSON through 2 endpoints. Both take a `store_id` or a `zip` (85260, 90210, 77002, 30301 or 80202).

-   **Search:** `search` takes a `query`, with `page` and `per_page`.
-   **Products:** `product` takes an `id` or a product `url`.

The recorded search for "milk" returns `query`, `store_id`, `page`, `per_page`, `total_results` (249 in that recording), `has_next_page` and `items`. Each item has `position`, `id`, `product_id`, `name`, `brand`, `size`, `category`, `upc`, `price`, `regular_price`, `sale_price`, `on_sale`, `unit_price`, `availability`, `rating`, `badges` and `nutrition_highlights`.

## How a call works

Search, then look up: `GET /v1/sprouts/search?query=milk` with your key in the `X-API-Key` header returns each product's `id`, such as items\_17650-120137222; `product` takes that `id`. Pass the same `store_id` or `zip` to both to keep prices local. Check `has_next_page` before asking for the next `page`. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [Amazon](https://perceptlayer.com/apis/amazon) [ASOS](https://perceptlayer.com/apis/asos) [Billiger.de](https://perceptlayer.com/apis/billiger) [bol.com](https://perceptlayer.com/apis/bol) [Chrono24](https://perceptlayer.com/apis/chrono24) [Costco](https://perceptlayer.com/apis/costco) [Craigslist](https://perceptlayer.com/apis/craigslist) [DBA](https://perceptlayer.com/apis/dba)

Use cases

### Track grocery prices and sales at a given store

`Use the Sprouts Farmers Market API to track grocery prices and sales at a given store` 

### Compare prices for the same product across ZIP codes

`Use the Sprouts Farmers Market API to compare prices for the same product across ZIP codes` 

### Compare unit prices across brands for one product type

`Use the Sprouts Farmers Market API to compare unit prices across brands for one product type` 

### Check stock at a store before an order

`Use the Sprouts Farmers Market API to check stock at a store before an order` 

FAQ

## Questions

**How much does the Sprouts Farmers Market API cost?**

Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Can I get prices for a specific store?**

Yes. Pass a \`store\_id\`, or a \`zip\` of 85260, 90210, 77002, 30301 or 80202, to \`search\` or \`product\`.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Should I build a Sprouts Farmers Market scraper instead?**

You can, but a Sprouts Farmers Market scraper is code you maintain: page changes break it, requests get blocked, and Sprouts Farmers Market's terms govern how you collect data. The Sprouts Farmers Market API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Sprouts Farmers Market API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
