{"openapi":"3.1.0","info":{"title":"API Skins API","version":"1","description":"CS2 skin prices (the lowest listing of every item on 20 marketplaces, checked every hour) and management of your DMarket and Market.CSGO trading robots. Prices are USD. Limits per subscription: Free: 60/minute, 100 price requests/month; Trader: 120/minute, 5000 price requests/month; Pro: 300/minute, 25000 price requests/month; Business: 300/minute, 100000 price requests/month. Get a key at https://apiskins.com/api-docs."},"externalDocs":{"description":"API docs","url":"https://apiskins.com/api-docs"},"servers":[{"url":"https://api.apiskins.com"}],"security":[{"api_key":[]}],"tags":[{"name":"Prices","description":"CS2 skin prices on every marketplace"},{"name":"DMarket undercutter","description":"Your DMarket offers and orders, run by the robot"},{"name":"Market.CSGO undercutter","description":"Your Market.CSGO offers and orders, run by the robot"}],"paths":{"/v1/prices":{"get":{"operationId":"getPrices","summary":"Prices of many items","description":"The lowest listing of items on each marketplace. Name up to 100 items with market_hash_name for a batch, or leave it out for every listed item. An item no marketplace lists is left out of the answer.\n\nA marketplace that does not list an item is left out of its prices.\n\nchanged_at is when the price last changed, checked_at when we last confirmed it.","tags":["Prices"],"parameters":[{"name":"market_hash_name","in":"query","required":false,"description":"An item's name. Repeat it for a batch of up to 100. Every listed item when left out","schema":{"type":"array","items":{"type":"string"},"maxItems":100},"style":"form","explode":true},{"name":"providers","in":"query","required":false,"description":"Comma separated marketplaces (see Marketplaces). All of them when left out","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ItemPrices"}},"example":[{"market_hash_name":"AK-47 | Redline (Field-Tested)","prices":[{"provider":"buff_163","price":31.42,"changed_at":"2026-10-15T09:40:00.000Z","checked_at":"2026-10-15T10:10:00.000Z"},{"provider":"cs_float","price":33.1,"changed_at":"2026-10-15T08:50:00.000Z","checked_at":"2026-10-15T10:10:00.000Z"}]}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/prices/{market_hash_name}":{"get":{"operationId":"getPrice","summary":"Prices of one item","description":"The lowest listing of one item on each marketplace. 404 when no marketplace lists it.","tags":["Prices"],"parameters":[{"name":"market_hash_name","in":"path","required":true,"description":"The item's name, URL-encoded","schema":{"type":"string"}},{"name":"providers","in":"query","required":false,"description":"Comma separated marketplaces (see Marketplaces). All of them when left out","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemPrices"},"example":{"market_hash_name":"AK-47 | Redline (Field-Tested)","prices":[{"provider":"buff_163","price":31.42,"changed_at":"2026-10-15T09:40:00.000Z","checked_at":"2026-10-15T10:10:00.000Z"},{"provider":"cs_float","price":33.1,"changed_at":"2026-10-15T08:50:00.000Z","checked_at":"2026-10-15T10:10:00.000Z"}]}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket":{"get":{"operationId":"dmarketGet","summary":"Accounts and limits","description":"Your DMarket accounts on the robot (connected with their DMarket API keys on the robot's page), and your subscription's limits for it.\n\nA limit of null means no limit of ours.\n\npaused: the account is over your subscription's accounts; its offers and orders wait.","tags":["DMarket undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Robot"},"example":{"robot":"dmarket","name":"DMarket undercutter","marketplace":"DMarket","limits":{"accounts":5,"offers_per_account":null,"orders_per_account":100},"accounts":[{"id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","name":"Main","paused":false,"balance":123.45,"note":null,"error":null,"checked_at":"2026-10-15T08:40:00.000Z"}]}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket/accounts/{account_id}/inventory":{"get":{"operationId":"dmarketInventory","summary":"An account's inventory","description":"The items in the account's DMarket inventory, with the asset_id to sell each by. sellable is false for items DMarket does not let you list.","tags":["DMarket undercutter"],"parameters":[{"name":"account_id","in":"path","required":true,"description":"The account's id, from GET /v1/robots/dmarket","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InventoryItem"}},"example":[{"asset_id":"4c1d8e2f-0b6a-4a51-9f3e-2d7c8b1a6e05","market_hash_name":"AK-47 | Redline (Field-Tested)","sellable":true,"suggested_price":33.1}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket/offers":{"get":{"operationId":"dmarketOffers","summary":"List offers","description":"Your offers on DMarket, on all your accounts, oldest first.","tags":["DMarket undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Offer"}},"example":[{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"4c1d8e2f-0b6a-4a51-9f3e-2d7c8b1a6e05","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40,"price":31.99,"competitor_price":32,"status":"active","error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"dmarketCreateOffer","summary":"Sell an item","description":"The robot lists the item on DMarket and keeps it the cheapest offer of its name, never under min_price. With no one to undercut it sells at max_price.","tags":["DMarket undercutter"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["account_id","asset_id","market_hash_name","min_price","max_price"],"properties":{"account_id":{"type":"string","description":"The account that owns the item"},"asset_id":{"type":"string","description":"The item's DMarket id, from the account's inventory"},"market_hash_name":{"type":"string","description":"The item's name"},"min_price":{"type":"number","description":"USD, at most two decimals"},"max_price":{"type":"number","description":"USD, at most two decimals"}}},"example":{"account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"4c1d8e2f-0b6a-4a51-9f3e-2d7c8b1a6e05","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"},"example":{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"4c1d8e2f-0b6a-4a51-9f3e-2d7c8b1a6e05","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40,"price":null,"competitor_price":null,"status":"pending","error":null,"updated_at":null,"created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket/offers/{offer_id}":{"patch":{"operationId":"dmarketUpdateOffer","summary":"Change an offer","description":"New limits apply within seconds, or once the price unlocks: a price the robot changed stays for 15 minutes.","tags":["DMarket undercutter"],"parameters":[{"name":"offer_id","in":"path","required":true,"description":"The offer's id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"min_price":{"type":"number","description":"USD"},"max_price":{"type":"number","description":"USD"}}},"example":{"min_price":30,"max_price":39.5}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"},"example":{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"4c1d8e2f-0b6a-4a51-9f3e-2d7c8b1a6e05","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":39.5,"price":31.99,"competitor_price":32,"status":"active","error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"dmarketDeleteOffer","summary":"Remove an offer","description":"Takes the item off sale on DMarket and forgets the offer. One already gone there is simply forgotten.","tags":["DMarket undercutter"],"parameters":[{"name":"offer_id","in":"path","required":true,"description":"The offer's id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removed"},"example":{"removed":true}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket/orders":{"get":{"operationId":"dmarketOrders","summary":"List orders","description":"Your buy orders on DMarket, on all your accounts, oldest first.","tags":["DMarket undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Order"}},"example":[{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30,"price":28.51,"competitor_price":28.5,"status":"active","placed":true,"error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"dmarketCreateOrder","summary":"Buy an item","description":"The robot places a DMarket buy order (a \"target\") and keeps it the highest, never over max_price. With no one to outbid it bids min_price. DMarket allows up to 100 orders per account.","tags":["DMarket undercutter"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["account_id","market_hash_name","amount","min_price","max_price"],"properties":{"account_id":{"type":"string","description":"The account to buy with"},"market_hash_name":{"type":"string","description":"The item's name"},"amount":{"type":"number","description":"How many to buy, 1 to 100"},"min_price":{"type":"number","description":"USD, at most two decimals"},"max_price":{"type":"number","description":"USD, at most two decimals"}}},"example":{"account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"},"example":{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30,"price":null,"competitor_price":null,"status":"pending","placed":false,"error":null,"updated_at":null,"created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/dmarket/orders/{order_id}":{"patch":{"operationId":"dmarketUpdateOrder","summary":"Change an order","description":"New limits, and a new amount while the order is not placed yet. DMarket cannot change an order's price: each new price is a new target, made in place of the old one. A placed order's amount only goes down as it fills: remove it and add it again to buy more.","tags":["DMarket undercutter"],"parameters":[{"name":"order_id","in":"path","required":true,"description":"The order's id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"min_price":{"type":"number","description":"USD"},"max_price":{"type":"number","description":"USD"},"amount":{"type":"number","description":"Only before the order is placed"}}},"example":{"min_price":26,"max_price":31}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"},"example":{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":26,"max_price":31,"price":28.51,"competitor_price":28.5,"status":"active","placed":true,"error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"dmarketDeleteOrder","summary":"Remove an order","description":"Removes the order from DMarket and forgets it. One already gone there is simply forgotten.","tags":["DMarket undercutter"],"parameters":[{"name":"order_id","in":"path","required":true,"description":"The order's id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removed"},"example":{"removed":true}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo":{"get":{"operationId":"marketCsgoGet","summary":"Accounts and limits","description":"Your Market.CSGO accounts on the robot (connected with their Market.CSGO API keys on the robot's page), and your subscription's limits for it. An account's note says what stands in the way of selling, e.g. being offline.\n\nA limit of null means no limit of ours.\n\npaused: the account is over your subscription's accounts; its offers and orders wait.","tags":["Market.CSGO undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Robot"},"example":{"robot":"market-csgo","name":"Market.CSGO undercutter","marketplace":"Market.CSGO","limits":{"accounts":5,"offers_per_account":null,"orders_per_account":100},"accounts":[{"id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","name":"Main","paused":false,"balance":123.45,"note":null,"error":null,"checked_at":"2026-10-15T08:40:00.000Z"}]}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo/accounts/{account_id}/inventory":{"get":{"operationId":"marketCsgoInventory","summary":"An account's inventory","description":"The Steam items Market.CSGO can sell from the account, with the asset_id to sell each by.","tags":["Market.CSGO undercutter"],"parameters":[{"name":"account_id","in":"path","required":true,"description":"The account's id, from GET /v1/robots/market-csgo","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InventoryItem"}},"example":[{"asset_id":"38215462179","market_hash_name":"AK-47 | Redline (Field-Tested)","sellable":true,"suggested_price":33.1}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo/offers":{"get":{"operationId":"marketCsgoOffers","summary":"List offers","description":"Your offers on Market.CSGO, on all your accounts, oldest first.","tags":["Market.CSGO undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Offer"}},"example":[{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"38215462179","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40,"price":31.99,"competitor_price":32,"status":"active","error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"marketCsgoCreateOffer","summary":"Sell an item","description":"The robot puts the item up for sale on Market.CSGO and keeps it the cheapest offer of its name, never under min_price. With no one to undercut it sells at max_price. Offers only show while the account is online in Market.CSGO's app or browser extension.","tags":["Market.CSGO undercutter"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["account_id","asset_id","market_hash_name","min_price","max_price"],"properties":{"account_id":{"type":"string","description":"The account that owns the item"},"asset_id":{"type":"string","description":"The item's Steam asset id, from the account's inventory"},"market_hash_name":{"type":"string","description":"The item's name"},"min_price":{"type":"number","description":"USD, at most two decimals"},"max_price":{"type":"number","description":"USD, at most two decimals"}}},"example":{"account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"38215462179","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"},"example":{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"38215462179","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":40,"price":null,"competitor_price":null,"status":"pending","error":null,"updated_at":null,"created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo/offers/{offer_id}":{"patch":{"operationId":"marketCsgoUpdateOffer","summary":"Change an offer","description":"New limits apply within seconds, or once the price unlocks: a price the robot changed stays for 15 minutes.","tags":["Market.CSGO undercutter"],"parameters":[{"name":"offer_id","in":"path","required":true,"description":"The offer's id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"min_price":{"type":"number","description":"USD"},"max_price":{"type":"number","description":"USD"}}},"example":{"min_price":30,"max_price":39.5}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offer"},"example":{"id":"b3a90c55-7e1f-4c1b-8d2e-55a1c9e04f7a","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","asset_id":"38215462179","market_hash_name":"AK-47 | Redline (Field-Tested)","min_price":30,"max_price":39.5,"price":31.99,"competitor_price":32,"status":"active","error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"marketCsgoDeleteOffer","summary":"Remove an offer","description":"Takes the item off sale on Market.CSGO and forgets the offer. One already gone there is simply forgotten.","tags":["Market.CSGO undercutter"],"parameters":[{"name":"offer_id","in":"path","required":true,"description":"The offer's id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removed"},"example":{"removed":true}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo/orders":{"get":{"operationId":"marketCsgoOrders","summary":"List orders","description":"Your buy orders on Market.CSGO, on all your accounts, oldest first.","tags":["Market.CSGO undercutter"],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Order"}},"example":[{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30,"price":28.51,"competitor_price":28.5,"status":"active","placed":true,"error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}]}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"marketCsgoCreateOrder","summary":"Buy an item","description":"The robot places a Market.CSGO buy order and keeps it the highest, never over max_price. With no one to outbid it bids min_price. Market.CSGO allows one order per item and up to 100 orders per account.","tags":["Market.CSGO undercutter"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["account_id","market_hash_name","amount","min_price","max_price"],"properties":{"account_id":{"type":"string","description":"The account to buy with"},"market_hash_name":{"type":"string","description":"The item's name"},"amount":{"type":"number","description":"How many to buy, 1 to 100"},"min_price":{"type":"number","description":"USD, at most two decimals"},"max_price":{"type":"number","description":"USD, at most two decimals"}}},"example":{"account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"},"example":{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":25,"max_price":30,"price":null,"competitor_price":null,"status":"pending","placed":false,"error":null,"updated_at":null,"created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/robots/market-csgo/orders/{order_id}":{"patch":{"operationId":"marketCsgoUpdateOrder","summary":"Change an order","description":"New limits, and a new amount while the order is not placed yet. Market.CSGO changes the order's price in place. A placed order's amount only goes down as it fills: remove it and add it again to buy more.","tags":["Market.CSGO undercutter"],"parameters":[{"name":"order_id","in":"path","required":true,"description":"The order's id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"min_price":{"type":"number","description":"USD"},"max_price":{"type":"number","description":"USD"},"amount":{"type":"number","description":"Only before the order is placed"}}},"example":{"min_price":26,"max_price":31}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"},"example":{"id":"0d7e4b2c-91aa-4f63-b2e8-7c35e1d8a904","account_id":"6f1c2e0a-41d2-4a8e-9a8c-1f5b2d7e9c11","market_hash_name":"AK-47 | Redline (Field-Tested)","amount":2,"min_price":26,"max_price":31,"price":28.51,"competitor_price":28.5,"status":"active","placed":true,"error":null,"updated_at":"2026-10-15T08:40:00.000Z","created_at":"2026-10-14T12:00:00.000Z"}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"marketCsgoDeleteOrder","summary":"Remove an order","description":"Removes the order from Market.CSGO and forgets it. One already gone there is simply forgotten.","tags":["Market.CSGO undercutter"],"parameters":[{"name":"order_id","in":"path","required":true,"description":"The order's id","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removed"},"example":{"removed":true}}}},"400":{"description":"Something in the request is wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The key is missing or wrong","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such item, robot, account, offer or order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not possible now, e.g. over the subscription's limits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (wait Retry-After seconds) or monthly limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"api_key":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"schemas":{"ItemPrices":{"type":"object","required":["market_hash_name","prices"],"properties":{"market_hash_name":{"type":"string"},"prices":{"type":"array","items":{"type":"object","required":["provider","price","changed_at","checked_at"],"properties":{"provider":{"type":"string","enum":["cs_float","buff_163","youpin","dmarket","skinport","cs_money","market_csgo","buff_market","waxpeer","lis_skins","skin_baron","halo_skins","white_market","shadow_pay","gamer_pay","cs_deals","avan_market","skin_flow","skin_out","skins"]},"price":{"type":"number","description":"Lowest listing, USD"},"changed_at":{"type":"string","format":"date-time"},"checked_at":{"type":"string","format":"date-time"}}}}}},"Robot":{"type":"object","properties":{"robot":{"type":"string"},"name":{"type":"string"},"marketplace":{"type":"string"},"limits":{"type":"object","properties":{"accounts":{"type":"integer"},"offers_per_account":{"type":["integer","null"]},"orders_per_account":{"type":["integer","null"]}}},"accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"paused":{"type":"boolean"},"balance":{"type":["number","null"]},"note":{"type":["string","null"]},"error":{"type":["string","null"]},"checked_at":{"type":["string","null"],"format":"date-time"}}}}}},"InventoryItem":{"type":"object","properties":{"asset_id":{"type":"string"},"market_hash_name":{"type":"string"},"sellable":{"type":"boolean"},"suggested_price":{"type":["number","null"]}}},"Offer":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"account_id":{"type":"string","format":"uuid"},"asset_id":{"type":"string"},"market_hash_name":{"type":"string"},"min_price":{"type":"number"},"max_price":{"type":"number"},"price":{"type":["number","null"]},"competitor_price":{"type":["number","null"]},"status":{"type":"string","enum":["pending","active","paused","sold","closed"]},"error":{"type":["string","null"]},"updated_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"}}},"Order":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"account_id":{"type":"string","format":"uuid"},"market_hash_name":{"type":"string"},"amount":{"type":"integer"},"min_price":{"type":"number"},"max_price":{"type":"number"},"price":{"type":["number","null"]},"competitor_price":{"type":["number","null"]},"status":{"type":"string","enum":["pending","active","paused","closed"]},"placed":{"type":"boolean"},"error":{"type":["string","null"]},"updated_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"}}},"Removed":{"type":"object","properties":{"removed":{"type":"boolean","const":true}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}}}