Overview
SneakersRadar API

API Reference

Access retailer inventory and StockX / GOAT market data, and manage StockX and GOAT listings, costs and orders with an API key.

Base URLhttps://api.sneakers.itbanque.com
Auth headerX-API-Key
FormatJSON

The 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

  1. Sign in and open /account.
  2. In API Keys, click Generate New Key.
  3. Optionally add a label that identifies where the key is used.
  4. Click Create and copy the token. It is shown only once.
The raw token is shown only at creation. Afterwards the account page shows just its 8-character prefix, so store it in a secret manager before leaving the page.

Revoke a key from the same page at any time. Revocation takes effect immediately, and requests with that key return 401.

GET/v1/inventory/search
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'
Response401
{ "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.

StatusMeaning
400Invalid 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" }
401The X-API-Key header is missing, or the key is invalid or revoked.{ "detail": "Not authenticated" }
403The account does not have access to this endpoint.{ "detail": "GOAT access is not enabled for this user" }
404The 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" }
409Keep-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" }
422A 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" }] }
429Rate 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" }
502The request to StockX or GOAT failed; detail carries the upstream error.{ "detail": "StockX v2 listing create failed: ..." }
504StockX 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.

Retail data

Get SKU stock history

GET/v1/reporting/retailers/{retailer}/skus/{retailer_sku}/history

Returns 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.

With provider access for the retailer, the record cap is lifted and results are bounded only by hours. Otherwise the number of records is capped by your account's sku_history limit.

Path parameters

  • retailerstringrequired

    Retailer code, e.g. DICKS, NIKE, JD_SPORTS.

  • retailer_skustringrequired

    The retailer's SKU.

Query parameters

  • hoursintegeroptional

    Look-back window in hours, 1–8760. Default 168 (7 days).

Response fields

Top level
  • retailer

    Retailer code.

  • cutoff_ts

    Start of the look-back window (ISO 8601).

  • sku

    Basic SKU information.

  • history

    Stock records, newest first.

  • count

    Records returned.

  • limit

    Record cap applied; null with provider access.

  • has_more

    true when older records exist beyond the cap.

history[]
  • stock_level

    Stock level: HIGH, MEDIUM, LOW, OOS or IN_STOCK.

  • location

    Store or region code.

  • record_created_at

    Snapshot time (ISO 8601).

  • price / original_price

    Current and original price captured at that time, when available.

  • coupon_code_eligible

    Whether coupon codes applied at that time, when known.

GET/v1/reporting/retailers/DICKS/skus/11943996/history
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'
Response200
{
  "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
}
StockX
Market

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.

List recently quoted style codes

GET/v2/stockx/market/hot

Returns 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.

This list reflects quote activity on SneakersRadar, not StockX's trending or most-active rankings.

Query parameters

  • limitintegeroptional

    Page size, 1–100, default 20.

  • pageintegeroptional

    Page number, starting at 1.

Response fields

Top level
  • items

    Style codes. A page can hold fewer than limit entries when a cached product has no style code.

  • total / pages

    Cached products and page count.

  • page / limit

    The pagination that was applied.

  • has_next / has_prev

    Whether adjacent pages exist.

GET/v2/stockx/market/hot
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'
Response200
{
  "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

GET/v2/stockx/catalog/products/{product_id}/variants/{variant_id}/market-data

When 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_idstringrequired

    StockX product ID.

  • variant_idstringrequired

    StockX size variant ID.

Query parameters

  • currency_codestringoptional

    Currency. Defaults to the account's StockX market currency.

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

Response

Returns StockX's market data object for the variant as received.

GET/v2/stockx/catalog/products/0f6b2a7e-9d1c-4f3e-8a55-2c7d9e1b4a60/variants/1a2b3c4d-5e6f-7890-abcd-ef1234567890/market-data
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'
Listings

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.

Connect your StockX account in the dashboard first. OAuth is a browser flow and cannot be completed through the API. Without a usable connection these endpoints return 400.

Create a listing by style code

POST/v2/stockx/simple-listing

Send 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

  • styleIdstringrequired

    Style code.

  • sizestringrequired

    Size, e.g. 10 or 10.5.

  • amountstringrequired

    Ask price, rounded to a whole number (halves round to even).

  • costnumberoptional

    Acquisition cost, rounded to a whole number and stored for profit tracking and smart pricing.

  • currencyCodestringoptional

    Currency. Defaults to the account's StockX market currency.

  • expiresAtstringoptional

    Expiry, ISO 8601. Omit for the StockX default.

  • activebooleanoptional

    Default true. false creates the listing without going live.

  • inventoryTypestringoptional

    Inventory type, passed through to StockX.

Query parameters

  • connection_idintegeroptional

    StockX 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 }.

POST/v2/stockx/simple-listing
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
  }'
Response201
{ "ok": true }

Create a listing by variantId

POST/v2/stockx/listings

Lists 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

  • variantIdstringrequired

    StockX size variant ID.

  • amountstringrequired

    Ask price, rounded to a whole number.

  • currencyCodestringoptional

    Currency. Defaults to the account's StockX market currency.

  • expiresAtstringoptional

    Expiry, ISO 8601.

  • activebooleanoptional

    Default true.

  • inventoryTypestringoptional

    Inventory type, passed through to StockX.

  • costnumberoptional

    Acquisition cost, rounded to a whole number. Stored only with styleId and size.

  • styleIdstringoptional

    Style code, used only for the cost record.

  • sizestringoptional

    Size, used only for the cost record.

Query parameters

  • connection_idintegeroptional

    StockX 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.

POST/v2/stockx/listings
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

GET/v2/stockx/catalog/search

Step one of finding a variantId: search by style code to get the productId, then list its sizes.

Query parameters

  • qstringrequired

    Search text, usually a style code.

  • page_numberintegeroptional

    Page number, default 1.

  • page_sizeintegeroptional

    Results per page, default 10.

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

Response

Returns StockX's catalog search response as received.

GET/v2/stockx/catalog/search
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

GET/v2/stockx/catalog/products/{product_id}/variants

Returns 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_idstringrequired

    StockX product ID from the catalog search.

Query parameters

  • style_idstringoptional

    Style code. When present, the product and its sizes are cached.

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

Response

Returns StockX's variant list as received.

GET/v2/stockx/catalog/products/0f6b2a7e-9d1c-4f3e-8a55-2c7d9e1b4a60/variants
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

POST/v2/stockx/listings/upload

Uploads 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

  • filefilerequired

    The CSV, sent as multipart/form-data under the field name file. Only .csv is accepted.

Query parameters

  • batch_sizeintegeroptional

    Rows 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/validate

    Same file, nothing listed. Returns filename, total_rows, valid_rows, invalid_rows and duplicate_rows.

  • GET/v2/stockx/listings/upload/{task_id}

    Job progress: { taskId, status, result }.

  • GET/v2/stockx/listings/upload/unmatched

    Rows that could not be matched to a variant: { items }.

POST/v2/stockx/listings/upload
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'
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
Response200
{
  "taskId": "9c1f2b60-6f1e-4a2e-8d2f-77a2f1c0b3ee",
  "status": "queued",
  "filename": "listings.csv",
  "processedRows": 3,
  "batchSize": 50
}

Update a listing

PATCH/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_idstringrequired

    Listing to change.

Body parameters

  • amountstringoptional

    New ask price, rounded to a whole number.

  • currencyCodestringoptional

    Currency.

  • expiresAtstringoptional

    New expiry, ISO 8601.

Query parameters

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

PATCH/v2/stockx/listings/L-1001
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

GET/v2/stockx/listings

Fetches 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_numberintegeroptional

    Page number, default 1.

  • page_sizeintegeroptional

    Rows per page, default 100.

  • listing_statusesstringoptional

    Status filter, default ACTIVE.

  • skustringoptional

    Filter by style code.

  • connection_idintegeroptional

    StockX 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.

GET/v2/stockx/listings
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

PUT/v2/stockx/listings/{listing_id}/deactivate

Takes the listing off the market but keeps it, so it can be activated again.

Path parameters

  • listing_idstringrequired

    Listing to deactivate.

Query parameters

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

PUT/v2/stockx/listings/L-1001/deactivate
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

PUT/v2/stockx/listings/{listing_id}/activate

Puts 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_idstringrequired

    Listing to activate.

Body parameters

  • amountstringoptional

    New ask price.

Query parameters

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

PUT/v2/stockx/listings/L-1001/activate
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

DELETE/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_idstringrequired

    Listing to delete.

Query parameters

  • variant_idstringoptional

    Also delete this variant's cost records.

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

DELETE/v2/stockx/listings/L-1001
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

POST/v2/stockx/batch/delete-listing

Submits 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

  • itemsarrayrequired

    Listings to delete: { listingId, variantId? }.

Query parameters

  • connection_idintegeroptional

    StockX connection to use. Defaults to your default connection.

Response

Returns StockX's batch response as received.

POST/v2/stockx/batch/delete-listing
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

POST/v2/stockx/listings/unlist

Uploads a CSV of listings to take down and returns a task ID; the work runs in a background queue.

Form fields

  • filefilerequired

    The 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/cancel

    Cancel your running unlist job. Returns { cancelled, result }.

POST/v2/stockx/listings/unlist
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'
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
Response200
{
  "taskId": "3f8ab21c-0d4e-4d51-9a0e-2b7a5f0c11de",
  "status": "queued",
  "filename": "unlist.csv",
  "processedRows": 3,
  "duplicateRowsRemoved": 0,
  "resolveRows": 1
}

Clear all active listings

POST/v2/stockx/listings/clear-all

Deletes 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.

POST/v2/stockx/listings/clear-all
curl --request POST \
  --url 'https://api.sneakers.itbanque.com/v2/stockx/listings/clear-all' \
  --header 'X-API-Key: sr_live_your_api_key'
Costs

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.

Cost endpoints use only local data and no StockX quota. Without a usable StockX connection they return 404.

Create or overwrite a cost

PATCH/v2/stockx/cost

Finds 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

  • styleIdstringrequired

    Style code.

  • sizestringrequired

    Size.

  • variantIdstringrequired

    StockX size variant ID.

  • costnumberrequired

    Acquisition cost, stored as sent.

Query parameters

  • connection_idintegeroptional

    StockX connection the records belong to. Defaults to your default connection.

PATCH/v2/stockx/cost
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
  }'
Response200
{ "ok": true }

List costs

GET/v2/stockx/costs

Returns cost records for the connection, newest first.

Query parameters

  • pageintegeroptional

    Page number, default 1. Values below 1 are treated as 1.

  • page_sizeintegeroptional

    Rows per page, 1–200. Values outside the range fall back to 50.

  • style_idstringoptional

    Partial match on style code.

  • connection_idintegeroptional

    StockX connection the records belong to. Defaults to your default connection.

Response fields

items[]
  • id

    Cost record ID, used to edit a single record.

  • style_id / size / variant_id

    The size this cost applies to.

  • cost

    Acquisition cost.

  • is_active

    Whether it feeds profit figures and smart pricing.

  • updated_at

    Last update time.

Pagination
  • total

    Total matching records.

  • page / page_size

    The pagination that was applied.

GET/v2/stockx/costs
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'
Response200
{
  "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

POST/v2/stockx/costs/import

Processed synchronously: the import is finished when the request returns. Rows are upserted, overwriting the cost of existing records.

Form fields

  • filefilerequired

    The CSV, sent under the field name file.

Query parameters

  • connection_idintegeroptional

    StockX 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

Top level
  • total_rows

    Rows in the file.

  • imported

    Records written after de-duplication.

  • skipped

    Rows not written.

POST/v2/stockx/costs/import
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'
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
Response200
{
  "total_rows": 3,
  "imported": 3,
  "skipped": 0
}

Edit a cost record

PATCH/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_idintegerrequired

    Cost record ID, from the list endpoint.

Body parameters

  • costnumberoptional

    New cost.

  • is_activebooleanoptional

    Whether it feeds profit figures and smart pricing.

Query parameters

  • connection_idintegeroptional

    StockX connection the records belong to. Defaults to your default connection.

PATCH/v2/stockx/costs/4417
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 }'
Response200
{ "ok": true }

Delete all cost records

DELETE/v2/stockx/costs

Deletes every cost record on the connection. Listings are not affected. This cannot be undone.

Query parameters

  • connection_idintegeroptional

    StockX connection the records belong to. Defaults to your default connection.

DELETE/v2/stockx/costs
curl --request DELETE \
  --url 'https://api.sneakers.itbanque.com/v2/stockx/costs' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{ "ok": true, "deleted": 1284 }
Orders

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

POST/v2/stockx/orders/sync

Starts an asynchronous sync and returns a task ID right away. Returns 400 when the account has no active StockX connection.

POST/v2/stockx/orders/sync
curl --request POST \
  --url 'https://api.sneakers.itbanque.com/v2/stockx/orders/sync' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{
  "task_id": "5b7c9e01-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
  "status": "queued"
}

List orders

GET/v2/stockx/orders

Returns synced orders, newest first, with product, size and payout details.

Query parameters

  • pageintegeroptional

    Page number, starting at 1. Default 1.

  • page_sizeintegeroptional

    Rows per page, 1–200, default 50.

  • order_statusstringoptional

    Status filter, case-insensitive, e.g. COMPLETED or SHIPPED.

  • from_datedateoptional

    Start date, YYYY-MM-DD, on order creation time.

  • to_datedateoptional

    End date, YYYY-MM-DD.

  • searchstringoptional

    Partial match on product name.

Response fields

Identifiers
  • id

    Local record ID.

  • order_number

    StockX order number.

  • listing_id

    The listing the order came from.

  • status / auth_status

    Order status and authentication status.

  • inventory_type

    Inventory type.

Product
  • product_id / product_name

    StockX product ID and name.

  • style_id

    Style code.

  • variant_id / variant_name / variant_value

    Size variant ID, name and size.

Money
  • amount / currency_code

    Order amount and currency.

  • sale_price

    Sale price.

  • total_adjustments

    Sum of fee adjustments, usually negative.

  • total_payout / payout_currency

    Net payout after fees, and its currency.

Timestamps
  • order_created_at / order_updated_at

    Order creation and last update time (ISO 8601).

GET/v2/stockx/orders
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'
Response200
{
  "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

GET/v2/stockx/orders/analytics

Aggregates 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_datedateoptional

    Start date, YYYY-MM-DD.

  • to_datedateoptional

    End date, YYYY-MM-DD.

  • granularitystringoptional

    Trend bucket: daily, weekly or monthly (default). Other values fall back to monthly.

Response fields

summary
  • total_orders

    Order count.

  • total_revenue

    Total payout received.

  • avg_payout

    Average payout per order.

  • total_fees

    Total fees.

Breakdowns
  • top_products

    Top 10 products by units, with revenue and average payout.

  • top_brands

    Top 10 brands by units; unrecognized names count as Other.

  • sales_trend

    Units and revenue per period. Periods look like 2026-06-01 (daily), 2026-23 (ISO week) or 2026-06 (monthly).

  • status_breakdown

    Order count per status.

GET/v2/stockx/orders/analytics
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'
Response200
{
  "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 }
  ]
}
GOAT
Market

Get GOAT quotes by style code

GET/v2/goat/market/search

Returns 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.

No linked GOAT account returns 409, an unknown style code returns 404, and a GOAT failure returns 502.

Query parameters

  • style_idstringrequired

    Style code, e.g. U9060JBR. Used to search the GOAT catalog.

Response fields

variants[]
  • size

    Size, as a string.

  • lowestAsk

    Current lowest listing price, or null when nothing is listed.

  • highestBid

    Highest open offer, or null when unavailable.

  • lastSale

    Most recent sale price, or null.

  • currency

    Currency code.

variants[] — additional fields
  • highDemandPrice

    GOAT's high-demand price for the size, or null.

  • productCondition

    Product condition of this entry, e.g. NEW or USED.

  • packagingCondition

    Packaging condition of this entry.

  • regionId

    GOAT region of this entry.

GET/v2/goat/market/search
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'
Response200
{
  "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" }
  ]
}
Listings

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.

Connect your GOAT account in the dashboard first. Without a linked account these endpoints return 409. When GOAT throttles the account they return 429; any other GOAT failure returns 502 with the upstream error in detail.

Create a listing

POST/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

  • catalogIdstringrequired

    GOAT catalog ID, from the catalog search.

  • priceCentsintegerrequired

    Listing price in cents, e.g. 21000 for $210.

  • sizenumberrequired

    Size, e.g. 10 or 10.5.

  • skustringoptional

    Style code, e.g. DZ5485 612. Used to find a reusable unpriced listing and stored with the cost.

  • sizeUnitstringoptional

    Default SIZE_UNIT_US. Also SIZE_UNIT_UK, SIZE_UNIT_EU, SIZE_UNIT_FR, SIZE_UNIT_IT, SIZE_UNIT_JP, SIZE_UNIT_NO_SIZE.

  • conditionstringoptional

    Default CONDITION_NEW.

  • packagingConditionstringoptional

    Default PACKAGING_CONDITION_GOOD_CONDITION.

  • activatebooleanoptional

    Default true. false creates the listing without putting it on sale.

  • costnumberoptional

    Acquisition cost in dollars, rounded to a whole number and stored as a cost record. Not sent to GOAT.

Response fields

listing
  • id / listingId

    GOAT listing ID (the same value under both keys).

  • status

    Listing status as GOAT reports it, e.g. active or inactive.

  • price_cents

    Listing price in cents.

  • size / size_unit

    Size as a number, and its unit (also under sizeUnit).

  • catalog_id / sku / name

    The product: GOAT catalog ID (also under catalogId), style code and name.

  • condition / product_condition / packaging_condition

    Product and packaging condition.

  • consigned

    Whether the pair is consigned with GOAT.

  • fulfillment_method

    How the order is fulfilled.

  • activated_at

    When the listing last went live (ISO 8601).

  • image_url

    Product image, or null.

POST/v2/goat/listings/
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
  }'
Response200
{
  "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

POST/v2/goat/listings/upload

Uploads a CSV and returns a task ID; a background queue then resolves each style code in the GOAT catalog and lists every unit.

Returns 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

  • filefilerequired

    The CSV, sent as multipart/form-data under the field name file. Only .csv is accepted.

Query parameters

  • batch_sizeintegeroptional

    Rows 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/cancel

    Cancel your running upload and drop its queued work. Returns { queue, previous_length, cleared, job }; job is null when nothing was running.

POST/v2/goat/listings/upload
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'
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
GET /v2/goat/listings/upload/{task_id}
{
  "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"
  }
}
Response200
{
  "taskId": "8db9ed05-ef89-4512-82dd-57d09d6fb52d",
  "status": "queued",
  "filename": "listings.csv",
  "processedRows": 3,
  "batchSize": 50,
  "duplicateRowsRemoved": 0
}

Change a listing's price

POST/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_idstringrequired

    Listing to change.

Body parameters

  • priceCentsintegerrequired

    New price in cents.

Response

Returns { listing } in the same shape as create a listing.

POST/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24
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

GET/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

  • filterintegeroptional

    1 For Sale (default) or 2 Not For Sale. Any other value returns 400.

  • search_termstringoptional

    Search text, e.g. a style code.

  • page_sizeintegeroptional

    Rows per page, default 50.

  • pagination_tokenstringoptional

    next_pagination_token from the previous page. Omit for the first page.

Response fields

listings[]
  • id / listingId

    GOAT listing ID (the same value under both keys).

  • status

    Listing status as GOAT reports it, e.g. active or inactive.

  • price_cents

    Listing price in cents.

  • size / size_unit

    Size as a number, and its unit (also under sizeUnit).

  • catalog_id / sku / name

    The product: GOAT catalog ID (also under catalogId), style code and name.

  • condition / product_condition / packaging_condition

    Product and packaging condition.

  • consigned

    Whether the pair is consigned with GOAT.

  • fulfillment_method

    How the order is fulfilled.

  • activated_at

    When the listing last went live (ISO 8601).

  • image_url

    Product image, or null.

Pagination
  • pagination_token

    The page that was returned.

  • next_pagination_token

    Pass it as pagination_token for the next page; null on the last page.

  • metadata

    Current page, page count and listing count in the bucket, as strings.

GET/v2/goat/listings/
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'
Response200
{
  "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

POST/v2/goat/listings/{listing_id}/deactivate

Takes the listing off sale but keeps it, so it can be activated again. It moves to the Not For Sale bucket.

Path parameters

  • listing_idstringrequired

    Listing to deactivate.

Response

Returns { listing } with status set to inactive.

POST/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24/deactivate
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

POST/v2/goat/listings/{listing_id}/activate

Puts a deactivated listing back on sale at its current price.

Path parameters

  • listing_idstringrequired

    Listing to activate.

Related endpoints

  • POST/v2/goat/listings/{listing_id}/price-activate

    Set 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.

POST/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24/activate
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

DELETE/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_idstringrequired

    Listing to delete.

Query parameters

  • catalog_idstringoptional

    The listing's GOAT catalog ID.

  • sizestringoptional

    The listing's size, e.g. 10.

  • size_unitstringoptional

    Size unit of the cost record, e.g. SIZE_UNIT_US.

DELETE/v2/goat/listings/air-jordan-1-retro-high-og-chicago-dz5485-612-7c1e5b0a9f24
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

POST/v2/goat/listings/cancel-all

Starts 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.

Returns 409 while another upload or clear-all is running on the account.

Query parameters

  • filterintegeroptional

    Bucket to clear: 1 For Sale (default) or 2 Not For Sale. Any other value returns 400.

Related endpoints

  • GET/v2/goat/listings/cancel-all/{task_id}

    Job progress: { taskId, status, result }. result reports total_listings, cancelled, failed, skipped_consigned, failed_items and finished.

  • POST/v2/goat/listings/cancel-all/cancel

    Stop your running clear-all. Listings already taken down stay down.

POST/v2/goat/listings/cancel-all
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'
Response200
{
  "taskId": "018fe341-6cee-446b-80a7-e16d17bca31a",
  "status": "queued"
}
Costs

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.

Cost endpoints use only local data and never call GOAT. Without a linked GOAT account the list is empty and clearing deletes nothing.

List costs

GET/v2/goat/costs

Returns cost records for the connection, newest first.

Query parameters

  • pageintegeroptional

    Page number, default 1. Values below 1 are treated as 1.

  • page_sizeintegeroptional

    Rows per page, 1–200. Values outside the range fall back to 50.

  • skustringoptional

    Partial, case-insensitive match on style code.

  • connection_idintegeroptional

    GOAT connection the records belong to. Defaults to your default connection.

Response fields

items[]
  • id

    Cost record ID, used to edit or delete a single record.

  • sku

    Style code, or null when the record was written without one.

  • catalog_id / size / size_unit

    The product and size this cost applies to.

  • cost

    Acquisition cost in dollars.

  • is_active

    Whether smart pricing uses this cost.

  • updated_at

    Last update time.

Pagination
  • total

    Total matching records.

  • page / page_size

    The pagination that was applied.

GET/v2/goat/costs
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'
Response200
{
  "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

PATCH/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_idintegerrequired

    Cost record ID, from the list endpoint.

Body parameters

  • costnumberoptional

    New cost in dollars.

  • is_activebooleanoptional

    Whether smart pricing uses this cost.

PATCH/v2/goat/costs/4417
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 }'
Response200
{ "ok": true }

Delete a cost record

DELETE/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_idintegerrequired

    Cost record ID, from the list endpoint.

DELETE/v2/goat/costs/4417
curl --request DELETE \
  --url 'https://api.sneakers.itbanque.com/v2/goat/costs/4417' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{ "ok": true }

Delete all cost records

DELETE/v2/goat/costs

Deletes every cost record on the connection. Listings are not affected. This cannot be undone.

Query parameters

  • connection_idintegeroptional

    GOAT connection the records belong to. Defaults to your default connection.

DELETE/v2/goat/costs
curl --request DELETE \
  --url 'https://api.sneakers.itbanque.com/v2/goat/costs' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{ "ok": true, "deleted": 1284 }
Orders

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.

Without a linked GOAT account these endpoints return 409. A failed GOAT request returns 400.

Get the sales summary

GET/v2/goat/order-analytics/summary

Returns lifetime sales, wallet balance and order counts by status for the account. Money fields are in dollars.

Response fields

Money
  • total_sales

    Lifetime sales.

  • available_balance

    Wallet balance available now.

  • cashout_amount

    The wallet's cash-out amount as GOAT reports it.

Counts
  • orders_completed / orders_canceled

    Completed and canceled orders.

  • orders_shipped / orders_open

    Shipments on their way and shipments still open.

  • orders_lost_in_transit

    Orders lost in transit.

  • shipments_completed / listings_completed

    Completed shipments, and the listings they contained.

GET/v2/goat/order-analytics/summary
curl --request GET \
  --url 'https://api.sneakers.itbanque.com/v2/goat/order-analytics/summary' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{
  "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

GET/v2/goat/order-analytics/transactions

Returns the wallet ledger, newest first: one row per sale, fee or cash-out. Pages are read with a cursor.

Query parameters

  • pagination_tokenstringoptional

    pagination_token from the previous page. Omit for the first page.

Response fields

items[]
  • id

    Transaction ID.

  • created_at

    When the transaction was recorded (ISO 8601).

  • display_name

    Transaction type as GOAT labels it, e.g. Sale, Storage Fee or Cash Out.

  • amount

    Signed amount in dollars: negative for fees and cash-outs.

Pagination
  • pagination_token

    Cursor for the next page; null when there are no more rows.

GET/v2/goat/order-analytics/transactions
curl --request GET \
  --url 'https://api.sneakers.itbanque.com/v2/goat/order-analytics/transactions' \
  --header 'X-API-Key: sr_live_your_api_key'
Response200
{
  "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"
}