Skip to the content

Scraper API

Macy’s

macys.productAvailable

Macy’s product

The product: name, brand, description, category, the price shown and the regular price, rating, pictures, and every size and colour on offer.

Give it a product's id, or the address of its page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
18 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/macys.product/runs

{
"input": {
"product": "21777706"
}
}

sent, and answered

a record of the run18 fields

{
id: "21777706"
name: "Men's Denton Slim Straight-Fit Jeans"
brand: "Tommy Hilfiger"
url: "https://www.macys.com/shop/product/tommy-hilfiger-mens-slim-straight-d…
description: "Tommy Hilfiger's signature Denton jeans embody timeless American style…
category: "Men's Fashion, Shoes & Accessories"
price: 59.99
max_price: 59.99
regular_price: 89.5
… 9 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 18 fields are set down here; the whole record is below.

macys.com
The page Macy’s product reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Read a product in full
One product's description, category, price shown, regular price, rating and pictures, in one record.
Check sizes and colours
Every size and colour in offers, each with its number and availability, to see what is in stock.
Follow a price over time
Read a product on a schedule and keep price and price_text, to see when it is on sale.

What you send

A product's id, or the address of its page. It is the one input.

productstring Required
The product's id (21777706), or the address of its page (https://www.macys.com/shop/product/…?ID=21777706).

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/macys.product/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"product":"21777706"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("macys.product", {"product": "21777706"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("macys.product", { product: "21777706" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "macys.product", map[string]any{"product": "21777706"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("macys.product", Map.of("product", "21777706"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run macys.product --input-json '{"product":"21777706"}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The product: name, brand, description, category, the price shown and the regular price, rating, pictures, and every size and colour on offer. A record has 18 fields. One we could not read is null, never an empty string or a zero.

A record macys.product returned
{
  "id": "21777706",
  "name": "Men's Denton Slim Straight-Fit Jeans",
  "brand": "Tommy Hilfiger",
  "url": "https://www.macys.com/shop/product/tommy-hilfiger-mens-slim-straight-denton-jeans?ID=21777706",
  "description": "Tommy Hilfiger's signature Denton jeans embody timeless American style with a slim, straight fit that works effortlessly from day to night.",
  "category": "Men's Fashion, Shoes & Accessories",
  "price": 59.99,
  "max_price": 59.99,
  "regular_price": 89.5,
  "percent_off": 33,
  "price_text": "$59.99",
  "currency": "USD",
  "availability": "InStock",
  "rating": 4.4,
  "review_count": 567,
  "images": [
    "https://slimages.macysassets.com/is/image/MCY/products/8/optimized/32336858_fpx.tif",
    "https://slimages.macysassets.com/is/image/MCY/products/1/optimized/32935771_fpx.tif",
    "https://slimages.macysassets.com/is/image/MCY/products/3/optimized/32336843_fpx.tif"
  ],
  "offers": [
    {
      "sku": "198296200737USA",
      "gtin": null,
      "color": "Black",
      "size": "34",
      "seller": null,
      "price": 59.99,
      "currency": "USD",
      "availability": "InStock"
    },
    {
      "sku": "198296200720USA",
      "gtin": null,
      "color": "Black",
      "size": "34",
      "seller": null,
      "price": 59.99,
      "currency": "USD",
      "availability": "InStock"
    }
  ],
  "fetched_at": "2026-11-19T19:01:03.594473Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: images: 4 items, the first 3 shown; offers: 100 items, the first 2 shown.

The fields of a record

idstring
Macy's id of the product read. A piece Macy's sells as part of a collection is answered with the collection's page, and this is the collection's id.
namestring
The product's name.
brandstring or null
The brand.
urlstring
The product's page on macys.com.
descriptionstring or null
The product's description.
categorystring or null
The category its page names, e.g. Men's Fashion, Shoes & Accessories.
pricenumber or null
The price the page shows now, in US dollars: the sale price when it is on sale, the low end of a range.
max_pricenumber or null
The high end of the price shown, when it is a range.
regular_pricenumber or null
The regular or original price the page shows beside a sale price; null when it is not on sale.
percent_offinteger or null
The saving the page states, in percent.
price_textstring or null
The price as the page writes it, e.g. $47.99 - $62.39.
currencystring or null
The prices' currency code: USD.
availabilitystring or null
InStock when any size or colour can be bought, else schema.org's word for the first offer.
ratingnumber or null
The average rating out of 5.
review_countinteger or null
How many reviews the rating is from.
imageslist of strings
The product's pictures, one for each colour.
offerslist of objects
Every size and colour on offer, each with its number and availability (at most 300), as the page's product document lists them; its prices can differ from the price shown, which is in price.Each holds sku, gtin, color, size, seller, price, currency, availability.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one product.
  • A piece sold as part of a collection is answered with the collection's page.
  • A product no longer sold ends as failed, with the reason not_found, and costs nothing.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Macy’s product return?

The product: name, brand, description, category, the price shown and the regular price, rating, pictures, and every size and colour on offer. A record has 18 fields, among them id, name, brand, url, description and category. A value that could not be read is null, never an empty string or a zero.

What do I send?

A product's id, or the address of its page. The input product is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

One run reads one product. A piece sold as part of a collection is answered with the collection's page. A product no longer sold ends as failed, with the reason not_found, and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id macys.product and the same input. It costs what the same API call costs.

Macy’s

Macy’s public search results and product pages: names, brands, prices and sale prices, ratings, colours and sizes.

  • Macy’s search

    macys.search

    Words to search for, and a page. The products on a page of the results: name, brand, price and sale price, saving, rating, colours, picture, and whether it is sponsored.

Macy’s on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.