Vai al contenuto
↑↓ per spostarti · Invio per aprire · Esc per chiudere
Documentazione Data APIIl riferimento della Data API v2Stato
Data API

StockX Tendenze

Attivo

I prodotti di tendenza o più venduti dello shop.

GET/v2/sites/stockx/trends
Autenticazione
x-api-key
Costo
1 in cache · 2 live
Durata della cache
15 min

Stato live

StatoOperativoUltimi 30 giorni · cerchio = oggi
Successo · 30 giorni
100,0%
Nessun giorno sotto il 99,0%
Tempo mediano · 24 h
268 ms
Lettura live dalla fonte
5% più lento · 24 h
727 ms
95 chiamate su 100 sono più veloci
Età dei dati
≤ 15 min
Ultimo controllo 30 min fa

Dalle nostre chiamate di test su questa fonte, mai dalle richieste dei clienti.

Esempio

curl --request GET \
  'https://api.retailed.io/v2/sites/stockx/trends?q=sneakers&country=US' \
  --header 'x-api-key: <token>'
Risposta · 200Esempio
{
  "items": [
    {
      "externalId": "string",
      "title": "string",
      "brand": "string",
      "styleCode": "string",
      "price": {
        "amountMinor": 0,
        "currency": "USD"
      },
      "images": [
        "https://…"
      ],
      "url": "https://…",
      "colour": "string",
      "releaseDate": "string",
      "retailPrice": {
        "amountMinor": 0,
        "currency": "USD"
      },
      "category": [
        "string"
      ],
      "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": null,
              "currency": null
            },
            "low": {
              "amountMinor": null,
              "currency": null
            },
            "high": {
              "amountMinor": null,
              "currency": null
            },
            "salesCount": 0
          }
        ],
        "volatility": 0,
        "pricePremium": 0,
        "rank": 0,
        "regions": [
          {
            "region": "string",
            "lowest": {
              "amountMinor": null,
              "currency": null
            },
            "stats": [
              null
            ],
            "sales": [
              null
            ]
          }
        ],
        "forecast": [
          {
            "window": "72h",
            "label": "string",
            "count": 0,
            "atLeast": false,
            "low": {
              "amountMinor": null,
              "currency": null
            },
            "high": {
              "amountMinor": null,
              "currency": null
            },
            "payoutLow": {
              "amountMinor": null,
              "currency": null
            },
            "payoutHigh": {
              "amountMinor": null,
              "currency": null
            }
          }
        ]
      }
    }
  ],
  "page": 0,
  "hasNextPage": false,
  "total": 0,
  "source": {
    "shop": "string",
    "fetchedAt": "2026-01-01T00:00:00Z",
    "ageS": 0,
    "cached": false,
    "stale": false,
    "credits": 0
  }
}

Struttura della risposta, con valori d’esempio.

Parametri della query

NomeTipoDescrizione
qobbligatoriostringSearch string.
pageintegerPage number, from 1.
countryobbligatoriostringCountry code, e.g. US, FR, GB.
currencystringCurrency code, e.g. USD, EUR.
languagestringLanguage, e.g. en-US.
freshstringcache (default) serves cached data when fresh; live always fetches. Valori: cache, live. Predefinito cache.
max_ageintegerFreshness bound in seconds: data no older than this is served from cache, older data is fetched now. 0 always fetches. Wins over fresh.

Risposta

Il codice 200 restituisce un oggetto SearchResult.

Risposta
CampoTipoDescrizione
itemsSearchItem[]–
items[].externalIdstring–
items[].titlestring–
items[].brandstring | null–
items[].styleCodestring | null–
items[].priceMoney | null–
items[].price.amountMinorintegerAmount in minor units of the currency (cents).
items[].price.currencystringISO 4217 code.
items[].imagesstring (uri)[]–
items[].urlstring (uri) | null–
items[].colour?string | null–
items[].releaseDate?string (date) | null–
items[].retailPrice?Money | null–
items[].retailPrice.amountMinorintegerAmount in minor units of the currency (cents).
items[].retailPrice.currencystringISO 4217 code.
items[].category?string[]–
items[].market?Market–
items[].market.lowestAsk?MoneyLowest ask (sell listing) over all sizes.
items[].market.lowestAsk.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.lowestAsk.currencystringISO 4217 code.
items[].market.highestBid?MoneyHighest bid (buy offer) over all sizes.
items[].market.highestBid.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.highestBid.currencystringISO 4217 code.
items[].market.lastSale?Money–
items[].market.lastSale.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.lastSale.currencystringISO 4217 code.
items[].market.asks?integerOpen asks over all sizes.
items[].market.bids?integerOpen bids over all sizes.
items[].market.changePercent?numberLast sale change, in percent.
items[].market.sales?SalesCount[]–
items[].market.sales[].windowMarketWindow–
items[].market.sales[].countinteger–
items[].market.sales[].atLeast?booleanThe shop shows "count+": at least this many.
items[].market.sales[].atMost?booleanThe shop shows "<count": at most this many.
items[].market.stats?PriceStats[]–
items[].market.stats[].windowMarketWindow–
items[].market.stats[].average?Money–
items[].market.stats[].average.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.stats[].average.currencystringISO 4217 code.
items[].market.stats[].low?MoneyLowest sale, or the low end of the price range when the shop gives only a range.
items[].market.stats[].low.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.stats[].low.currencystringISO 4217 code.
items[].market.stats[].high?MoneyHighest sale, or the high end of the price range when the shop gives only a range.
items[].market.stats[].high.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.stats[].high.currencystringISO 4217 code.
items[].market.stats[].salesCount?integer–
items[].market.volatility?numberPrice volatility (0.08 = 8 %).
items[].market.pricePremium?numberAverage resale price over retail, as a fraction (0.07 = 7 % over retail).
items[].market.rank?integerPopularity rank on the shop, 1 = top.
items[].market.regions?MarketRegion[]–
items[].market.regions[].regionstringRegion code as the shop names it, e.g. "CN".
items[].market.regions[].lowest?MoneyLowest price now in this region.
items[].market.regions[].lowest.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.regions[].lowest.currencystringISO 4217 code.
items[].market.regions[].stats?PriceStats[]–
items[].market.regions[].stats[].windowMarketWindow–
items[].market.regions[].stats[].average?Money–
items[].market.regions[].stats[].average.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.regions[].stats[].average.currencystringISO 4217 code.
items[].market.regions[].stats[].low?MoneyLowest sale, or the low end of the price range when the shop gives only a range.
items[].market.regions[].stats[].low.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.regions[].stats[].low.currencystringISO 4217 code.
items[].market.regions[].stats[].high?MoneyHighest sale, or the high end of the price range when the shop gives only a range.
items[].market.regions[].stats[].high.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.regions[].stats[].high.currencystringISO 4217 code.
items[].market.regions[].stats[].salesCount?integer–
items[].market.regions[].sales?SalesCount[]–
items[].market.regions[].sales[].windowMarketWindow–
items[].market.regions[].sales[].countinteger–
items[].market.regions[].sales[].atLeast?booleanThe shop shows "count+": at least this many.
items[].market.regions[].sales[].atMost?booleanThe shop shows "<count": at most this many.
items[].market.forecast?MarketForecast[]–
items[].market.forecast[].windowMarketWindow–
items[].market.forecast[].labelstring | nullWhat the forecast is for, as the shop says.
items[].market.forecast[].count?integer–
items[].market.forecast[].atLeast?boolean–
items[].market.forecast[].low?Money–
items[].market.forecast[].low.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.forecast[].low.currencystringISO 4217 code.
items[].market.forecast[].high?Money–
items[].market.forecast[].high.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.forecast[].high.currencystringISO 4217 code.
items[].market.forecast[].payoutLow?MoneyWhat a seller receives after fees, low end.
items[].market.forecast[].payoutLow.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.forecast[].payoutLow.currencystringISO 4217 code.
items[].market.forecast[].payoutHigh?MoneyWhat a seller receives after fees, high end.
items[].market.forecast[].payoutHigh.amountMinorintegerAmount in minor units of the currency (cents).
items[].market.forecast[].payoutHigh.currencystringISO 4217 code.
pageinteger–
hasNextPageboolean–
totalinteger | null–
sourceSource–
source.shopstringShop id, e.g. "stockx".
source.fetchedAtstring (date-time)When the data was fetched from the shop.
source.ageSintegerAge of the data in seconds when it was served.
source.cachedbooleanTrue when served from the cache.
source.stalebooleanTrue when served past its freshness window (circuit open).
source.creditsintegerCredits charged for this call.

Errori

StatoQuando
401Missing or invalid API key
402Out of credits. Never debits credits.
403This key may not call this endpoint
404Unknown endpoint or product not found.
422Invalid parameters, or the page is not a product.
429Too many requests
502We couldn't fetch this page right now; may include last good data marked stale.
503Circuit open for this site; may include last good data marked stale.

Tutti i tipi di errore →

Vecchio percorso v1

Sostituisce /api/v1/scraper/stockx/trends, che per ora risponde ancora. Passare da v1 a v2 →

Altri endpoint StockX