API referenceOfficial · Purchases

Get standard-item availability

Returns the number of standard items available for bulk purchase or gifting.

GET/api/market/developer/purchase/quantity

Returns the number of standard items available for bulk purchase or gifting.

  • Standard items: Stickers, weapon cases, music kits, tools, sprays, passes, collectibles, patches, and gifts
  • Limit: 60 requests per minute

Items whose trade offers must be created by the buyer are excluded. When both market_hash_name and goods_id are supplied, goods_id takes precedence.

AuthorizationBearer <token>

BUFF developer API token. Send it as Authorization: Bearer <token>.

In: header

Query Parameters

game*"cs2"

Game identifier.

Value in

  • "cs2"
goods_id?integer

Single goods ID

market_hash_name?string

Steam market hash name.

max_price?number

Maximum price for orders on sale

Range0 <= value
pay_method?string

Payment method filter: alipay (orders supporting alipay), bankcard (orders supporting bankcard).

Value in

  • "alipay"
  • "bankcard"

Response Body

application/json

curl -X GET "https://example.com/api/market/developer/purchase/quantity?game=cs2&goods_id=38150&market_hash_name=Spectrum+Case"
{  "quantity": 20}