Skip to content
Scrappa Get API key
Macy's API 1 credit / request

Macy's Product Details API Documentation

GET https://scrappa.co/api/macys/product

Macy's Product Details API Documentation Get one product by its numeric id or a public product url. The answer has the title, brand, description, full-size images, original and sale price with discount and currency, availability, rating and the published variants. Ids come unchanged from search or the categories endpoint. Availability is null when the site does not publish stock. Cost: 1 credit per successful request. Errors cost nothing.

Macy's Product Details API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/macys/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "id": "28353651",
        "brand": "Brand",
        "image": "https://slimages.macysassets.com/is/image/MCY/products/1",
        "price": {
            "sale": 49.99,
            "currency": "USD",
            "original": 79.99,
            "discount_percent": 38
        },
        "title": "Dress",
        "rating": {
            "count": 120,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

2 optional filters available.

id string Optional

Numeric id from search or the categories endpoint.

Example value 1234567890
url string Optional
Open example

Public Macy's product url, alternative to id.

Example value https://example.com/product

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "id": "28353651",
        "brand": "Brand",
        "image": "https://slimages.macysassets.com/is/image/MCY/products/1",
        "price": {
            "sale": 49.99,
            "currency": "USD",
            "original": 79.99,
            "discount_percent": 38
        },
        "title": "Dress",
        "rating": {
            "count": 120,
            "average": 4.5
        },
        "variants": [],
        "availability": {
            "text": "In stock",
            "available": true
        }
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

Send an id or a url.

503

Upstream Unavailable

The source did not answer. Nothing was charged.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.