GOAT sales daily
BetaGET
/v2/sites/goat/sales_daily- Auth
- x-api-key
- Cost
- 1 cached · 2 live
- Cache window
- 1 h
Example
curl --request GET \
'https://api.retailed.io/v2/sites/goat/sales_daily?id=1731794' \
--header 'x-api-key: <token>'{
"productId": "string",
"days": [
{
"date": "string",
"orders": 0,
"average": {
"amountMinor": 0,
"currency": "USD"
}
}
],
"nextCursor": "string",
"source": {
"shop": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"ageS": 0,
"cached": false,
"stale": false,
"credits": 0
}
}Shape of the answer, with placeholder values.
Query parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string | Required: the GOAT product id, a number (externalId on goat.product or goat.search). |
| cursor | string (date) | Older days: the nextCursor of the previous page (YYYY-MM-DD). |
| country | string | Market of the sales: US or HK. US by default. One of US, HK. Default US. |
| fresh | string | cache (default) serves cached data when fresh; live always fetches. One of cache, live. Default 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. |
Response
200 answers a SalesDaily object.
| Field | Type | Description |
|---|---|---|
| productId | string | The marketplace's product id. |
| days | SalesDay[] | Newest day first; days without a sale are left out. |
| days[].date | string (date) | The day (UTC). |
| days[].orders | integer | Sales that day. |
| days[].average | Money | Average sale price that day. |
| days[].average.amountMinor | integer | Amount in minor units of the currency (cents). |
| days[].average.currency | string | ISO 4217 code. |
| nextCursor | string | null | Pass as cursor for the next, older page; null on the last page. |
| 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. |
Errors
| Status | When |
|---|---|
| 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. |