Macy's: Search
Search from Macy's as JSON. 1 credit per successful call.
GET /v1/macys/search
Parameters
Send parameters in the query string.
Required Send query or category.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Optional | Up to 200 characters |
page | integer | Optional | Any |
sort | string | Optional | relevance, price_low, price_high, rating_high |
category | string | Optional | Any |
category_url | string | Optional | Up to 2,000 characters |
brand | string | Optional | Up to 100 characters |
min_price | number | Optional | Any |
max_price | number | Optional | Any |
Example request
Macy's
GET/v1/macys/search?query=dress&sort=price_low
{
"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
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
sort_by | string |
sort_options | string[] |
results | object[] |
pagination | object |