Skip to main content
POST
Buy listings

Authorizations

api-key
string
header
required

Your raw API key. Generate, rotate, and revoke keys from the merchant dashboard. Keys can optionally be bound to one or more allowed source IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.

Headers

On-Behalf-Of
string

Sub-user UUID or the merchant's externalId for that sub-user. Required for sub-user-context routes; rejected (via requireMerchant) on merchant-context routes.

Required string length: 1 - 128

Body

application/json
items
object[]
required
Required array length: 1 - 10 elements

Provide exactly one of listingId or listingRawId to identify the listing. Sending both (or neither) is a 422.

tradeUrl
string<uri>

Override the sub-user's primary Steam trade URL for this purchase. Optional.

externalId
string

Your own correlation id, echoed back on the Trade.

Maximum string length: 128

Response

Created.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object