Documentazione Data API
Dati prodotto, ricerca e prezzi di shop e marketplace con un’unica API REST. Questo riferimento è generato dalla specifica dell’API e cambia quando cambia l’API. Le descrizioni dei campi restano in inglese.
- URL di base
- api.retailed.io
- Autenticazione
- x-api-key
- Endpoint
- 52
Guida rapida
- Crea una chiave su data.retailed.io, nella sezione Chiavi API.
- Salvala in una variabile d’ambiente, per esempio RETAILED_API_KEY. Mai nel codice del browser.
- Chiama qualsiasi endpoint con la chiave nell’header x-api-key.
curl -G "https://api.retailed.io/v2/sites/nike/search" \
-H "x-api-key: $RETAILED_API_KEY" \
--data-urlencode "q=dunk low"Autenticazione
Invia la tua chiave nell’header x-api-key oppure come Authorization: Bearer <key>. Una chiave mancante o sbagliata risponde 401 con l’errore unauthorized.
Crediti e cache
Ogni chiamata costa crediti: una risposta dalla cache costa meno, una lettura live dallo shop costa di più. Il costo di ogni endpoint è nel riferimento. Gli errori non costano mai crediti. Ogni risposta indica il suo costo nell’header X-Credits-Used.
Scegli quanto devono essere aggiornati i dati
| Nome | Descrizione |
|---|---|
| fresh=cache | Predefinito. Usa la cache finché è abbastanza recente, altrimenti legge lo shop. |
| fresh=live | Legge sempre lo shop, subito. |
| max_age=<secondi> | Usa la cache più recente di questa durata e rilegge subito i dati più vecchi. 0 legge sempre. Ha la precedenza su fresh. |
Ogni risposta contiene source
Da dove arrivano i dati, quanto sono vecchi e quanto sono costati.
| Campo | Tipo | Descrizione |
|---|---|---|
| shop | string | Shop id, e.g. "stockx". |
| fetchedAt | string (date-time) | When the data was fetched from the shop. |
| ageS | integer | Age of the data in seconds when it was served. |
| cached | boolean | True when served from the cache. |
| stale | boolean | True when served past its freshness window (circuit open). |
| credits | integer | Credits charged for this call. |
Gli importi sono sempre in centesimi
I prezzi sono oggetti con un importo intero in centesimi e un codice valuta ISO 4217: { "amountMinor": 12000, "currency": "USD" } vale 120,00 $.
| Campo | Tipo | Descrizione |
|---|---|---|
| amountMinor | integer | Amount in minor units of the currency (cents). |
| currency | string | ISO 4217 code. |
Header di risposta
| Nome | Descrizione |
|---|---|
| X-Request-Id | Request id, also in every problem body. |
| X-Credits-Used | Credits charged for this call. |
| X-Credits-Remaining | Credits left on the account. |
| X-Endpoint-Status | Present when the endpoint is not live: beta or deprecated. |
| Retry-After | Seconds to wait before retrying. |
Endpoint
52 endpoint, raggruppati per fonte. Gli endpoint in beta funzionano e sono fatturati, ma i loro campi possono ancora cambiare.
| Endpoint | Percorso | Stato | Crediti (cache / live) |
|---|---|---|---|
| Account · Consumo | GET /v2/usage | Attivo | — |
| Adidas · Prodotto | GET /v2/sites/adidas/product | Beta | 1 / 2 |
| Adidas · Ricerca | GET /v2/sites/adidas/search | Beta | 1 / 2 |
| Alias · Prodotto | GET /v2/sites/alias/product | Beta | 1 / 2 |
| Alias · Ricerca | GET /v2/sites/alias/search | Beta | 1 / 2 |
| Any shop · Prodotto | GET /v2/product | Beta | 1 / 3 |
| ASOS · Prodotto | GET /v2/sites/asos/product | Beta | 1 / 2 |
| ASOS · Ricerca | GET /v2/sites/asos/search | Beta | 1 / 2 |
| Best Buy · Prodotto | GET /v2/sites/bestbuy/product | Attivo | 1 / 3 |
| Best Buy · Ricerca | GET /v2/sites/bestbuy/search | Attivo | 1 / 3 |
| Chrono24 · Prodotto | GET /v2/sites/chrono24/product | Attivo | 1 / 2 |
| Chrono24 · Ricerca | GET /v2/sites/chrono24/search | Attivo | 1 / 2 |
| Dior · Prodotto | GET /v2/sites/dior/product | Attivo | 1 / 3 |
| Farfetch · Prodotto | GET /v2/sites/farfetch/product | Attivo | 1 / 3 |
| Farfetch · Ricerca | GET /v2/sites/farfetch/search | Beta | 1 / 3 |
| Flight Club · Prodotto | GET /v2/sites/flightclub/product | Beta | 1 / 2 |
| Flight Club · Ricerca | GET /v2/sites/flightclub/search | Beta | 1 / 2 |
| Forever 21 · Prodotto | GET /v2/sites/forever21/product | Attivo | 1 / 2 |
| Forever 21 · Ricerca | GET /v2/sites/forever21/search | Beta | 1 / 2 |
| GOAT · Prezzi in blocco | GET /v2/sites/goat/batch_prices | Attivo | 1 / 2 |
| GOAT · Prezzi | GET /v2/sites/goat/prices | Attivo | 1 / 2 |
| GOAT · Prodotto | GET /v2/sites/goat/product | Attivo | 1 / 2 |
| GOAT · Ricerca | GET /v2/sites/goat/search | Attivo | 1 / 2 |
| GOAT · Tendenze | GET /v2/sites/goat/trends | Attivo | 1 / 2 |
| H&M · Ricerca | GET /v2/sites/hm/search | Beta | 1 / 2 |
| KREAM · Prodotto | GET /v2/sites/kream/product | Beta | 1 / 2 |
| KREAM · Ricerca | GET /v2/sites/kream/search | Beta | 1 / 2 |
| Louis Vuitton · Prodotto | GET /v2/sites/louisvuitton/product | Beta | 1 / 3 |
| Louis Vuitton · Ricerca | GET /v2/sites/louisvuitton/search | Beta | 1 / 3 |
| Macy’s · Prodotto | GET /v2/sites/macys/product | Attivo | 1 / 3 |
| Macy’s · Ricerca | GET /v2/sites/macys/search | Beta | 1 / 3 |
| Nike · Prodotto | GET /v2/sites/nike/product | Attivo | 1 / 2 |
| Nike · Ricerca | GET /v2/sites/nike/search | Beta | 1 / 2 |
| Novelship · Prodotto | GET /v2/sites/novelship/product | Beta | 1 / 2 |
| Novelship · Ricerca | GET /v2/sites/novelship/search | Beta | 1 / 2 |
| Poizon · Prodotto | GET /v2/sites/poizon/product | Beta | 1 / 2 |
| Poizon · Ricerca | GET /v2/sites/poizon/search | Beta | 1 / 2 |
| Retailed · Storico prezzi | GET /v2/db/prices | Beta | 1 / 1 |
| Retailed · Offerte per prodotto | GET /v2/db/products | Beta | 1 / 1 |
| Sephora · Ricerca | GET /v2/sites/sephora/search | Beta | 1 / 2 |
| Stadium Goods · Prodotto | GET /v2/sites/stadiumgoods/product | Attivo | 1 / 2 |
| Stadium Goods · Ricerca | GET /v2/sites/stadiumgoods/search | Beta | 1 / 2 |
| StockX · Prezzi in blocco | GET /v2/sites/stockx/batch_prices | Attivo | 1 / 2 |
| StockX · Prodotto | GET /v2/sites/stockx/product | Attivo | 1 / 2 |
| StockX · Ricerca | GET /v2/sites/stockx/search | Attivo | 1 / 2 |
| StockX · Tendenze | GET /v2/sites/stockx/trends | Attivo | 1 / 2 |
| Uniqlo · Prodotto | GET /v2/sites/uniqlo/product | Attivo | 1 / 2 |
| Uniqlo · Ricerca | GET /v2/sites/uniqlo/search | Beta | 1 / 2 |
| Zalando · Prodotto | GET /v2/sites/zalando/product | Attivo | 1 / 2 |
| Zalando · Ricerca | GET /v2/sites/zalando/search | Beta | 1 / 2 |
| Zara · Prodotto | GET /v2/sites/zara/product | Attivo | 1 / 2 |
| Zara · Ricerca | GET /v2/sites/zara/search | Beta | 1 / 2 |
Letta dall’API in questo momento. Specifica letta: 26 novembre 2026.