# Macy's Categories API Documentation

<p><strong>Macy's Categories API Documentation</strong> List the public category ids, names and urls used by the Macy's storefront. Pass an id unchanged to the search endpoint. Cost: 1 credit per successful request. Errors cost nothing.</p>

- **Documentation:** [https://scrappa.co/docs/macys-api/macys_categories](https://scrappa.co/docs/macys-api/macys_categories)
- **API group:** Macy's API
- **Endpoint:** `GET https://scrappa.co/api/macys/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": {
        "total": 1,
        "results": [
            {
                "id": "5449",
                "url": "/shop/womens/clothing/dresses?id=5449",
                "name": "Dresses"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 503 | Upstream Unavailable | The source did not answer. Nothing was charged. |

## 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)
