# Walgreens Categories API Documentation

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

- **Documentation:** [https://scrappa.co/docs/walgreens-api/walgreens_categories](https://scrappa.co/docs/walgreens-api/walgreens_categories)
- **API group:** Walgreens API
- **Endpoint:** `GET https://scrappa.co/api/walgreens/categories`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Example response

```json
{
    "data": {
        "source": "header",
        "categories": [
            {
                "id": "350006",
                "name": "Vitamins & Supplements"
            }
        ]
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Service Unavailable | Walgreens could not be reached. Not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
