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

Macy's Product Search API Documentation

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

Macy's Product Search API Documentation Search Macy's products. Each result has the product id, title, brand, url, full-size image, original price, sale price, discount, currency, availability and rating. Filter by category id, brand and price range, and sort price or rating within the returned page. The id from a result is accepted unchanged by the product endpoint. A price filter is checked on every row: no product outside the range is returned. Only page 1 is available because the site does not expose a stable second page. An empty result and every error cost nothing. Cost: 1 credit when results are returned.

Macy's Product Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/macys/search
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "query": "dress",
        "results": [
            {
                "id": "28353651",
                "brand": "Brand",
                "price": {
                    "sale": 49.99,
                    "currency": "USD",
                    "original": 79.99,
                    "discount_percent": 38
                },
                "title": "Dress",
...

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.

7 optional filters available.

query string Optional

Search text, 1 to 200 characters. Example: dress.

Example value coffee shops
category string Optional

Numeric id from the categories endpoint, e.g. 5449.

Example value example
brand string Optional

Brand name to match.

Example value example
sort string Optional

relevance, price_low, price_high or rating_high.

Example value relevance
min_price number Optional

Lowest USD price. Send with max_price.

Example value 10
max_price number Optional

Highest USD price. Send with min_price.

Example value 10
page integer Optional

Only page 1 is available.

Example value 1

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": {
        "query": "dress",
        "results": [
            {
                "id": "28353651",
                "brand": "Brand",
                "price": {
                    "sale": 49.99,
                    "currency": "USD",
                    "original": 79.99,
                    "discount_percent": 38
                },
                "title": "Dress",
                "rating": {
                    "count": 120,
                    "average": 4.5
                }
            }
        ],
        "pagination": {
            "current_page": 1
        }
    },
    "meta": {
        "credits": 1,
        "billable": true
    },
    "success": true
}

Errors

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

422

Validation Error

A required or invalid parameter was sent.

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.