Scrape category pages on macys.com
The call that returns category pages from macys.com today, with the parameters, patterns and failure modes read off the request log since 14 Aug 2026.
Measured on Crawlbase
Success rate over every request from every account in August 2026: 94.0%. Patterns, countries and failures come from the request log since 14 Aug 2026; 23.2% of successful calls used the JavaScript token and the median answer took 15.2s.
Among the 20 ecommerce sites in the Cookbook, macys.com sits at 15 of 20 by success rate; the category median is 96.3%. Its median answer of 15.2s is slower than the category median of 2.9s. 9 of the 20 accept the plain token; this one does on some pages only.
The call
Category and listing pages are the shape the accounts fetch most here, with the country and token that succeed most often. Replace the placeholder path with a real section URL from the site.
curl "https://api.crawlbase.com/?token=YOUR_JS_TOKEN&url=https%3A%2F%2Fwww.macys.com%2Fshop%2Fproduct%2Fexample-page"from crawlbase import CrawlingAPI api = CrawlingAPI({'token': 'YOUR_JS_TOKEN'}) r = api.get('https://www.macys.com/shop/product/example-page') html = r['body']
const { CrawlingAPI } = require('crawlbase'); const api = new CrawlingAPI({ token: 'YOUR_JS_TOKEN' }); const r = await api.get('https://www.macys.com/shop/product/example-page');
Parameters that matter
| Parameter | Set it to | Why |
|---|---|---|
country | leave unset | Most successful calls set no country (100%) and succeed at 85.7%. |
javascript | use the JavaScript token | JavaScript-token calls succeed at 97.1% against 77.6% for the plain token, and 41.8% of calls use it. |
URL patterns accounts fetch
| Pattern | Share of successes | JavaScript token | Country | Query parameters |
|---|---|---|---|---|
/shop/product/{slug} | 100% | 0.3% | none | ID |
Fields you get
A listing page carries the items of one section, each with a title, a link and often a price, plus the pagination. The detail lives on the item page; fetch it only for the items you need.
What breaks, and the fix
Of the failures since 14 Aug 2026, the site answered:
Run it on a schedule
Walk the listings on a cadence to find new items, then push the item URLs to the Crawler with a callback; it paces the calls and retries what the site refuses. The median answer on this site is 15.2s.
Questions
Do I need a browser to scrape macys.com?
Yes for most pages. JavaScript-token calls succeed at 97.1% while plain-token calls reach 77.6%.
How much does a macys.com page cost on Crawlbase?
1 credit without a browser. macys.com is in the standard tier.
Which country should I set for macys.com?
None is needed: most successful calls leave it unset.