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

Walgreens Categories API Documentation

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

List public Walgreens category ids and names. Feed an id into the category shelf endpoint. One credit per request; an error costs nothing.

Walgreens Categories API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/walgreens/categories
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "source": "header",
        "categories": [
            {
                "id": "350006",
                "name": "Vitamins & Supplements"
            }
        ]
    },
    "success": true
}

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": {
        "source": "header",
        "categories": [
            {
                "id": "350006",
                "name": "Vitamins & Supplements"
            }
        ]
    },
    "success": true
}

Errors

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

503

Service Unavailable

Walgreens could not be reached. 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.