API referenceOfficial · Buy Orders

Create buy orders

Creates buy orders for the current BUFF account.

POST/api/market/developer/buy_order

Creates buy orders for the current BUFF account. The receiving Steam account must be bound to that BUFF account. See buy-order style values.

  • Access: Developer or Enterprise API
  • Per-item limit: 1 request per minute, 3 per hour, and 10 per day for each goods_id

API-created buy orders use pay-after-supply and do not support EPay or WeChat Pay. Payment can use BUFF Balance, Margin, or Authorized Alipay Balance. Margin expires after 150 days and is refunded to the associated bank card. BUFF cancels buy orders when BUFF Balance plus Buy Order Funds is below the order amount.

AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/market/developer/buy_order" \  -H "Content-Type: application/json" \  -d '{    "game": "cs2",    "goods_id": 47427,    "price": "100",    "num": 1  }'
{  "buy_order_id": "250805T1093434037"}