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

Walgreens Product Detail API Documentation

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

Get one public Walgreens OTC product by id or url. Ids are the exact forms search returns: a number, prod and digits, or sku and digits. The answer has price, brand, rating, review count, availability, images and category ids. This detail is the same card numeric search returns. Description, variants and rating breakdown are not published on the public path and stay null or empty; see the named follow-up walgreens.product_detail_depth. One credit per successful request.

Walgreens Product Detail API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/walgreens/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "name": "Ibuprofen 200 mg Tablets",
        "brand": "Walgreens",
        "image": "https://pics.walgreens.com/prodimg/300429191/450.jpg",
        "price": 9.99,
        "images": [
            "https://pics.walgreens.com/prodimg/300429191/450.jpg"
        ],
        "rating": 4.5,
        "sku_id": "1234567",
        "currency": "USD",
        "variants": [],
        "product_id": "300429191",
...

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.

2 optional filters available.

id string Optional

Product id from search: a number, prod and digits, or sku and digits. Required unless url is given.

Example value 1234567890
url string Optional
Open example

Walgreens product url; the product id is read from it.

Example value https://example.com/product

Response Schema

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

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "name": "Ibuprofen 200 mg Tablets",
        "brand": "Walgreens",
        "image": "https://pics.walgreens.com/prodimg/300429191/450.jpg",
        "price": 9.99,
        "images": [
            "https://pics.walgreens.com/prodimg/300429191/450.jpg"
        ],
        "rating": 4.5,
        "sku_id": "1234567",
        "currency": "USD",
        "variants": [],
        "product_id": "300429191",
        "description": null,
        "availability": "find_at_store",
        "category_ids": {
            "tier1": "350006",
            "tier2": null,
            "tier3": null
        },
        "multivariant": false,
        "review_count": 120
    },
    "success": true
}

Errors

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

404

Not Found

No public product was found for this id. Not billable.

{
    "error": {
        "code": "NOT_FOUND",
        "message": "Walgreens has no such product."
    },
    "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.