Search public Walgreens OTC products. Each row has the product id, name, brand, size, USD price, promotion text, rating, review count, availability, image and product url. Filter by brand, price range and category. Sort by price or rating. A numeric query returns that one product. Rows that violate a filter are never returned and overlapping ids are deduplicated. Filters and sort narrow a single page, not the whole catalog. One credit per successful search; an empty result and every error cost nothing.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
6 optional filters available.
string
Required
Search text or a numeric product id, 1 to 200 characters. Example: ibuprofen.
coffee shops
integer
Optional
Page number, also accepted as p, default 1.
1
string
Optional
relevance, price_low, price_high, rating_high. Default: relevance.
relevance
string
Optional
Brand name filter.
example
number
Optional
Lowest USD price. Send it together with max_price.
10
number
Optional
Highest USD price. Send it together with min_price.
10
string
Optional
Category id from the categories endpoint, e.g. 350006.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
success
{
"data": {
"query": "ibuprofen",
"results": [
{
"url": "https://www.walgreens.com/store/c/ibuprofen/ID=300429191-product",
"name": "Ibuprofen 200 mg Tablets",
"size": "100 ct",
"brand": "Walgreens",
"image": "https://pics.walgreens.com/prodimg/300429191/450.jpg",
"price": 9.99,
"rating": 4.5,
"on_sale": false,
"currency": "USD",
"discount": null,
"product_id": "300429191",
"store_price": null,
"availability": "find_at_store",
"review_count": 120,
"promotion_text": null
}
],
"sort_by": "relevance",
"store_id": "15196",
"pagination": {
"per_page": 72,
"returned": 1,
"current_page": 1,
"has_next_page": true
},
"sort_options": [
"relevance",
"price_low",
"price_high",
"rating_high"
]
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required query parameter is missing or invalid. This response is not billable.
{
"errors": {
"query": [
"A search text or product id is required, e.g. ibuprofen."
]
},
"message": "The request validation failed"
}Service Unavailable
Walgreens could not be reached or refused the request. Not billable.
{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Walgreens is temporarily unavailable. Please retry."
},
"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.