API Reference
Access retailer inventory and StockX / GOAT market data, and manage StockX and GOAT listings, costs and orders with an API key.
https://api.sneakers.itbanque.comX-API-KeyJSONThe API covers two kinds of work. Data endpoints read retailer inventory and SKU history, plus StockX and GOAT market quotes. StockX account and GOAT account endpoints act on your linked seller accounts: create listings, reprice, delist, manage acquisition costs and read orders.
Every endpoint uses the same API key, accepts and returns JSON (CSV uploads use multipart/form-data), and applies the rate limits of the account that owns the key.
Authentication
Send your key in the X-API-Key header on every request. The backend resolves it to the owning account and applies that account's rate limits and platform connections. Keys are per user; one key works for every endpoint on this page.
Generate a key
- Sign in and open /account.
- In API Keys, click
Generate New Key. - Optionally add a label that identifies where the key is used.
- Click
Createand copy the token. It is shown only once.
Revoke a key from the same page at any time. Revocation takes effect immediately, and requests with that key return 401.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v1/inventory/search?brand=Nike&limit=5&offset=0' \
--header 'X-API-Key: sr_live_your_api_key'{ "detail": "Not authenticated" }Conventions
These rules apply across endpoints. Handle them once in your client wrapper.
Rate limits
Limits are counted per endpoint. Endpoints that work on a StockX connection count against the quota configured on that connection, which also has a daily request cap; other endpoints use the account-level quota, 30 requests per 60 seconds per endpoint by default. Over the limit returns 429 with a Retry-After header in seconds.
Multiple StockX accounts
When several StockX accounts are linked, pass the connection_id query parameter to choose which one handles the call; endpoints that support it list it among their parameters. Omit it to use the default connection. Bulk jobs run on the default connection.
Asynchronous jobs
Bulk operations (CSV upload, CSV unlist, clear all and order sync on StockX; CSV upload and clear all on GOAT) run in a background queue. They return a task ID right away; poll the matching status endpoint until the job finishes.
Errors
Errors return a non-2xx status and a JSON body with a detail field: a message string, or a list of field errors for 422.
| Status | Meaning |
|---|---|
400 | Invalid request: pagination beyond your account limit, a CSV missing required columns, an unknown retailer, no usable StockX connection, or the connection's daily request cap is reached.{ "detail": "Missing required columns: amount, quantity" } |
401 | The X-API-Key header is missing, or the key is invalid or revoked.{ "detail": "Not authenticated" } |
403 | The account does not have access to this endpoint.{ "detail": "GOAT access is not enabled for this user" } |
404 | The style code, size, SKU or record was not found. Cost endpoints also return 404 when no StockX account is linked.{ "detail": "No variant found for styleId=DZ5485-612 size=10" } |
409 | Keep-listing mode skipped this listing, the endpoint needs a GOAT account that is not linked, or a GOAT bulk job is already running on the account.{ "detail": "Listing skipped: existing cost 200 is not higher than 180" } |
422 | A parameter has the wrong type or is outside its allowed range. detail lists each failing field.{ "detail": [{ "loc": ["query", "hours"], "msg": "Input should be less than or equal to 8760" }] } |
429 | Rate limit exceeded. Wait for the number of seconds in Retry-After. GOAT listing endpoints also return 429 when GOAT itself throttles the account.{ "detail": "Too Many Requests" } |
502 | The request to StockX or GOAT failed; detail carries the upstream error.{ "detail": "StockX v2 listing create failed: ..." } |
504 | StockX did not respond in time.{ "detail": "StockX is not responding right now — please try again in a few minutes." } |
Retry 429, 502 and 504 with exponential backoff. Do not retry 400, 401, 403, 409 or 422 unchanged: fix the request, the key or the account access first.
Search retailer inventory
/v1/inventory/searchReturns a paginated list of SKUs matching your filters, each with product metadata and the latest stock level at every tracked location. Pagination is per SKU: one page holds N SKUs, each with all of its location rows.
limit is always capped by your account's max_page_size. When you pass retailer and the account has provider access for it, offset is unrestricted; otherwise offset is also capped by max_page_number, and requests outside either bound return 400.Query parameters
style_colorstringoptionalPartial match on the product style / color code.
brandstringoptionalPartial match on brand.
retailerstringoptionalPartial match on retailer code or name.
sizestringoptionalExact match on the normalized size.
retailer_skustringoptionalPartial match on the retailer SKU.
supplier_skustringoptionalPartial match on the supplier SKU.
qstringoptionalBroad search across style color, brand, retailer, size, title, retailer SKU and supplier SKU.
limitintegeroptionalPage size, default 9. Capped at your account's
max_page_size.offsetintegeroptionalRow offset, default 0. Unrestricted with provider access; otherwise at most
(max_page_number - 1) × max_page_size.
Response fields
total_skusTotal matching SKUs before pagination.
countItems in this page.
limit / offsetThe page size and offset that were applied.
has_next_pagetruewhen more results follow.itemsResult objects.
idInternal SKU ID.
retailerRetailer code, e.g. NIKE, JD_SPORTS, FOOTLOCKER.
sizeNormalized size.
retailer_sku / supplier_skuRetailer SKU, and supplier SKU when available.
titleTitle captured from the retailer.
original_price / priceOriginal and current price when available.
coupon_code_eligibleWhether the retailer's coupon codes apply to this SKU, when known.
idInternal product ID.
style_colorStyle / color code.
brand / model_nameBrand and model name.
genderNormalized gender when available.
location_codeStore or region code.
stock_levelLatest stock level: HIGH, MEDIUM, LOW, OOS or IN_STOCK.
as_ofTime of the latest snapshot for that location (ISO 8601).
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v1/inventory/search?brand=Nike&limit=2&offset=0' \
--header 'X-API-Key: sr_live_your_api_key'{
"total_skus": 1284,
"count": 2,
"limit": 2,
"offset": 0,
"has_next_page": true,
"items": [
{
"sku": {
"id": 184221,
"retailer": "NIKE",
"size": "10.0",
"retailer_sku": "HF1234-100",
"supplier_sku": "HF1234",
"title": "Nike Air Max 1 White University Red",
"original_price": 140.0,
"price": 119.99,
"coupon_code_eligible": true
},
"product": {
"id": 55120,
"style_color": "HF1234-100",
"brand": "Nike",
"model_name": "Air Max 1",
"gender": "MEN"
},
"inventory": [
{ "location_code": "CA-ON", "stock_level": "HIGH", "as_of": "2026-04-30T14:52:18+00:00" },
{ "location_code": "US-NY", "stock_level": "LOW", "as_of": "2026-04-30T14:52:18+00:00" }
]
}
]
}Get SKU stock history
/v1/reporting/retailers/{retailer}/skus/{retailer_sku}/historyReturns the stock history of one SKU at one retailer, newest first. Each record has the stock level, location, snapshot time and the price captured at that time.
An unknown retailer returns 400; a SKU the retailer does not have returns 404.
hours. Otherwise the number of records is capped by your account's sku_history limit.Path parameters
retailerstringrequiredRetailer code, e.g. DICKS, NIKE, JD_SPORTS.
retailer_skustringrequiredThe retailer's SKU.
Query parameters
hoursintegeroptionalLook-back window in hours, 1–8760. Default 168 (7 days).
Response fields
retailerRetailer code.
cutoff_tsStart of the look-back window (ISO 8601).
skuBasic SKU information.
historyStock records, newest first.
countRecords returned.
limitRecord cap applied;
nullwith provider access.has_moretruewhen older records exist beyond the cap.
stock_levelStock level: HIGH, MEDIUM, LOW, OOS or IN_STOCK.
locationStore or region code.
record_created_atSnapshot time (ISO 8601).
price / original_priceCurrent and original price captured at that time, when available.
coupon_code_eligibleWhether coupon codes applied at that time, when known.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v1/reporting/retailers/DICKS/skus/11943996/history?hours=4320' \
--header 'X-API-Key: sr_live_your_api_key'{
"retailer": "DICKS",
"cutoff_ts": "2026-04-01T00:00:00+00:00",
"sku": {
"retailer_sku": "11943996",
"size": "10.0",
"style_color": "HF1234-100",
"model_name": "Air Max 1",
"brand": "Nike"
},
"history": [
{
"stock_level": "HIGH",
"location": "US-EAST",
"record_created_at": "2026-04-28T09:14:00+00:00",
"price": 119.99,
"original_price": 140.0,
"coupon_code_eligible": true
},
{
"stock_level": "LOW",
"location": "US-EAST",
"record_created_at": "2026-04-21T07:30:00+00:00",
"price": 119.99,
"original_price": 140.0,
"coupon_code_eligible": true
}
],
"count": 2,
"limit": 5,
"has_more": false
}Market data
Per-size quotes for a style code on StockX and GOAT. Both search endpoints return the same shape, { platform, style_id, fetched_at, variants }, read through a shared cache first and fetch live on a miss. Use fetched_at to judge freshness.
Get StockX quotes by style code
/v2/stockx/market/searchReturns the lowest ask and highest bid for every size of a style code. Reads Redis, then the database, then StockX live; cache hits do not use StockX quota. Freshness follows the account's market_cache_max_age_minutes setting, 60 minutes by default.
The style code is matched exactly, ignoring case and surrounding spaces. Prices are in the account's StockX market currency.
404. An unknown style code returns 404 and a StockX failure returns 502.Query parameters
style_idstringrequiredStyle code, e.g. DZ5485-612.
sizestringoptionalReturn one size only. Must match
^\d+(\.\d+)?$, e.g. 10 or 10.5.forcebooleanoptionalDefault
false.trueskips every cache and fetches from StockX, using quota.
Response fields
platformAlways
stockx.style_idThe requested style code.
fetched_atWhen the data was fetched from StockX (ISO 8601), not the time of this request.
variantsOne entry per size. Variants without a size are left out.
sizeSize, as a string.
lowestAskCurrent lowest ask, or
null.highestBidCurrent highest bid, or
null.lastSaleAlways
null: StockX does not provide it here.currencyCurrency code.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/market/search?style_id=DZ5485-612' \
--header 'X-API-Key: sr_live_your_api_key'{
"platform": "stockx",
"style_id": "DZ5485-612",
"fetched_at": "2026-07-27T10:00:00+00:00",
"variants": [
{ "size": "10", "lowestAsk": 250, "highestBid": 210, "lastSale": null, "currency": "USD" },
{ "size": "10.5", "lowestAsk": 268, "highestBid": 205, "lastSale": null, "currency": "USD" }
]
}List recently quoted style codes
/v2/stockx/market/hotReturns style codes whose StockX quotes were recently fetched through SneakersRadar and are still cached, most recently fetched first. Useful as a candidate pool or to warm your own cache.
Query parameters
limitintegeroptionalPage size, 1–100, default 20.
pageintegeroptionalPage number, starting at 1.
Response fields
itemsStyle codes. A page can hold fewer than
limitentries when a cached product has no style code.total / pagesCached products and page count.
page / limitThe pagination that was applied.
has_next / has_prevWhether adjacent pages exist.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/market/hot?limit=20&page=1' \
--header 'X-API-Key: sr_live_your_api_key'{
"items": ["DZ5485-612", "FQ1759-100", "DD1391-100"],
"total": 412,
"page": 1,
"limit": 20,
"pages": 21,
"has_next": true,
"has_prev": false
}Get a live quote for one size
/v2/stockx/catalog/products/{product_id}/variants/{variant_id}/market-dataWhen you already hold productId and variantId, use this for a live quote of one size. It always calls StockX (and refreshes the shared cache).
Path parameters
product_idstringrequiredStockX product ID.
variant_idstringrequiredStockX size variant ID.
Query parameters
currency_codestringoptionalCurrency. Defaults to the account's StockX market currency.
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Response
Returns StockX's market data object for the variant as received.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/catalog/products/0f6b2a7e-9d1c-4f3e-8a55-2c7d9e1b4a60/variants/1a2b3c4d-5e6f-7890-abcd-ef1234567890/market-data?currency_code=USD' \
--header 'X-API-Key: sr_live_your_api_key'StockX listings
Create, reprice and take down listings on your linked StockX seller account. Single-item calls go straight to StockX; bulk operations run as asynchronous jobs.
Three ways to list: by style code and size (the backend resolves the variant), by a variantId you already have, or in bulk from a CSV. Deactivating keeps a listing so it can come back; deleting is permanent.
400.Create a listing by style code
/v2/stockx/simple-listingSend a style code and size; the backend resolves the variant through the StockX catalog and lists it. Returns 201, or 404 when no variant matches.
Body parameters
styleIdstringrequiredStyle code.
sizestringrequiredSize, e.g. 10 or 10.5.
amountstringrequiredAsk price, rounded to a whole number (halves round to even).
costnumberoptionalAcquisition cost, rounded to a whole number and stored for profit tracking and smart pricing.
currencyCodestringoptionalCurrency. Defaults to the account's StockX market currency.
expiresAtstringoptionalExpiry, ISO 8601. Omit for the StockX default.
activebooleanoptionalDefault
true.falsecreates the listing without going live.inventoryTypestringoptionalInventory type, passed through to StockX.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Keep-listing mode
When the account has keep_listing_mode enabled and a cost record already exists for the same style code and size, no listing is created. Depending on the mode and the two costs, the call either returns 409 (skipped) or updates the stored cost and returns { "ok": true }.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/simple-listing' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{
"styleId": "DZ5485-612",
"size": "10",
"amount": "250",
"cost": 180
}'{ "ok": true }Create a listing by variantId
/v2/stockx/listingsLists a specific variantId without resolving a style code. To store a cost record as well, send cost, styleId and size together; if any is missing no cost is written. Returns 201.
Body parameters
variantIdstringrequiredStockX size variant ID.
amountstringrequiredAsk price, rounded to a whole number.
currencyCodestringoptionalCurrency. Defaults to the account's StockX market currency.
expiresAtstringoptionalExpiry, ISO 8601.
activebooleanoptionalDefault
true.inventoryTypestringoptionalInventory type, passed through to StockX.
costnumberoptionalAcquisition cost, rounded to a whole number. Stored only with
styleIdandsize.styleIdstringoptionalStyle code, used only for the cost record.
sizestringoptionalSize, used only for the cost record.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Keep-listing mode
When the account has keep_listing_mode enabled and a cost record already exists for the same style code and size, no listing is created. Depending on the mode and the two costs, the call either returns 409 (skipped) or updates the stored cost and returns { "ok": true }.
Response
Returns StockX's create-listing response as received, or { "ok": true } when keep-listing mode updated the cost instead of listing.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{
"variantId": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"amount": "250",
"currencyCode": "USD",
"active": true,
"cost": 180,
"styleId": "DZ5485-612",
"size": "10"
}'Search the StockX catalog
/v2/stockx/catalog/searchStep one of finding a variantId: search by style code to get the productId, then list its sizes.
Query parameters
qstringrequiredSearch text, usually a style code.
page_numberintegeroptionalPage number, default 1.
page_sizeintegeroptionalResults per page, default 10.
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Response
Returns StockX's catalog search response as received.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/catalog/search?q=DZ5485-612&page_number=1&page_size=10' \
--header 'X-API-Key: sr_live_your_api_key'List a product's size variants
/v2/stockx/catalog/products/{product_id}/variantsReturns every size variant of a product, with the variantId you list against. Pass style_id as well so the backend caches the product and its sizes; later quote calls then hit the cache.
Path parameters
product_idstringrequiredStockX product ID from the catalog search.
Query parameters
style_idstringoptionalStyle code. When present, the product and its sizes are cached.
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Response
Returns StockX's variant list as received.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/catalog/products/0f6b2a7e-9d1c-4f3e-8a55-2c7d9e1b4a60/variants?style_id=DZ5485-612' \
--header 'X-API-Key: sr_live_your_api_key'Upload listings from a CSV
/v2/stockx/listings/uploadUploads a CSV and returns a task ID; listing happens in a background queue, batch by batch. Validate first to check row counts and duplicates without listing anything.
Form fields
filefilerequiredThe CSV, sent as
multipart/form-dataunder the field namefile. Only.csvis accepted.
Query parameters
batch_sizeintegeroptionalRows per batch, 1–10000. Defaults to the account setting (40). Out of range returns
400.
CSV format
Required columns: sku, size, quantity, amount, cost. A missing column returns 400 naming it. Rows with the same style code and size are merged, keeping the lowest cost. Costs are rounded to whole numbers.
Related endpoints
- POST
/v2/stockx/listings/upload/validateSame file, nothing listed. Returns
filename,total_rows,valid_rows,invalid_rowsandduplicate_rows. - GET
/v2/stockx/listings/upload/{task_id}Job progress:
{ taskId, status, result }. - GET
/v2/stockx/listings/upload/unmatchedRows that could not be matched to a variant:
{ items }.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/upload?batch_size=50' \
--header 'X-API-Key: sr_live_your_api_key' \
--form 'file=@listings.csv'sku,size,quantity,amount,cost
DZ5485-612,10,1,250,180
DZ5485-612,10.5,2,268,180
DM7866-140,9.5,1,190,120{
"taskId": "9c1f2b60-6f1e-4a2e-8d2f-77a2f1c0b3ee",
"status": "queued",
"filename": "listings.csv",
"processedRows": 3,
"batchSize": 50
}Update a listing
/v2/stockx/listings/{listing_id}Changes an existing listing in place. Every body field is optional: send only amount for a pure reprice.
Path parameters
listing_idstringrequiredListing to change.
Body parameters
amountstringoptionalNew ask price, rounded to a whole number.
currencyCodestringoptionalCurrency.
expiresAtstringoptionalNew expiry, ISO 8601.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
curl --request PATCH \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/L-1001' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{ "amount": "260" }'List your listings
/v2/stockx/listingsFetches your listings from StockX live. Each ACTIVE listing also carries cost from your cost store and netPrice, the proceeds after the account's configured fees (USD markets only, otherwise null). Use it to find listing_id before repricing.
sku must match a style code already cached for your account (exact, case-sensitive); otherwise the call returns 404. A StockX timeout returns 504.Query parameters
page_numberintegeroptionalPage number, default 1.
page_sizeintegeroptionalRows per page, default 100.
listing_statusesstringoptionalStatus filter, default ACTIVE.
skustringoptionalFilter by style code.
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Related endpoints
- GET
/v2/stockx/listings/{listing_id}One listing.
- GET
/v2/stockx/listings/{listing_id}/operations/{operation_id}Result of an asynchronous StockX operation on a listing.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings?page_number=1&page_size=100&listing_statuses=ACTIVE&sku=DZ5485-612' \
--header 'X-API-Key: sr_live_your_api_key'Deactivate a listing
/v2/stockx/listings/{listing_id}/deactivateTakes the listing off the market but keeps it, so it can be activated again.
Path parameters
listing_idstringrequiredListing to deactivate.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
curl --request PUT \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/L-1001/deactivate' \
--header 'X-API-Key: sr_live_your_api_key'Activate a listing
/v2/stockx/listings/{listing_id}/activatePuts a deactivated listing back on the market. The body is optional: send amount to go live at a new price, or omit it to restore the original price.
Path parameters
listing_idstringrequiredListing to activate.
Body parameters
amountstringoptionalNew ask price.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
curl --request PUT \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/L-1001/activate' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{ "amount": "240" }'Delete a listing
/v2/stockx/listings/{listing_id}Permanently removes a listing. Pass variant_id to also delete the cost records for that variant on this connection.
Path parameters
listing_idstringrequiredListing to delete.
Query parameters
variant_idstringoptionalAlso delete this variant's cost records.
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
curl --request DELETE \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/L-1001?variant_id=1a2b3c4d-5e6f-7890-abcd-ef1234567890' \
--header 'X-API-Key: sr_live_your_api_key'Delete listings in a batch
/v2/stockx/batch/delete-listingSubmits all items to StockX in one batch request. Each item needs listingId; when variantId is present, that variant's cost records are deleted right away. For larger sets, use the CSV unlist.
Body parameters
itemsarrayrequiredListings to delete:
{ listingId, variantId? }.
Query parameters
connection_idintegeroptionalStockX connection to use. Defaults to your default connection.
Response
Returns StockX's batch response as received.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/batch/delete-listing' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{
"items": [
{
"listingId": "L-1001",
"variantId": "1a2b3c4d-5e6f-7890-abcd-ef1234567890"
},
{
"listingId": "L-1002"
}
]
}'Unlist from a CSV
/v2/stockx/listings/unlistUploads a CSV of listings to take down and returns a task ID; the work runs in a background queue.
Form fields
filefilerequiredThe CSV, sent under the field name
file.
CSV format
Two row shapes, which can be mixed in one file. Rows with listing_id delist exactly that listing, so an exported listing CSV works as is. Rows without it fall back to sku (or style_id) plus size, matched against your ACTIVE listings; every match is delisted. Rows with a style code but no size are skipped, and duplicates are removed. A file with neither shape returns 400.
Related endpoints
- GET
/v2/stockx/listings/unlist/{task_id}Job progress.
- POST
/v2/stockx/listings/unlist/cancelCancel your running unlist job. Returns
{ cancelled, result }.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/unlist' \
--header 'X-API-Key: sr_live_your_api_key' \
--form 'file=@unlist.csv'listing_id,variant_id
L-1001,1a2b3c4d-5e6f-7890-abcd-ef1234567890
L-1002,
# or match by style code and size:
sku,size
DZ5485-612,10{
"taskId": "3f8ab21c-0d4e-4d51-9a0e-2b7a5f0c11de",
"status": "queued",
"filename": "unlist.csv",
"processedRows": 3,
"duplicateRowsRemoved": 0,
"resolveRows": 1
}Clear all active listings
/v2/stockx/listings/clear-allDeletes every active listing in scope and returns a task ID. The scope comes from the account's clear_all_scope setting (all or platform). This cannot be undone.
Related endpoints
- GET
/v2/stockx/listings/clear-all/{task_id}Job progress.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/listings/clear-all' \
--header 'X-API-Key: sr_live_your_api_key'StockX costs
A cost record holds your acquisition cost for one style code, size and variantId on a StockX connection. It feeds cost on the listings endpoint, the unprofitable-listing scan and the price floor for smart pricing. The cost field on the create-listing endpoints writes here.
404.Create or overwrite a cost
/v2/stockx/costFinds the record by styleId, size and variantId: an existing record has its cost overwritten, otherwise a new one is created. All four body fields are required.
Body parameters
styleIdstringrequiredStyle code.
sizestringrequiredSize.
variantIdstringrequiredStockX size variant ID.
costnumberrequiredAcquisition cost, stored as sent.
Query parameters
connection_idintegeroptionalStockX connection the records belong to. Defaults to your default connection.
curl --request PATCH \
--url 'https://api.sneakers.itbanque.com/v2/stockx/cost' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{
"styleId": "DZ5485-612",
"size": "10",
"variantId": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"cost": 180
}'{ "ok": true }List costs
/v2/stockx/costsReturns cost records for the connection, newest first.
Query parameters
pageintegeroptionalPage number, default 1. Values below 1 are treated as 1.
page_sizeintegeroptionalRows per page, 1–200. Values outside the range fall back to 50.
style_idstringoptionalPartial match on style code.
connection_idintegeroptionalStockX connection the records belong to. Defaults to your default connection.
Response fields
idCost record ID, used to edit a single record.
style_id / size / variant_idThe size this cost applies to.
costAcquisition cost.
is_activeWhether it feeds profit figures and smart pricing.
updated_atLast update time.
totalTotal matching records.
page / page_sizeThe pagination that was applied.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/costs?page=1&page_size=50&style_id=DZ5485' \
--header 'X-API-Key: sr_live_your_api_key'{
"items": [
{
"id": 4417,
"style_id": "DZ5485-612",
"size": "10",
"variant_id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"cost": 180.0,
"is_active": true,
"updated_at": "2026-07-25T08:12:44+00:00"
}
],
"total": 1284,
"page": 1,
"page_size": 50
}Import costs from a CSV
/v2/stockx/costs/importProcessed synchronously: the import is finished when the request returns. Rows are upserted, overwriting the cost of existing records.
Form fields
filefilerequiredThe CSV, sent under the field name
file.
Query parameters
connection_idintegeroptionalStockX connection the records belong to. Defaults to your default connection.
CSV format
Required columns: style_id, size, variant_id, cost. A missing column returns 400 naming it. Unlike the listing CSV, variant_id is required here. Costs are rounded to whole numbers.
When a style code, size and variantId appear more than once in the file, the lowest cost wins. Rows with an empty required field or an unreadable cost are skipped.
Response fields
total_rowsRows in the file.
importedRecords written after de-duplication.
skippedRows not written.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/costs/import' \
--header 'X-API-Key: sr_live_your_api_key' \
--form 'file=@costs.csv'style_id,size,variant_id,cost
DZ5485-612,10,1a2b3c4d-5e6f-7890-abcd-ef1234567890,180
DZ5485-612,10.5,2b3c4d5e-6f70-8901-bcde-f12345678901,185
DM7866-140,9.5,3c4d5e6f-7081-9012-cdef-123456789012,120{
"total_rows": 3,
"imported": 3,
"skipped": 0
}Edit a cost record
/v2/stockx/costs/{cost_id}Both body fields are optional; send only what changes. Setting is_active to false keeps the record but takes it out of profit figures and smart pricing. Returns 404 if the record does not exist on this connection.
Path parameters
cost_idintegerrequiredCost record ID, from the list endpoint.
Body parameters
costnumberoptionalNew cost.
is_activebooleanoptionalWhether it feeds profit figures and smart pricing.
Query parameters
connection_idintegeroptionalStockX connection the records belong to. Defaults to your default connection.
curl --request PATCH \
--url 'https://api.sneakers.itbanque.com/v2/stockx/costs/4417' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{ "cost": 175, "is_active": false }'{ "ok": true }Delete all cost records
/v2/stockx/costsDeletes every cost record on the connection. Listings are not affected. This cannot be undone.
Query parameters
connection_idintegeroptionalStockX connection the records belong to. Defaults to your default connection.
curl --request DELETE \
--url 'https://api.sneakers.itbanque.com/v2/stockx/costs' \
--header 'X-API-Key: sr_live_your_api_key'{ "ok": true, "deleted": 1284 }StockX orders
Order endpoints read a locally synced copy of your StockX orders, not StockX live. To see the latest orders, start a sync and query once the job finishes.
Sync orders from StockX
/v2/stockx/orders/syncStarts an asynchronous sync and returns a task ID right away. Returns 400 when the account has no active StockX connection.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/stockx/orders/sync' \
--header 'X-API-Key: sr_live_your_api_key'{
"task_id": "5b7c9e01-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"status": "queued"
}List orders
/v2/stockx/ordersReturns synced orders, newest first, with product, size and payout details.
Query parameters
pageintegeroptionalPage number, starting at 1. Default 1.
page_sizeintegeroptionalRows per page, 1–200, default 50.
order_statusstringoptionalStatus filter, case-insensitive, e.g. COMPLETED or SHIPPED.
from_datedateoptionalStart date, YYYY-MM-DD, on order creation time.
to_datedateoptionalEnd date, YYYY-MM-DD.
searchstringoptionalPartial match on product name.
Response fields
idLocal record ID.
order_numberStockX order number.
listing_idThe listing the order came from.
status / auth_statusOrder status and authentication status.
inventory_typeInventory type.
product_id / product_nameStockX product ID and name.
style_idStyle code.
variant_id / variant_name / variant_valueSize variant ID, name and size.
amount / currency_codeOrder amount and currency.
sale_priceSale price.
total_adjustmentsSum of fee adjustments, usually negative.
total_payout / payout_currencyNet payout after fees, and its currency.
order_created_at / order_updated_atOrder creation and last update time (ISO 8601).
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/orders?page=1&page_size=50&order_status=COMPLETED' \
--header 'X-API-Key: sr_live_your_api_key'{
"total": 128,
"page": 1,
"page_size": 50,
"orders": [
{
"id": 90210,
"order_number": "40012345-40012345",
"listing_id": "L-1001",
"amount": 250.0,
"currency_code": "USD",
"status": "COMPLETED",
"inventory_type": "STANDARD",
"order_created_at": "2026-07-20T14:05:11+00:00",
"order_updated_at": "2026-07-22T09:31:02+00:00",
"product_id": "0f6b2a7e-9d1c-4f3e-8a55-2c7d9e1b4a60",
"product_name": "Jordan 1 Retro High OG Chicago",
"style_id": "DZ5485-612",
"variant_id": "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
"variant_name": "Jordan 1 Retro High OG Chicago:10",
"variant_value": "10",
"total_payout": 213.75,
"sale_price": 250.0,
"total_adjustments": -36.25,
"payout_currency": "USD",
"auth_status": "PASSED"
}
]
}Get order analytics
/v2/stockx/orders/analyticsAggregates the synced orders into a summary, the top 10 products and brands, a sales trend and a status breakdown. Brands are derived from product names.
Query parameters
from_datedateoptionalStart date, YYYY-MM-DD.
to_datedateoptionalEnd date, YYYY-MM-DD.
granularitystringoptionalTrend bucket:
daily,weeklyormonthly(default). Other values fall back tomonthly.
Response fields
total_ordersOrder count.
total_revenueTotal payout received.
avg_payoutAverage payout per order.
total_feesTotal fees.
top_productsTop 10 products by units, with revenue and average payout.
top_brandsTop 10 brands by units; unrecognized names count as
Other.sales_trendUnits and revenue per period. Periods look like
2026-06-01(daily),2026-23(ISO week) or2026-06(monthly).status_breakdownOrder count per status.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/stockx/orders/analytics?from_date=2026-01-01&to_date=2026-07-27&granularity=monthly' \
--header 'X-API-Key: sr_live_your_api_key'{
"summary": {
"total_orders": 128,
"total_revenue": 27360.5,
"avg_payout": 213.75,
"total_fees": 4640.0
},
"top_products": [
{
"product_name": "Jordan 1 Retro High OG Chicago",
"style_id": "DZ5485-612",
"units_sold": 14,
"total_revenue": 2992.5,
"avg_payout": 213.75
}
],
"top_brands": [
{ "brand": "Jordan", "units_sold": 42, "total_revenue": 8977.5 }
],
"sales_trend": [
{ "period": "2026-06", "units": 21, "revenue": 4488.75 }
],
"status_breakdown": [
{ "status": "COMPLETED", "count": 118 },
{ "status": "SHIPPED", "count": 10 }
]
}Get GOAT quotes by style code
/v2/goat/market/searchReturns per-size GOAT prices for a style code, in the same shape as StockX quotes. Reads the shared cache first (default 1 hour) and fetches from GOAT on a miss. Requires a linked GOAT account.
Depending on how the GOAT account is connected, a size can appear more than once, one entry per condition, packaging and region, with the extra fields listed below.
409, an unknown style code returns 404, and a GOAT failure returns 502.Query parameters
style_idstringrequiredStyle code, e.g. U9060JBR. Used to search the GOAT catalog.
Response fields
sizeSize, as a string.
lowestAskCurrent lowest listing price, or
nullwhen nothing is listed.highestBidHighest open offer, or
nullwhen unavailable.lastSaleMost recent sale price, or
null.currencyCurrency code.
highDemandPriceGOAT's high-demand price for the size, or
null.productConditionProduct condition of this entry, e.g. NEW or USED.
packagingConditionPackaging condition of this entry.
regionIdGOAT region of this entry.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/market/search?style_id=U9060JBR' \
--header 'X-API-Key: sr_live_your_api_key'{
"platform": "goat",
"style_id": "U9060JBR",
"fetched_at": "2026-05-07T12:34:56.789000+00:00",
"variants": [
{ "size": "9", "lowestAsk": 197.0, "highestBid": null, "lastSale": 198.0, "currency": "USD" },
{ "size": "9.5", "lowestAsk": 294.0, "highestBid": null, "lastSale": null, "currency": "USD" }
]
}GOAT listings
Create, reprice and take down listings on your linked GOAT seller account. Single-item calls go straight to GOAT; the CSV upload and clear-all run as asynchronous jobs, one bulk job per account at a time.
GOAT identifies a product by its catalog ID, not by style code: search the catalog first, then list against the id it returns. Prices are in cents (priceCents); costs are in dollars.
The collection paths end in a slash: /v2/goat/listings/. Without it the server answers 307 to the slashed path.
409. When GOAT throttles the account they return 429; any other GOAT failure returns 502 with the upstream error in detail.Search the GOAT catalog
/v2/goat/catalog/searchFinds products by style code or name. Each result carries the id you list against and the sizes GOAT sells it in.
Query parameters
querystringrequiredSearch text, usually a style code.
limitintegeroptionalMaximum results, default 20.
Response fields
id / slugGOAT catalog ID. Send it as
catalogIdwhen listing.title / sku / brandProduct name, style code and brand.
product_category / special_typeGOAT's category and product type.
image_urlProduct image, or
null.sizes[]Available sizes: the label GOAT shows (
presentation) and the numeric size (value) to send assize.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/catalog/search?query=DZ5485+612&limit=20' \
--header 'X-API-Key: sr_live_your_api_key'{
"catalog_items": [
{
"id": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"slug": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"title": "Air Jordan 1 Retro High OG 'Chicago'",
"sku": "DZ5485 612",
"brand": "Air Jordan",
"product_category": "shoes",
"special_type": "standard",
"image_url": null,
"sizes": [
{ "presentation": "9", "value": 9.0 },
{ "presentation": "10", "value": 10.0 }
]
}
]
}Create a listing
/v2/goat/listings/Lists one pair of a catalog product at a price and size, and puts it on sale unless activate is false.
Send sku as well: when the account already holds an unpriced listing for the same product and size, that listing is priced and activated instead of creating a duplicate.
Body parameters
catalogIdstringrequiredGOAT catalog ID, from the catalog search.
priceCentsintegerrequiredListing price in cents, e.g. 21000 for $210.
sizenumberrequiredSize, e.g. 10 or 10.5.
skustringoptionalStyle code, e.g. DZ5485 612. Used to find a reusable unpriced listing and stored with the cost.
sizeUnitstringoptionalDefault
SIZE_UNIT_US. AlsoSIZE_UNIT_UK,SIZE_UNIT_EU,SIZE_UNIT_FR,SIZE_UNIT_IT,SIZE_UNIT_JP,SIZE_UNIT_NO_SIZE.conditionstringoptionalDefault
CONDITION_NEW.packagingConditionstringoptionalDefault
PACKAGING_CONDITION_GOOD_CONDITION.activatebooleanoptionalDefault
true.falsecreates the listing without putting it on sale.costnumberoptionalAcquisition cost in dollars, rounded to a whole number and stored as a cost record. Not sent to GOAT.
Response fields
id / listingIdGOAT listing ID (the same value under both keys).
statusListing status as GOAT reports it, e.g.
activeorinactive.price_centsListing price in cents.
size / size_unitSize as a number, and its unit (also under
sizeUnit).catalog_id / sku / nameThe product: GOAT catalog ID (also under
catalogId), style code and name.condition / product_condition / packaging_conditionProduct and packaging condition.
consignedWhether the pair is consigned with GOAT.
fulfillment_methodHow the order is fulfilled.
activated_atWhen the listing last went live (ISO 8601).
image_urlProduct image, or
null.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{
"catalogId": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"sku": "DZ5485 612",
"priceCents": 21000,
"size": 10,
"cost": 120
}'{
"listing": {
"id": "air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24",
"listingId": "air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24",
"status": "active",
"price_cents": 21000,
"condition": 1,
"product_condition": "PRODUCT_CONDITION_NEW",
"packaging_condition": "PACKAGING_CONDITION_GOOD_CONDITION",
"consigned": false,
"size": 10.0,
"size_unit": "us",
"sizeUnit": "us",
"fulfillment_method": "SHIP_TO_VERIFY",
"activated_at": "2026-11-10T20:01:00.186472+00:00",
"catalog_id": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"catalogId": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"sku": "DZ5485 612",
"name": "Air Jordan 1 Retro High OG 'Chicago'",
"image_url": null
}
}Upload listings from a CSV
/v2/goat/listings/uploadUploads a CSV and returns a task ID; a background queue then resolves each style code in the GOAT catalog and lists every unit.
409 while another upload or clear-all is running on the account, and 503 when the account's GOAT listing worker is not running.Form fields
filefilerequiredThe CSV, sent as
multipart/form-dataunder the field namefile. Only.csvis accepted.
Query parameters
batch_sizeintegeroptionalRows per batch. Defaults to the account setting; values outside 1–50 are clamped to that range.
CSV format
Required columns: sku, size, amount, quantity. A missing column returns 400 naming it. amount is the listing price in dollars and quantity the number of pairs to list. The optional cost column stores an acquisition cost per size. Sizes use the account's default size unit.
Rows with an empty required field are dropped before the job starts, and rows with the same style code and size are merged; processedRows and duplicateRowsRemoved in the response report the result.
Job progress
Poll the status endpoint until result.finished is true. status moves from PENDING to STARTED and ends as SUCCESS or CANCELLED; an unknown task ID also reads as PENDING with a null result.
result counts pairs in units_total and units_completed, and rows in submitted_rows, failed_rows, skipped_rows and invalid_rows. Each entry of failed_items holds the CSV row, a reason (invalid_row, catalog_not_found, requires_seller_photos, not_connected or api_error) and a detail.
Related endpoints
- GET
/v2/goat/listings/upload/{task_id}Job progress:
{ taskId, status, result }. - POST
/v2/goat/listings/upload/cancelCancel your running upload and drop its queued work. Returns
{ queue, previous_length, cleared, job };jobisnullwhen nothing was running.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/upload' \
--header 'X-API-Key: sr_live_your_api_key' \
--form 'file=@listings.csv'sku,size,amount,quantity,cost
DZ5485 612,10,210,2,95
DZ5485 612,9,198,1,90
DM7866 140,9.5,190,1,120{
"taskId": "8db9ed05-ef89-4512-82dd-57d09d6fb52d",
"status": "SUCCESS",
"result": {
"kind": "listing_upload",
"phase": "done",
"error": null,
"units_total": 4,
"units_completed": 4,
"submitted_rows": 3,
"invalid_rows": 0,
"failed_rows": 1,
"skipped_rows": 0,
"failed_items": [
{
"row": { "sku": "DM7866 140", "size": "9.5", "amount": "190", "quantity": "1", "cost": "120" },
"reason": "catalog_not_found",
"detail": "sku=DM7866 140"
}
],
"finished": true,
"started_at": "2026-11-10T20:01:01.523922+00:00",
"updated_at": "2026-11-10T20:01:02.703717+00:00",
"finished_at": "2026-11-10T20:01:02.703708+00:00"
}
}{
"taskId": "8db9ed05-ef89-4512-82dd-57d09d6fb52d",
"status": "queued",
"filename": "listings.csv",
"processedRows": 3,
"batchSize": 50,
"duplicateRowsRemoved": 0
}Change a listing's price
/v2/goat/listings/{listing_id}Sets a new price on an existing listing and returns the updated listing. Price is the only field that can be changed; a body without priceCents returns 409.
Path parameters
listing_idstringrequiredListing to change.
Body parameters
priceCentsintegerrequiredNew price in cents.
Response
Returns { listing } in the same shape as create a listing.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{ "priceCents": 19900 }'List your listings
/v2/goat/listings/Fetches one bucket of your listings from GOAT live: For Sale by default, or Not For Sale. Use it to find a listing_id before repricing.
Query parameters
filterintegeroptional1For Sale (default) or2Not For Sale. Any other value returns400.search_termstringoptionalSearch text, e.g. a style code.
page_sizeintegeroptionalRows per page, default 50.
pagination_tokenstringoptionalnext_pagination_tokenfrom the previous page. Omit for the first page.
Response fields
id / listingIdGOAT listing ID (the same value under both keys).
statusListing status as GOAT reports it, e.g.
activeorinactive.price_centsListing price in cents.
size / size_unitSize as a number, and its unit (also under
sizeUnit).catalog_id / sku / nameThe product: GOAT catalog ID (also under
catalogId), style code and name.condition / product_condition / packaging_conditionProduct and packaging condition.
consignedWhether the pair is consigned with GOAT.
fulfillment_methodHow the order is fulfilled.
activated_atWhen the listing last went live (ISO 8601).
image_urlProduct image, or
null.
pagination_tokenThe page that was returned.
next_pagination_tokenPass it as
pagination_tokenfor the next page;nullon the last page.metadataCurrent page, page count and listing count in the bucket, as strings.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/?filter=1&page_size=50&search_term=DZ5485+612' \
--header 'X-API-Key: sr_live_your_api_key'{
"listings": [
{
"id": "air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24",
"listingId": "air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24",
"status": "active",
"price_cents": 21000,
"condition": 1,
"product_condition": "PRODUCT_CONDITION_NEW",
"packaging_condition": "PACKAGING_CONDITION_GOOD_CONDITION",
"consigned": false,
"size": 10.0,
"size_unit": "us",
"sizeUnit": "us",
"fulfillment_method": "SHIP_TO_VERIFY",
"activated_at": "2026-11-10T20:01:00.186472+00:00",
"catalog_id": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"catalogId": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"sku": "DZ5485 612",
"name": "Air Jordan 1 Retro High OG 'Chicago'",
"image_url": null
}
],
"pagination_token": "1",
"next_pagination_token": null,
"metadata": {
"current_page": "1",
"total_pages": "1",
"total_count": "1"
}
}Deactivate a listing
/v2/goat/listings/{listing_id}/deactivateTakes the listing off sale but keeps it, so it can be activated again. It moves to the Not For Sale bucket.
Path parameters
listing_idstringrequiredListing to deactivate.
Response
Returns { listing } with status set to inactive.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24/deactivate' \
--header 'X-API-Key: sr_live_your_api_key'Activate a listing
/v2/goat/listings/{listing_id}/activatePuts a deactivated listing back on sale at its current price.
Path parameters
listing_idstringrequiredListing to activate.
Related endpoints
- POST
/v2/goat/listings/{listing_id}/price-activateSet a price and activate in one call, for a listing that has no price yet or should go live at a new one. Body:
{ priceCents, catalogId, size, sizeUnit? }.
Response
Returns { listing } with status set to active.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24/activate' \
--header 'X-API-Key: sr_live_your_api_key'Delete a listing
/v2/goat/listings/{listing_id}Permanently removes a listing. Pass catalog_id, size and size_unit together to also delete the cost record for that size; if any is missing the cost is kept.
Path parameters
listing_idstringrequiredListing to delete.
Query parameters
catalog_idstringoptionalThe listing's GOAT catalog ID.
sizestringoptionalThe listing's size, e.g. 10.
size_unitstringoptionalSize unit of the cost record, e.g.
SIZE_UNIT_US.
curl --request DELETE \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24?catalog_id=air-jordan-1-retro-high-og-chicago-dz5485-612&size=10&size_unit=SIZE_UNIT_US' \
--header 'X-API-Key: sr_live_your_api_key'Clear every listing in a bucket
/v2/goat/listings/cancel-allStarts a background job that takes down every listing in one bucket and returns a task ID. Consigned pairs are left alone and counted in skipped_consigned. This cannot be undone.
409 while another upload or clear-all is running on the account.Query parameters
filterintegeroptionalBucket to clear:
1For Sale (default) or2Not For Sale. Any other value returns400.
Related endpoints
- GET
/v2/goat/listings/cancel-all/{task_id}Job progress:
{ taskId, status, result }.resultreportstotal_listings,cancelled,failed,skipped_consigned,failed_itemsandfinished. - POST
/v2/goat/listings/cancel-all/cancelStop your running clear-all. Listings already taken down stay down.
curl --request POST \
--url 'https://api.sneakers.itbanque.com/v2/goat/listings/cancel-all?filter=1' \
--header 'X-API-Key: sr_live_your_api_key'{
"taskId": "018fe341-6cee-446b-80a7-e16d17bca31a",
"status": "queued"
}GOAT costs
A cost record holds your acquisition cost, in dollars, for one catalog product and size on a GOAT connection. It sets the price floor for smart pricing. Records are written by the cost field of create a listing and the cost column of the CSV upload; these endpoints read, edit and remove them.
List costs
/v2/goat/costsReturns cost records for the connection, newest first.
Query parameters
pageintegeroptionalPage number, default 1. Values below 1 are treated as 1.
page_sizeintegeroptionalRows per page, 1–200. Values outside the range fall back to 50.
skustringoptionalPartial, case-insensitive match on style code.
connection_idintegeroptionalGOAT connection the records belong to. Defaults to your default connection.
Response fields
idCost record ID, used to edit or delete a single record.
skuStyle code, or
nullwhen the record was written without one.catalog_id / size / size_unitThe product and size this cost applies to.
costAcquisition cost in dollars.
is_activeWhether smart pricing uses this cost.
updated_atLast update time.
totalTotal matching records.
page / page_sizeThe pagination that was applied.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/costs?page=1&page_size=50&sku=DZ5485' \
--header 'X-API-Key: sr_live_your_api_key'{
"items": [
{
"id": 4417,
"sku": "DZ5485 612",
"catalog_id": "air-jordan-1-retro-high-og-chicago-dz5485-612",
"size": "10",
"size_unit": "SIZE_UNIT_US",
"cost": 120.0,
"is_active": true,
"updated_at": "2026-11-10T20:01:00.158658Z"
}
],
"total": 1284,
"page": 1,
"page_size": 50
}Edit a cost record
/v2/goat/costs/{cost_id}Both body fields are optional; send only what changes. Setting is_active to false keeps the record but takes it out of smart pricing. Returns 404 if the record does not exist or belongs to another account.
Path parameters
cost_idintegerrequiredCost record ID, from the list endpoint.
Body parameters
costnumberoptionalNew cost in dollars.
is_activebooleanoptionalWhether smart pricing uses this cost.
curl --request PATCH \
--url 'https://api.sneakers.itbanque.com/v2/goat/costs/4417' \
--header 'X-API-Key: sr_live_your_api_key' \
--header 'Content-Type: application/json' \
--data '{ "cost": 115, "is_active": false }'{ "ok": true }Delete a cost record
/v2/goat/costs/{cost_id}Deletes one cost record. The listing is not affected. Returns 404 if the record does not exist or belongs to another account.
Path parameters
cost_idintegerrequiredCost record ID, from the list endpoint.
curl --request DELETE \
--url 'https://api.sneakers.itbanque.com/v2/goat/costs/4417' \
--header 'X-API-Key: sr_live_your_api_key'{ "ok": true }Delete all cost records
/v2/goat/costsDeletes every cost record on the connection. Listings are not affected. This cannot be undone.
Query parameters
connection_idintegeroptionalGOAT connection the records belong to. Defaults to your default connection.
curl --request DELETE \
--url 'https://api.sneakers.itbanque.com/v2/goat/costs' \
--header 'X-API-Key: sr_live_your_api_key'{ "ok": true, "deleted": 1284 }GOAT orders
Order endpoints read your GOAT seller account live on every call: a summary of sales and order counts, and the wallet ledger of sales, fees and cash-outs. Nothing is synced or stored.
409. A failed GOAT request returns 400.Get the sales summary
/v2/goat/order-analytics/summaryReturns lifetime sales, wallet balance and order counts by status for the account. Money fields are in dollars.
Response fields
total_salesLifetime sales.
available_balanceWallet balance available now.
cashout_amountThe wallet's cash-out amount as GOAT reports it.
orders_completed / orders_canceledCompleted and canceled orders.
orders_shipped / orders_openShipments on their way and shipments still open.
orders_lost_in_transitOrders lost in transit.
shipments_completed / listings_completedCompleted shipments, and the listings they contained.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/order-analytics/summary' \
--header 'X-API-Key: sr_live_your_api_key'{
"total_sales": 12345.0,
"available_balance": 456.0,
"cashout_amount": 400.0,
"orders_completed": 12,
"orders_canceled": 1,
"orders_shipped": 2,
"orders_open": 3,
"orders_lost_in_transit": 0,
"shipments_completed": 12,
"listings_completed": 12
}List wallet transactions
/v2/goat/order-analytics/transactionsReturns the wallet ledger, newest first: one row per sale, fee or cash-out. Pages are read with a cursor.
Query parameters
pagination_tokenstringoptionalpagination_tokenfrom the previous page. Omit for the first page.
Response fields
idTransaction ID.
created_atWhen the transaction was recorded (ISO 8601).
display_nameTransaction type as GOAT labels it, e.g.
Sale,Storage FeeorCash Out.amountSigned amount in dollars: negative for fees and cash-outs.
pagination_tokenCursor for the next page;
nullwhen there are no more rows.
curl --request GET \
--url 'https://api.sneakers.itbanque.com/v2/goat/order-analytics/transactions' \
--header 'X-API-Key: sr_live_your_api_key'{
"items": [
{ "id": "tx-9f31", "created_at": "2026-10-02T00:00:00Z", "display_name": "Sale", "amount": 180.0 },
{ "id": "tx-9f30", "created_at": "2026-10-01T00:00:00Z", "display_name": "Storage Fee", "amount": -4.0 }
],
"pagination_token": "2"
}