Macy’s Produit
En ligneUne page produit en données structurées : titre, marque, référence, GTIN, prix, tailles avec stock et images.
GET
/v2/sites/macys/product- Authentification
- x-api-key
- Coût
- 1 en cache · 3 en direct
- Durée du cache
- 1 h
Exemple
curl --request GET \
'https://api.retailed.io/v2/sites/macys/product?id=<id>' \
--header 'x-api-key: <token>'{
"externalId": "string",
"title": "string",
"brand": "string",
"model": "string",
"styleCode": "string",
"gtins": [
"string"
],
"price": {
"amountMinor": 0,
"currency": "USD"
},
"salePrice": {
"amountMinor": 0,
"currency": "USD"
},
"sizes": [
{
"label": "string",
"inStock": false,
"price": {
"amountMinor": 0,
"currency": "USD"
},
"variantId": "string",
"gtins": [
"string"
],
"highestBid": {
"amountMinor": 0,
"currency": "USD"
},
"asks": 0,
"bids": 0,
"instantShip": {
"amountMinor": 0,
"currency": "USD"
},
"labels": {},
"lastSale": {
"amountMinor": 0,
"currency": "USD"
},
"sales72h": 0
}
],
"colour": "string",
"images": [
"https://…"
],
"url": "https://…",
"releaseDate": "string",
"retailPrice": {
"amountMinor": 0,
"currency": "USD"
},
"market": {
"lowestAsk": {
"amountMinor": 0,
"currency": "USD"
},
"highestBid": {
"amountMinor": 0,
"currency": "USD"
},
"lastSale": {
"amountMinor": 0,
"currency": "USD"
},
"asks": 0,
"bids": 0,
"changePercent": 0,
"sales": [
{
"window": "72h",
"count": 0,
"atLeast": false,
"atMost": false
}
],
"stats": [
{
"window": "72h",
"average": {
"amountMinor": 0,
"currency": "USD"
},
"low": {
"amountMinor": 0,
"currency": "USD"
},
"high": {
"amountMinor": 0,
"currency": "USD"
},
"salesCount": 0
}
],
"volatility": 0,
"pricePremium": 0,
"rank": 0,
"regions": [
{
"region": "string",
"lowest": {
"amountMinor": 0,
"currency": "USD"
},
"stats": [
{
"window": "72h",
"average": {
"amountMinor": null,
"currency": null
},
"low": {
"amountMinor": null,
"currency": null
},
"high": {
"amountMinor": null,
"currency": null
},
"salesCount": 0
}
],
"sales": [
{
"window": "72h",
"count": 0,
"atLeast": false,
"atMost": false
}
]
}
],
"forecast": [
{
"window": "72h",
"label": "string",
"count": 0,
"atLeast": false,
"low": {
"amountMinor": 0,
"currency": "USD"
},
"high": {
"amountMinor": 0,
"currency": "USD"
},
"payoutLow": {
"amountMinor": 0,
"currency": "USD"
},
"payoutHigh": {
"amountMinor": 0,
"currency": "USD"
}
}
]
},
"details": {
"category": [
"string"
],
"gender": "string",
"rating": {
"value": 0,
"best": 0,
"count": 0
},
"materials": [
"string"
],
"countryOfOrigin": "string",
"colourVariants": [
{
"colour": "string",
"styleCode": "string",
"url": "https://…",
"image": "https://…"
}
],
"attributes": [
{
"name": "string",
"value": "string"
}
],
"seller": "string",
"returnDays": 0,
"freeReturns": false,
"freeShipping": false,
"shop": {}
},
"source": {
"shop": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"ageS": 0,
"cached": false,
"stale": false,
"credits": 0
}
}Forme de la réponse, avec des valeurs d’exemple.
Paramètres de requête
| Nom | Type | Description |
|---|---|---|
| id | string | Shop product id or slug. Either id or url is required. |
| url | string (uri) | Product page URL. Either id or url is required. |
| country | string | Country code, e.g. US, FR, GB. |
| currency | string | Currency code, e.g. USD, EUR. |
| language | string | Language, e.g. en-US. |
| fresh | string | cache (default) serves cached data when fresh; live always fetches. Valeurs : cache, live. Par défaut cache. |
| max_age | integer | Freshness bound in seconds: data no older than this is served from cache, older data is fetched now. 0 always fetches. Wins over fresh. |
Envoyez id ou url.
Réponse
Le code 200 renvoie un objet Product.
| Champ | Type | Description |
|---|---|---|
| externalId | string | null | The shop's own product id. |
| title | string | – |
| brand | string | null | – |
| model? | string | null | Model, silhouette or product line, e.g. "Jordan 4 Retro". |
| styleCode | string | null | Manufacturer style code / SKU / reference. |
| gtins | string[] | – |
| price | Money | null | – |
| price.amountMinor | integer | Amount in minor units of the currency (cents). |
| price.currency | string | ISO 4217 code. |
| salePrice | Money | null | – |
| salePrice.amountMinor | integer | Amount in minor units of the currency (cents). |
| salePrice.currency | string | ISO 4217 code. |
| sizes | Size[] | – |
| sizes[].label | string | Size as the shop shows it, e.g. "US M 9" or "41 mm". |
| sizes[].inStock | boolean | – |
| sizes[].price? | Money | – |
| sizes[].price.amountMinor | integer | Amount in minor units of the currency (cents). |
| sizes[].price.currency | string | ISO 4217 code. |
| sizes[].variantId? | string | The shop's own id for this size. |
| sizes[].gtins? | string[] | – |
| sizes[].highestBid? | Money | – |
| sizes[].highestBid.amountMinor | integer | Amount in minor units of the currency (cents). |
| sizes[].highestBid.currency | string | ISO 4217 code. |
| sizes[].asks? | integer | Open asks (sell listings) for this size. |
| sizes[].bids? | integer | Open bids (buy offers) for this size. |
| sizes[].instantShip? | Money | Lowest price for instant shipping. |
| sizes[].instantShip.amountMinor | integer | Amount in minor units of the currency (cents). |
| sizes[].instantShip.currency | string | ISO 4217 code. |
| sizes[].labels? | object | The same size in other size systems, e.g. {"uk": "8", "eu": "42.5"}. |
| sizes[].lastSale? | Money | Last sale price of this size. |
| sizes[].lastSale.amountMinor | integer | Amount in minor units of the currency (cents). |
| sizes[].lastSale.currency | string | ISO 4217 code. |
| sizes[].sales72h? | integer | Sales of this size in the last 72 hours. |
| colour | string | null | – |
| images | string (uri)[] | Source URLs; images are never re-hosted. |
| url | string (uri) | null | – |
| releaseDate? | string (date) | null | – |
| retailPrice? | Money | null | – |
| retailPrice.amountMinor | integer | Amount in minor units of the currency (cents). |
| retailPrice.currency | string | ISO 4217 code. |
| market? | Market | – |
| market.lowestAsk? | Money | Lowest ask (sell listing) over all sizes. |
| market.lowestAsk.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.lowestAsk.currency | string | ISO 4217 code. |
| market.highestBid? | Money | Highest bid (buy offer) over all sizes. |
| market.highestBid.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.highestBid.currency | string | ISO 4217 code. |
| market.lastSale? | Money | – |
| market.lastSale.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.lastSale.currency | string | ISO 4217 code. |
| market.asks? | integer | Open asks over all sizes. |
| market.bids? | integer | Open bids over all sizes. |
| market.changePercent? | number | Last sale change, in percent. |
| market.sales? | SalesCount[] | – |
| market.sales[].window | MarketWindow | – |
| market.sales[].count | integer | – |
| market.sales[].atLeast? | boolean | The shop shows "count+": at least this many. |
| market.sales[].atMost? | boolean | The shop shows "<count": at most this many. |
| market.stats? | PriceStats[] | – |
| market.stats[].window | MarketWindow | – |
| market.stats[].average? | Money | – |
| market.stats[].average.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.stats[].average.currency | string | ISO 4217 code. |
| market.stats[].low? | Money | Lowest sale, or the low end of the price range when the shop gives only a range. |
| market.stats[].low.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.stats[].low.currency | string | ISO 4217 code. |
| market.stats[].high? | Money | Highest sale, or the high end of the price range when the shop gives only a range. |
| market.stats[].high.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.stats[].high.currency | string | ISO 4217 code. |
| market.stats[].salesCount? | integer | – |
| market.volatility? | number | Price volatility (0.08 = 8 %). |
| market.pricePremium? | number | Average resale price over retail, as a fraction (0.07 = 7 % over retail). |
| market.rank? | integer | Popularity rank on the shop, 1 = top. |
| market.regions? | MarketRegion[] | – |
| market.regions[].region | string | Region code as the shop names it, e.g. "CN". |
| market.regions[].lowest? | Money | Lowest price now in this region. |
| market.regions[].lowest.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.regions[].lowest.currency | string | ISO 4217 code. |
| market.regions[].stats? | PriceStats[] | – |
| market.regions[].stats[].window | MarketWindow | – |
| market.regions[].stats[].average? | Money | – |
| market.regions[].stats[].average.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.regions[].stats[].average.currency | string | ISO 4217 code. |
| market.regions[].stats[].low? | Money | Lowest sale, or the low end of the price range when the shop gives only a range. |
| market.regions[].stats[].low.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.regions[].stats[].low.currency | string | ISO 4217 code. |
| market.regions[].stats[].high? | Money | Highest sale, or the high end of the price range when the shop gives only a range. |
| market.regions[].stats[].high.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.regions[].stats[].high.currency | string | ISO 4217 code. |
| market.regions[].stats[].salesCount? | integer | – |
| market.regions[].sales? | SalesCount[] | – |
| market.regions[].sales[].window | MarketWindow | – |
| market.regions[].sales[].count | integer | – |
| market.regions[].sales[].atLeast? | boolean | The shop shows "count+": at least this many. |
| market.regions[].sales[].atMost? | boolean | The shop shows "<count": at most this many. |
| market.forecast? | MarketForecast[] | – |
| market.forecast[].window | MarketWindow | – |
| market.forecast[].label | string | null | What the forecast is for, as the shop says. |
| market.forecast[].count? | integer | – |
| market.forecast[].atLeast? | boolean | – |
| market.forecast[].low? | Money | – |
| market.forecast[].low.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.forecast[].low.currency | string | ISO 4217 code. |
| market.forecast[].high? | Money | – |
| market.forecast[].high.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.forecast[].high.currency | string | ISO 4217 code. |
| market.forecast[].payoutLow? | Money | What a seller receives after fees, low end. |
| market.forecast[].payoutLow.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.forecast[].payoutLow.currency | string | ISO 4217 code. |
| market.forecast[].payoutHigh? | Money | What a seller receives after fees, high end. |
| market.forecast[].payoutHigh.amountMinor | integer | Amount in minor units of the currency (cents). |
| market.forecast[].payoutHigh.currency | string | ISO 4217 code. |
| details? | ProductDetails | – |
| details.category? | string[] | Category path, broadest first, e.g. ["Men", "Shoes", "Sneakers"]. |
| details.gender? | string | Audience as the shop states it. |
| details.rating? | object | – |
| details.rating.value | number | Average rating. |
| details.rating.best | number | null | Top of the scale (usually 5). |
| details.rating.count | integer | null | Number of ratings or reviews. |
| details.materials? | string[] | – |
| details.countryOfOrigin? | string | – |
| details.colourVariants? | object[] | Colourways of this product on this shop, this one included. |
| details.colourVariants[].colour | string | null | – |
| details.colourVariants[].styleCode | string | null | – |
| details.colourVariants[].url | string (uri) | null | – |
| details.colourVariants[].image | string (uri) | null | – |
| details.attributes? | object[] | Name and value pairs the shop lists, e.g. {"name": "Pattern Type", "value": "Plain"}. |
| details.attributes[].name | string | – |
| details.attributes[].value | string | – |
| details.seller? | string | Who sells it, when the shop names a seller. |
| details.returnDays? | integer | Days the shop allows for a return. |
| details.freeReturns? | boolean | Returns cost nothing. |
| details.freeShipping? | boolean | The shop lists free shipping on this offer (conditions may apply). |
| details.shop? | object | Fields only this shop exposes; typed per site in the OpenAPI document. |
| source | Source | – |
| source.shop | string | Shop id, e.g. "stockx". |
| source.fetchedAt | string (date-time) | When the data was fetched from the shop. |
| source.ageS | integer | Age of the data in seconds when it was served. |
| source.cached | boolean | True when served from the cache. |
| source.stale | boolean | True when served past its freshness window (circuit open). |
| source.credits | integer | Credits charged for this call. |
Erreurs
| Statut | Quand |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Out of credits. Never debits credits. |
| 403 | This key may not call this endpoint |
| 404 | Unknown endpoint or product not found. |
| 422 | Invalid parameters, or the page is not a product. |
| 429 | Too many requests |
| 502 | We couldn't fetch this page right now; may include last good data marked stale. |
| 503 | Circuit open for this site; may include last good data marked stale. |
Ancien chemin v1
Remplace /api/v1/scraper/macys/product, qui répond encore pour l’instant. Passer de v1 à v2 →