APIs / Marketplaces / Sprouts Farmers Market
1 credit per call2 endpoints20 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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | idstring | product_idstring | namestring | brandstring | sizestring | categorystring | upcstring | urlurl | imagesstring[] | pricenumber | regular_pricenumber | sale_pricenumber | on_saleboolean | currencystring | unit_priceobject | availabilityobject | ratingobject | badgesstring[] | nutrition_highlightsobject[] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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] | — |
[
{
"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"
]
}
]position,id,product_id,name,brand,size,category,upc,url,images,price,regular_price,sale_price,on_sale,currency,unit_price,availability,rating,badges,nutrition_highlights
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,"[""https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_927e0d28-b193-4e41-9592-765d3a2d6625.png""]",3.79,4.99,3.79,true,USD,"{""amount"":0.06,""unit"":""oz"",""text"":""$0.06/oz""}","{""in_stock"":true,""stock_level"":""inStock""}","{""value"":4.9,""count"":12}","[""New"",""Non-GMO""]","[{""name"":""Protein"",""value"":8,""unit"":""g""},{""name"":""Sat Fat"",""value"":5,""unit"":""g""},{""name"":""Sugar"",""value"":12,""unit"":""g""}]"
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,"[""https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_5800a9df-672c-4bd2-8d40-0002c719eae2.png""]",3.79,4.99,3.79,true,USD,"{""amount"":0.06,""unit"":""oz"",""text"":""$0.06/oz""}","{""in_stock"":true,""stock_level"":""inStock""}","{""value"":4.7,""count"":6}","[""New"",""Non-GMO""]","[{""name"":""Protein"",""value"":9,""unit"":""g""},{""name"":""Sat Fat"",""value"":3,""unit"":""g""},{""name"":""Sugar"",""value"":13,""unit"":""g""}]"
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,"[""https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_db8f459f-6d0f-4fbd-9051-08e0934d8c83.png""]",49.99,49.99,,false,USD,"{""amount"":1.79,""unit"":""oz"",""text"":""$1.79/oz""}","{""in_stock"":true,""stock_level"":""inStock""}","{""value"":5,""count"":4}","[""Gluten-Free"",""Non-GMO""]",Recorded from our API · 3 items shown · 20 datapoints per itemGET /v1/sprouts/search?query=milk
20 datapoints
Identity
- idstring
- product_idstring
- namestring
- brandstring
- categorystring
Contact
- urlurl
Reputation
- imagesstring[]
- ratingobject
- badgesstring[]
Price
- pricenumber
- regular_pricenumber
- sale_pricenumber
- currencystring
- unit_priceobject
Other
- positioninteger
- sizestring
- upcstring
- on_saleboolean
- availabilityobject
- nutrition_highlightsobject[]
Playground
Run this API
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 | none+4 optional | 1 credit |
GET/v1/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:
searchtakes aquery, withpageandper_page. - Products:
producttakes anidor a producturl.
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.
More marketplaces APIs
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 storeCompare prices for the same product across ZIP codes
Use the Sprouts Farmers Market API to compare prices for the same product across ZIP codesCompare unit prices across brands for one product type
Use the Sprouts Farmers Market API to compare unit prices across brands for one product typeCheck stock at a store before an order
Use the Sprouts Farmers Market API to check stock at a store before an orderFAQ
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.