Skip to content
Revadike edited this page Oct 26, 2026 · 1 revision

POST /market/buylisting/:listingid

Buys a listing on the Community Market.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /market/buylisting/:listingid

Variables:

Name Type Description
:listingid number The listing ID

Form Data:

Name Type Required Description
sessionid string Yes The value of the sessionid cookie
currency number No The currency code
subtotal number Yes The subtotal
fee number Yes The fee
total number Yes The total
quantity number Yes The quantity
tradefee_tax number No The trade fee tax
first_name string No The first name
last_name string No The last name
billing_address string No The billing address
billing_address_two string No The second billing address line
billing_country string No The billing country code
billing_city string No The billing city
billing_state string No The billing state
billing_postal_code string No The billing postal code
save_my_address string No 1 to save the billing address, 0 otherwise
confirmation number No The confirmation ID

Response

200 OK

Name Type Description
success number Whether the request was successful
wallet_info object The wallet information
wallet_info.success boolean Whether the wallet update was successful
wallet_info.wallet_currency number The currency code
wallet_info.wallet_balance number The wallet balance

400 Bad Request

The response body is [].

Example

POST https://steamcommunity.com/market/buylisting/999999 { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", currency: 3, subtotal: 100, fee: 0, total: 100, quantity: 1 }

TODO

Clone this wiki locally