Skip to main content
POST
/
api
/
bazaar
/
batch-prices
Batch Prices
curl --request POST \
  --url https://api.example.com/api/bazaar/batch-prices \
  --header 'Content-Type: application/json' \
  --data '
{
  "commodities": {}
}
'
Requires x-api-token header. Maximum 50 items per request.

Request Body

{
  "commodities": {
    "ITEM": ["oKjVsSwr", "KJepBrme"],
    "TOOL": ["skateboard"]
  }
}
commodities
object
required
Object with commodity types as keys (ITEM, TOOL, SKIN) and arrays of item codes as values.

Response Fields

FieldDescription
pricesObject keyed by TYPE:itemCode
prices[].lowestListingCurrent floor price (BORNE)
prices[].highestOfferHighest active offer per unit (BORNE)
prices[].avgPrice24hAverage sale price over last 24 hours
prices[].avgPrice7dAverage sale price over last 7 days
prices[].avgPrice30dAverage sale price over last 30 days

Example Response

{
  "prices": {
    "ITEM:oKjVsSwr": {
      "lowestListing": 12.0,
      "highestOffer": 14.5,
      "avgPrice24h": 15.2,
      "avgPrice7d": 13.1,
      "avgPrice30d": 14.0
    },
    "ITEM:KJepBrme": {
      "lowestListing": 8.0,
      "highestOffer": 10.0,
      "avgPrice24h": 9.5,
      "avgPrice7d": null,
      "avgPrice30d": null
    },
    "TOOL:skateboard": {
      "lowestListing": 50.0,
      "highestOffer": null,
      "avgPrice24h": null,
      "avgPrice7d": 48.0,
      "avgPrice30d": 45.0
    }
  }
}