Report a bot's status, prices and stock
Every field is optional and a missing field keeps its stored value. That holds down to each price side and stock count, and 0 removes one: {"sets": {"prices": {"tf2": {"buy": 0}}}} stops buying sets for TF2 keys and changes nothing else. sets.stock, when sent, replaces the whole stock. Push at least every 30 minutes: a bot silent for an hour shows as stale, and after a day it is hidden.
/v1/bot.updateAuthorizationBearer token · headerrequiredAuthorizationstringrequiredBearer <bot key>
application/jsoncryptoBotPushCryptoCryptocurrency prices per set.
Show propertiesHide properties
pricesBotPushCryptoPrice[] | nullOne entry per coin.
Show propertiesHide properties
BotPushCryptoPricebuystringCoins the bot pays for one set, as a decimal string. "0" stops buying for this coin.
coinstringrequiredTicker, such as btc, eth or ltc.
sellstringCoins the bot sells one set for, as a decimal string such as "0.0000038". "0" stops selling for this coin.
gemsBotPushGemsThe gem market.
Show propertiesHide properties
pricesBotPushGemPricesGems per key or ticket.
Show propertiesHide properties
cs2BotPushRateGems per CS2 key.
Show propertiesHide properties
buynumber<double>What the bot buys at. 0 means it stopped buying.
sellnumber<double>What the bot sells at. 0 means it stopped selling.
hydraBotPushRateGems per Hydra key.
tf2BotPushRateGems per TF2 key.
todBotPushRateGems per Tour of Duty ticket.
stockinteger<int64>Gems the bot holds.
keysBotPushKeysKeys and tickets the bot holds. 0 clears a count.
Show propertiesHide properties
cs2integer<int32>CS2 keys the bot holds.
hydrainteger<int32>Hydra keys the bot holds.
tf2integer<int32>TF2 keys the bot holds.
todinteger<int32>Tour of Duty tickets the bot holds.
onlinebooleanWhether the bot is accepting trades.
setsBotPushSetsCard sets: stock, limits and prices.
Show propertiesHide properties
limitsBotPushLimitsLimits on what the bot sells.
Show propertiesHide properties
maxPerAppinteger<int32>Most sets of one app the bot sells to one user. 0 means no limit.
pricesBotPushSetPricesSet prices per currency.
Show propertiesHide properties
cs2BotPushRateSets per CS2 key.
gemsBotPushRateGems per set.
hydraBotPushRateSets per Hydra key.
tf2BotPushRateSets per TF2 key.
todBotPushRateSets per Tour of Duty ticket.
stockBotPushStockThe bot's full set stock. Replaces the stored stock.
Show propertiesHide properties
foilobjectApp ID to complete foil sets.
normalobjectApp ID to complete normal sets.
No Content
Bad Request
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Unauthorized
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Unprocessable Entity
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Internal Server Error
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.