Walgreens: Search
Search from Walgreens as JSON. 1 credit per successful call.
GET /v1/walgreens/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 200 characters |
page | integer | Optional | Any |
p | integer | Optional | Any |
sort | string | Optional | relevance, price_low, price_high, rating_high |
brand | string | Optional | Up to 80 characters |
min_price | number | Optional | Any |
max_price | number | Optional | Any |
category | string | Optional | Any |
Example request
Walgreens
GET/v1/walgreens/search?query=ibuprofen
{
"success": true,
"data": {
"query": "ibuprofen",
"results": [
{
"product_id": "300448278",
"sku_id": "400670051",
"upc": "31191704767",
"name": "Walgreens Ibuprofen Tablets, Pain Reliever/ Fever Reducer",
"brand": "Walgreens",
"size": "50 ea",
"price": 6.99,
"currency": "USD",
"on_sale": false,
"promotion_text": "Buy 1, Get 1 50% OFF",
"rating": 4.5,
"review_count": 42,
"image": "https://pics.walgreens.com/prodimg/670051/450.jpg",
"images": [
"https://pics.walgreens.com/prodimg/670051/450.jpg",
"https://pics.walgreens.com/prodimg/670051/220.jpg"
],
"url": "https://www.walgreens.com/store/c/walgreens-ibuprofen-tablets,-pain-reliever/fever-reducer/ID=300448278-product",
"category_ids": {
"tier1": "359438",
"tier2": "360547",
"tier3": "361471"
},
"shipping_enabled": true
},
{
"product_id": "300405645",
"sku_id": "sku305368",
"upc": "30573015040",
"name": "Advil Pain Reliever and Fever Reducer, Ibuprofen 200mg Tablets",
"brand": "Advil",
"size": "100 ea",
"price": 12.49,
"currency": "USD",
"on_sale": false,
"promotion_text": "Extra 20% off eligible items* sitewide with code CYBER20",
"rating": 4.5,
"review_count": 8970,
"image": "https://pics.walgreens.com/prodimg/10019/450.jpg",
"images": [
"https://pics.walgreens.com/prodimg/10019/450.jpg",
"https://pics.walgreens.com/prodimg/10019/220.jpg"
],
"url": "https://www.walgreens.com/store/c/advil-pain-reliever-and-fever-reducer,-ibuprofen-200mg-tablets/ID=300405645-product?skuId=sku305368",
"category_ids": {
"tier1": "359438",
"tier2": "360547",
"tier3": "361471"
},
"shipping_enabled": true
},
{
"product_id": "300418479",
"sku_id": "sku305423",
"upc": "30573016940",
"name": "Advil Liqui-Gels Pain Reliever and Fever Reducer, Ibuprofen 200 mg",
"brand": "Advil",
"size": "80 ea",
"price": 13.99,
"currency": "USD",
"on_sale": false,
"promotion_text": "Extra 20% off eligible items* sitewide with code CYBER20",
"rating": 4.5,
"review_count": 1938,
"image": "https://pics.walgreens.com/prodimg/37740/450.jpg",
"images": [
"https://pics.walgreens.com/prodimg/37740/450.jpg",
"https://pics.walgreens.com/prodimg/37740/220.jpg"
],
"url": "https://www.walgreens.com/store/c/advil-liqui-gels-pain-reliever-and-fever-reducer,-ibuprofen-200-mg/ID=300418479-product",
"category_ids": {
"tier1": "359438",
"tier2": "360547",
"tier3": "361471"
},
"shipping_enabled": true
}
],
"pagination": {
"current_page": 1,
"per_page": 72,
"returned": 72,
"has_next_page": true
},
"sort_by": "relevance",
"sort_options": [
"relevance",
"price_low",
"price_high"
],
"store_id": "15196"
},
"meta": {
"endpoint_family": "search",
"duration_ms": 1007,
"request_id": "req_3ab50b1b8b794a34a49404aaa67da58e",
"credits_charged": 1,
"credits_remaining": 4804
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
results | object[] |
pagination | object |
sort_by | string |
sort_options | string[] |
store_id | string |