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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | titlestring | brandstring | urlurl | priceobject | availabilityobject | ratingobject |
|---|---|---|---|---|---|---|---|
| 1 | 25371565 | Women's V-Neck Wrap Dress | DKNY | https://www.macys.com/shop/product/dkny-womens-v-neck-faux-wrap-dress?ID=25371565 | {7 fields} | {0 fields} | {0 fields} |
| 2 | 26890245 | Women's Velvet Bow-Strap Shift Dress | On 34th | https://www.macys.com/shop/product/on-34th-womens-velvet-bow-strap-shift-dress-macys-exclusive?ID=26890245 | {7 fields} | {0 fields} | {0 fields} |
| 3 | 20638749 | Juniors' Asymmetric Drape Strapless Ball Gown | B Darlin | https://www.macys.com/shop/product/b-darlin-juniors-asymmetric-drape-strapless-ball-gown-created-for-macys?ID=20638749 | {7 fields} | {0 fields} | {0 fields} |
[
{
"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": {}
}
]id,title,brand,url,price,availability,rating
25371565,Women's V-Neck Wrap Dress,DKNY,https://www.macys.com/shop/product/dkny-womens-v-neck-faux-wrap-dress?ID=25371565,"{""original"":119,""sale"":47.53,""discount_percent"":60,""currency"":""USD"",""formatted_original"":""$119.00"",""formatted_sale"":""$47.53"",""is_on_sale"":true}",{},{}
26890245,Women's Velvet Bow-Strap Shift Dress,On 34th,https://www.macys.com/shop/product/on-34th-womens-velvet-bow-strap-shift-dress-macys-exclusive?ID=26890245,"{""original"":99.5,""sale"":49.75,""discount_percent"":50,""currency"":""USD"",""formatted_original"":""$99.50"",""formatted_sale"":""$49.75"",""is_on_sale"":true}",{},{}
20638749,Juniors' Asymmetric Drape Strapless Ball Gown,B Darlin,https://www.macys.com/shop/product/b-darlin-juniors-asymmetric-drape-strapless-ball-gown-created-for-macys?ID=20638749,"{""original"":129,""sale"":51.53,""discount_percent"":60,""currency"":""USD"",""formatted_original"":""$129.00"",""formatted_sale"":""$51.53"",""is_on_sale"":true}",{},{}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
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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:
searchtakes aqueryorcategory, withcategory_url,brand,min_price,max_price,sort(relevance,price_low,price_highorrating_high) andpage. - Products:
producttakes anid, or a product URL asurl. - Categories:
categoriestakes no parameters. - Suggestions:
suggesttakes aquery.
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.
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 categoryWatch 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.