Path parameters
-
service_uuid
uuid Required Service ID
Body
Required
-
itemId
integer Required Item ID from skins for sale request (only one from itemId or itemName should be sent)
-
itemName
string Required Item Name to buy (only one from itemId or itemName should be sent)
-
maxPrice
number Required Max price to pay for this skin (in USD)
-
tradeUrl
SteamTradeURL Required Buyer trade url
-
custom
string Your custom identifier
POST
/v1/services/{service_uuid}/buys
curl \
--request POST 'https://api.skinsmoney.gg/v1/services/661512bf-4dd2-4404-a58a-210acf868665/buys' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"itemId":"SCAR-20 | Grotto (Factory New)","itemName":"1457","maxPrice":"1.23","tradeUrl":"https://steamcommunity.com/tradeoffer/...","custom":"aSByZW1lbWJlciB3aGF0IHlhbGwgZGlk="}'
Request examples
{
"itemId": "SCAR-20 | Grotto (Factory New)",
"itemName": "1457",
"maxPrice": "1.23",
"tradeUrl": "https://steamcommunity.com/tradeoffer/...",
"custom": "aSByZW1lbWJlciB3aGF0IHlhbGwgZGlk="
}
Response examples (200)
{
"data": {
"buyId": "01957697-0874-72b1-928d-de615dc24db8",
"buyPrice": 0.15,
"steamOfferId": "1111111111"
},
"type": "response",
"success": true
}