# Macy's API

> Macy's returns product listings, prices, and ratings, available as a workflow and API.

Macy's, also known as Macys, has a Search products method that returns product names, brands, prices, colours, ratings, and review counts. Search products requires a query and optionally accepts price bounds, a sale-only filter, sorting, and a maximum result count.

- Page: https://fous.com/tools/macys
- Handle: `@macys`
- Category: [Commerce](https://fous.com/tools/category/commerce)
- Source website: https://macys.com
- Last verified: Sep 29, 2026

## Methods

### Search products

Operation `search_products`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Search Macy's products in the site's order with optional USD price bounds, sale-only results and sorting. Prices for products with a range use the lowest shown price; promotions and availability can change.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"price_low_to_high"` | Sort results, for example best_sellers. |
| `query` | string | yes | `"women's winter coat"` | What to find, such as women's winter coat. |
| `max_price` | number | no | `150` | Maximum price in USD, for example 250. |
| `min_price` | number | no | `100` | Minimum price in USD, for example 50. |
| `max_results` | integer | no | `5` | Maximum products to return, for example 24. |
| `on_sale_only` | boolean | no | `true` | Show only products in Macy’s sale and discount selection, for example true. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "enum": [
        "featured",
        "best_sellers",
        "top_rated",
        "newest",
        "price_low_to_high",
        "price_high_to_low"
      ],
      "type": "string",
      "default": "featured",
      "description": "Sort results, for example best_sellers.",
      "examples": [
        "price_low_to_high",
        "best_sellers"
      ]
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "What to find, such as women's winter coat.",
      "examples": [
        "women's winter coat",
        "boots",
        "zzzzxxnomatch87652534"
      ]
    },
    "max_price": {
      "type": "number",
      "default": 1000000,
      "minimum": 0,
      "description": "Maximum price in USD, for example 250.",
      "examples": [
        150
      ]
    },
    "min_price": {
      "type": "number",
      "default": 0,
      "minimum": 0,
      "description": "Minimum price in USD, for example 50.",
      "examples": [
        100
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 24,
      "maximum": 96,
      "minimum": 1,
      "description": "Maximum products to return, for example 24.",
      "x-fous-developer": true,
      "examples": [
        5,
        6,
        4
      ]
    },
    "on_sale_only": {
      "type": "boolean",
      "default": false,
      "description": "Show only products in Macy’s sale and discount selection, for example true.",
      "examples": [
        true
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "women's winter coat",
      "max_results": 5
    },
    {
      "sort": "price_low_to_high",
      "query": "boots",
      "max_price": 150,
      "min_price": 100,
      "max_results": 6,
      "on_sale_only": true
    },
    {
      "query": "zzzzxxnomatch87652534",
      "max_results": 4
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `products` | array |  |  |
| `products[].brand` | string or null | `"DKNY"` |  |
| `products[].price` | number or null | `149.99` | Current displayed USD price. |
| `products[].colours` | array |  |  |
| `products[].image_link` | string or null | `"https://slimages.macysassets.com/is/image/MCY/products/1/optimized/37895501_fpx.tif?qlt=80,0&resMode=sharp2&op_usm=1.75` |  |
| `products[].product_id` | string | `"26591977"` |  |
| `products[].star_rating` | number or null | `4.5` |  |
| `products[].product_link` | string | `"https://www.macys.com/shop/product/dkny-womens-walker-length-puffer-with-faux-fur-trimmed-hood-coat?ID=26591977&isDlp=t` |  |
| `products[].product_name` | string | `"Women's Walker Length Puffer with Faux Fur Trimmed Hood Coat"` |  |
| `products[].review_count` | integer or null | `2552` |  |
| `products[].currency_code` | string | `"USD"` |  |
| `products[].original_price` | number or null | `285` | Original USD price when shown. |
| `products[].discount_percent` | number or null | `47` |  |

**Example input**

```json
{
  "query": "women's winter coat",
  "max_results": 5
}
```

**Example output**

```json
{
  "products": [
    {
      "brand": "DKNY",
      "price": 149.99,
      "colours": [
        "Loden",
        "Bitter"
      ],
      "image_link": "https://slimages.macysassets.com/is/image/MCY/products/1/optimized/37895501_fpx.tif?qlt=80,0&resMode=sharp2&op_usm=1.75,0.3,2,0&fmt=jpeg&wid=342&hei=417&layer=1&bgcolor=100,100,100&opac=5&bgc=247,247,…",
      "product_id": "26591977",
      "star_rating": null,
      "product_link": "https://www.macys.com/shop/product/dkny-womens-walker-length-puffer-with-faux-fur-trimmed-hood-coat?ID=26591977&isDlp=true",
      "product_name": "Women's Walker Length Puffer with Faux Fur Trimmed Hood Coat",
      "review_count": null,
      "currency_code": "USD",
      "original_price": 285,
      "discount_percent": 47
    },
    {
      "brand": "Lauren Ralph Lauren",
      "price": 255.5,
      "colours": [
        "Black",
        "Dk Navy"
      ],
      "image_link": "https://slimages.macysassets.com/is/image/MCY/products/9/optimized/28448939_fpx.tif?qlt=80,0&resMode=sharp2&op_usm=1.75,0.3,2,0&fmt=jpeg&wid=342&hei=417&layer=1&bgcolor=100,100,100&opac=5&bgc=247,247,…",
      "product_id": "23951208",
      "star_rating": 4.5,
      "product_link": "https://www.macys.com/shop/product/lauren-ralph-lauren-womens-faux-fur-hooded-puffer-coat-p-xs-xxl?ID=23951208&isDlp=true",
      "product_name": "Women's Faux-Fur Hooded Puffer Coat",
      "review_count": 2552,
      "currency_code": "USD",
      "original_price": 365,
      "discount_percent": 30
    }
  ]
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@macys",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "women'\''s winter coat",
    "max_results": 5
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@macys\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_products\",\n  \"version\": 1,\n  \"input\": {\n    \"query\": \"women's winter coat\",\n    \"max_results\": 5\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@macys",
  "visibility": "public",
  "operation": "search_products",
  "version": 1,
  "input": {
    "query": "women's winter coat",
    "max_results": 5
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/macys`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_products`: Search products. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-macys https://api.fous.com/mcp/tools/macys --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Find products matching a shopping query
- Compare displayed prices across products
- Review product ratings and review counts
- Find sale products within a price range

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Macy's tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a Macy's account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from macys.com when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What products match a search?

Search products takes a required query and returns matching product details.

### Which products are on sale within my budget?

Search products can filter for sale products and accept minimum and maximum price bounds.

### What are a product's price and rating?

Search products returns the displayed price, star rating, review count, and original price when shown.

## Related

- [Nordstrom API](https://fous.com/tools/nordstrom.md): Search clothing, shoes, and beauty products at Nordstrom.
- [Kohl's API](https://fous.com/tools/kohls.md): Shop products and deals on Kohl's.
- [Walmart API](https://fous.com/tools/walmart.md): Walmart helps shoppers find products from Walmart and marketplace sellers, view details, prices, ratings and reviews; availability uses Walmart’s default location, not ZIP codes.
- [Sephora API](https://fous.com/tools/sephora.md): Sephora provides US beauty products, shopping information, product details, and customer reviews; prices and availability may change.
- [Best Buy API](https://fous.com/tools/best-buy.md): Best Buy returns US electronics and appliance listings, prices, deals, specifications, images, reviews, and nearby store pickup and shipping details; prices and availability can change by location and before checkout.
- [Ulta Beauty API](https://fous.com/tools/ulta-beauty.md): Ulta Beauty returns searchable beauty products and product details, including current pricing and availability that may change.
- [H&M API](https://fous.com/tools/hm.md): H&M offers clothing and home shopping, with country-specific prices and online size stock; product details reflect current catalog information.
- [Amazon API](https://fous.com/tools/amazon.md): Amazon returns publicly shown product listings, prices, details, ratings, reviews, current best sellers, and Today's Deals; availability and content vary by store, location, and access.
- [All Commerce tools](https://fous.com/tools/category/commerce)
