SkinsMoney / CS2 skin withdrawal API

Buy CS2 skins through the API

Your server picks a skin, sets the most it will pay in USD and passes the recipient's Trade URL. SkinsMoney buys the item and sends the trade offer. Sites use it for skin withdrawals, prizes and rewards.

What you can build

Anything that ends with "this user should get this skin" and is paid from your balance, not from the user's card.

Withdrawals

Let users of a case or gaming site take out winnings as real skins in their Steam inventory.

Prizes and giveaways

Send tournament prizes or stream giveaways straight to each winner's Trade URL.

Price limit per order

maxPrice caps every purchase in USD. If no offer fits under it, you are not charged.

Safe retries

custom must be unique within a service. A retried request with the same custom is rejected, so a network error cannot buy the skin twice.

How a purchase works

  1. Find an offer

    GET /buys/for-sale with filter[name] and filter[max_price] returns items with their ID, price and float.

  2. Place the order

    POST /buys with itemId or itemName, maxPrice and the recipient's tradeUrl. The price comes off your USD balance.

  3. Recipient accepts

    The recipient gets a Steam trade offer. Status 1 means it is waiting for them.

  4. Track to the end

    Receive IPNs on your purchase URL, or poll GET /buys/{id} and GET /buys/status/many. Status 2 is a completed purchase.

Request
curl -X POST "https://api.skinsmoney.gg/v1/services/SERVICE_UUID/buys" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Accept: application/json" \
  --json '{
    "itemName": "AK-47 | Redline (Field-Tested)",
    "maxPrice": 30,
    "tradeUrl": "https://steamcommunity.com/tradeoffer/new/?partner=000&token=xxx",
    "custom": "withdrawal-55120"
  }'
Response
{
  "success": true,
  "type": "response",
  "data": {
    "buyId": "01957697-0874-72b1-928d-de615dc24db8",
    "steamOfferId": "1111111111",
    "buyPrice": 27.41
  }
}

A response with buyId means the order was placed, not that the skin was delivered. Wait for status 2 before you mark the withdrawal as done. If the order cannot start, you get success: false with a stable code, such as PRICE_EXCEEDS_MAX, INSUFFICIENT_FUNDS or STEAM_INVENTORY_IS_PRIVATE.

Purchase statuses

CodeWhat it means
2Completed. The recipient has the skin.
1Trade offer sent, waiting for the recipient to accept it.
3Purchase still processing upstream. Keep polling.
-1The recipient did not accept the offer in time.
-5The recipient cannot trade, for example because of a Steam trade hold.
-10No offer was available under maxPrice when the order ran.
-12The recipient's Steam inventory is private.
-13, -14The trade was reversed after delivery.

Most failed purchases fail on the recipient side: an account that cannot trade, a private inventory or an offer left until it expires. Ask users to make their inventory public and check their Trade URL before they request a withdrawal.

Questions from developers

itemId or itemName?

Send itemId to buy a specific offer from /buys/for-sale. Send itemName when you only care about the skin. SkinsMoney then buys its cheapest offer, as long as the price is within maxPrice.

How do I fund purchases?

Purchases come off your partner balance in USD. The order reserves maxPrice, so the balance has to cover it, and the difference is released once the real price is known. Check the balance with GET /v1/wallet/balance before large batches. The panel shows the funding methods available to your account.

What if the skin is no longer available?

The purchase ends with status -10. Fetch fresh offers and order again, or raise maxPrice if the item is still listed above your limit.

Do I need an IPN URL?

No, polling works too. An IPN URL for purchases gets you each status change as it happens and saves you a polling loop.

What do I need to start?

A partner account, a service with purchases enabled, an API key with your server IP on its allowlist and a positive balance.

View API docs Product overview

Put skins to work in both directions.

Start with deposits, API purchases or both services. Create an account and talk to us about activating your integration.