---
search:
  tags:
    - Websites
    - POST
seo:
  description: >-
    Reports a website's status, market and the coins it takes, and answers what
    is now… Reference for the POST /v1/website.push endpoint in the SteamSets
    API.
sidebar:
  label: Push a website's status, market and coins
  badge: POST
title: Push a website's status, market and coins
type: openapi-operation
---
Reports a website's status, market and the coins it takes, and answers what is now stored, what in the push was ignored or looks wrong, and when the website goes stale.

Pushing is free. Authenticate with the website's key from `website.register` or `website.rotateKey`, or with your account key and `host`. Push at least every 30 minutes: a website silent for 45 minutes shows as stale, and after a day it is hidden.

### What a website sends

Every field is optional, and the market objects follow bot.push's patch rules: a field you leave out keeps its stored value, 0 removes a price side or a count, a stock you send replaces the stored stock, `{}` clears a map and `null` clears an object.

A TF2 key shop sends its key price and the coins it takes:

```json
{
  "isOnline": true,
  "keys": {
    "stock": {"tf2": 1200},
    "prices": {"usd": {"sell": 2.15, "buy": 1.95}}
  },
  "crypto": {"coins": ["btc", "eth", "ltc"]}
}
```

`keys.prices.usd.sell` is what you sell one TF2 key for, and `buy` what you pay for one. `crypto.coins` replaces the whole list: a coin you leave out goes. A website that takes no coins leaves `crypto` out, and one that stops taking them sends `"coins": []`. A coin needs no rate; to quote a price per set in a coin, send it in `sets.normal.prices.coinsPerSet` as in bot.push.

A website that sells sets sends them as a bot does, with its per-app limits and, in `sets.levelRange`, the account levels its stock is for. `languages` are the languages the website serves:

```json
{
  "sets": {
    "normal": {
      "stock": {"440": 3},
      "prices": {"setsPerKey": {"tf2": {"sell": 12, "buy": 14}}}
    },
    "limits": {"maxPerUserPerApp": 5},
    "levelRange": {"min": 1, "max": 200}
  },
  "languages": {"supported": ["en", "de"], "default": "en"}
}
```

### What a website does not send

A website has no chat commands, trade rules or feature list, and its URL is its host, fixed at registration. A bot.push field such as `commands`, `rules`, `features`, `profile`, `payment` or `steamId64`, and any other field this body does not define, is ignored and reported as a `fieldIgnored` issue; the rest of the push is stored.

### Testing unlisted

A push never changes who sees the website. To test your script before everyone sees it, hide the website on its page on SteamSets or with `bot.setListed` and its `web_` id: the website takes pushes, but only you and staff see it. New websites start listed.

`POST /v1/website.push`

**Request body** (`application/json`, required)

- `client` (BotPushRequestClient) — The script sending the push. When it is missing, the User-Agent header names the client.
- `crypto` (WebsitePushRequestCrypto) — The coins the website takes. Leave it out to keep the stored coins.
- `games` (BotPushRequestGames) — Steam games, as in bot.push.
- `gems` (BotPushRequestGems) — Gems, as in bot.push.
- `host` (string) — The website this push is for, in any spelling website.register takes. Required with your account key; optional with the website's key, and then it must be that website's.
- `isOnline` (boolean) — Whether the website is taking orders.
- `keys` (BotPushRequestKeys) — Keys the website holds, and prices.usd: what it sells one TF2 key for and pays for one, in US dollars.
- `languages` (object | null) — The languages the website serves. null clears them.
- `sets` (WebsitePushRequestSets) — Card sets: stock, prices and per-app limits, as in bot.push, and the account levels the stock is meant for.

Request body example:

```json
{
  "client": {
    "name": "Steam-levelup-BOT",
    "version": "2.4.1"
  },
  "crypto": {
    "coins": [
      "btc",
      "eth",
      "ltc"
    ]
  },
  "games": {
    "prices": {
      "keysPerGame": {
        "tf2": {
          "sell": 1.5
        }
      }
    },
    "stock": {
      "730": 2
    }
  },
  "gems": {
    "prices": {
      "gemsPerKey": {
        "tf2": {
          "buy": 3600,
          "sell": 3400
        }
      }
    },
    "stock": 100000
  },
  "host": "example.com",
  "isOnline": true,
  "keys": {
    "prices": {
      "usd": {
        "buy": 1.9,
        "sell": 2.1
      }
    },
    "stock": {
      "tf2": 10,
      "tod": 0
    }
  },
  "languages": {
    "default": "en",
    "supported": [
      "en",
      "de"
    ]
  },
  "sets": {
    "levelRange": {
      "max": 500,
      "min": 0
    },
    "limits": {
      "maxPerUserPerApp": 5
    },
    "normal": {
      "prices": {
        "setsPerKey": {
          "tf2": {
            "buy": 14,
            "sell": 12
          }
        }
      },
      "stock": {
        "440": 3
      }
    }
  }
}
```

**Responses**

- `200` — OK
- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `500` — Internal Server Error

Response example, 200:

```json
{
  "isClientOutdated": true,
  "issues": [
    {
      "code": "fieldIgnored",
      "message": "string",
      "path": "commands"
    }
  ],
  "staleAt": "2019-08-24T14:15:22Z",
  "stored": {
    "coins": [
      "string"
    ],
    "games": {
      "copies": 0,
      "titles": 0
    },
    "gems": 0,
    "keys": 0,
    "sets": {
      "apps": 0,
      "foil": 0,
      "normal": 0
    }
  }
}
```
