APIs / Marketplaces / Macy's

1 credit per call4 endpoints7 datapointsChecked working 6 Dec 2026

Macy's API

Macy's API for product search with price filters, product details with sale prices, categories and search suggestions as JSON. 1 credit per successful call.

Macy's
GET/v1/macys/search?query=dress&sort=price_low
{
  "success": true,
  "data": {
    "query": "dress",
    "sort_by": "price_low",
    "sort_options": [
      "relevance",
      "price_low",
      "price_high"
    ],
    "results": [
      {
        "id": "25371565",
        "title": "Women's V-Neck Wrap Dress",
        "brand": "DKNY",
        "url": "https://www.macys.com/shop/product/dkny-womens-v-neck-faux-wrap-dress?ID=25371565",
        "price": {
          "original": 119,
          "sale": 47.53,
          "discount_percent": 60,
          "currency": "USD",
          "formatted_original": "$119.00",
          "formatted_sale": "$47.53",
          "is_on_sale": true
        },
        "availability": {},
        "rating": {}
      },
      {
        "id": "26890245",
        "title": "Women's Velvet Bow-Strap Shift Dress",
        "brand": "On 34th",
        "url": "https://www.macys.com/shop/product/on-34th-womens-velvet-bow-strap-shift-dress-macys-exclusive?ID=26890245",
        "price": {
          "original": 99.5,
          "sale": 49.75,
          "discount_percent": 50,
          "currency": "USD",
          "formatted_original": "$99.50",
          "formatted_sale": "$49.75",
          "is_on_sale": true
        },
        "availability": {},
        "rating": {}
      },
      {
        "id": "20638749",
        "title": "Juniors' Asymmetric Drape Strapless Ball Gown",
        "brand": "B Darlin",
        "url": "https://www.macys.com/shop/product/b-darlin-juniors-asymmetric-drape-strapless-ball-gown-created-for-macys?ID=20638749",
        "price": {
          "original": 129,
          "sale": 51.53,
          "discount_percent": 60,
          "currency": "USD",
          "formatted_original": "$129.00",
          "formatted_sale": "$51.53",
          "is_on_sale": true
        },
        "availability": {},
        "rating": {}
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 79,
      "total_results": 79,
      "has_next_page": false,
      "note": "Macy's does not expose a stable second page; only page 1 is available. Filters and sort apply to this page."
    }
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 3035,
    "request_id": "req_7d5c3221f6254abb87372b703529856f",
    "credits_charged": 1,
    "credits_remaining": 976
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringtitlestringbrandstringurlurlpriceobjectavailabilityobjectratingobject
125371565Women's V-Neck Wrap DressDKNYhttps://www.macys.com/shop/product/dkny-womens-v-neck-faux-wrap-dress?ID=25371565{7 fields}{0 fields}{0 fields}
226890245Women's Velvet Bow-Strap Shift DressOn 34thhttps://www.macys.com/shop/product/on-34th-womens-velvet-bow-strap-shift-dress-macys-exclusive?ID=26890245{7 fields}{0 fields}{0 fields}
320638749Juniors' Asymmetric Drape Strapless Ball GownB Darlinhttps://www.macys.com/shop/product/b-darlin-juniors-asymmetric-drape-strapless-ball-gown-created-for-macys?ID=20638749{7 fields}{0 fields}{0 fields}

Recorded from our API · 3 items shown · 7 datapoints per itemGET /v1/macys/search?query=dress&sort=price_low

7 datapoints

Identity

  • idstring
  • titlestring
  • brandstring

Contact

  • urlurl

Reputation

  • ratingobject

Price

  • priceobject

Other

  • availabilityobject

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/macys/search?query=dress&sort=price_low" \
  -H "X-API-Key: $API_KEY"

Macy's · 4 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/macys/categories
none
idnameurl
1 credit
GET/v1/macys/product
none+2 optional
idtitlebrandurlimageprice+3 more
1 credit
GET/v1/macys/search
none+8 optional
sort_bysort_optionsresultspagination
1 credit
GET/v1/macys/suggest
query
suggestions
1 credit

Overview

About the Macy's API

What you can get

The Macy's API returns Macy's products, prices and categories as JSON through 4 endpoints.

  • Search: search takes a query or category, with category_url, brand, min_price, max_price, sort (relevance, price_low, price_high or rating_high) and page.
  • Products: product takes an id, or a product URL as url.
  • Categories: categories takes no parameters.
  • Suggestions: suggest takes a query.

The recorded search for "dress" sorted by price_low returns results, each with id, title, brand, price, availability and rating. Each price carries original, sale, discount_percent, currency and is_on_sale. Its pagination reports a total_results of 79 on one page. The first result is a DKNY Women's V-Neck Wrap Dress at 47.53 USD, down from 119, a discount_percent of 60.

How a call works

Search, then read the product: GET /v1/macys/search?query=dress&sort=price_low, with your key in the X-API-Key header, returns each product's id. Pass that to product, for example GET /v1/macys/product?id=25371565, which returned image, availability and variants, each with its own color, price and availability. Search returns one page: the recorded pagination has has_next_page false and a note that only page 1 is available, so narrow results with category, brand or the price filters. categories returned a total of 1032, each with id and name. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track sale prices and `discount_percent` for a brand or category

Use the Macy's API to track sale prices and `discount_percent` for a brand or category

Watch price changes per colour across `variants`

Use the Macy's API to watch price changes per colour across `variants`

Find the lowest-priced items in a category with `sort`

Use the Macy's API to find the lowest-priced items in a category with `sort`

Map the category tree with `categories`

Use the Macy's API to map the category tree with `categories`

FAQ

Questions

How much does the Macy's API cost?

Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Does search return more than one page?

No. Search returns page 1, so use `category`, `brand`, `min_price`, `max_price` and `sort` to choose which products land on it.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Do I need a Macy's account?

No. You call this Macy's API with your Perceptlayer key in the `X-API-Key` header, with no Macy's login.

Is this the official Macy's API?

No. Perceptlayer is an independent service and is not affiliated with Macy's. It returns Macy's data as JSON with a Perceptlayer key, so there is no Macy's developer account, app review or partner approval to get first. It only reads data: if Macy's has an official API and you need to act on your own Macy's account, such as posting, managing orders or reading private data, use that one.

Should I build a Macy's scraper instead?

You can, but a Macy's scraper is code you maintain: page changes break it, requests get blocked, and Macy's's terms govern how you collect data. The Macy's API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Macy's API with 100 free credits

No credit card. Failed calls are never billed.