Skip to main content
POST
/
api
/
steamdb
/
sales
/steamdb/sales
curl --request POST \
  --url https://api.anysite.io/api/steamdb/sales \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "min_discount": 50
}
'
[
  {
    "app_id": 123,
    "name": "<string>",
    "url": "<string>",
    "discount_percent": 123,
    "@type": "@steamdb_sale",
    "image": "<string>",
    "price_current": "<string>",
    "deal_type": "<string>",
    "rating": 123,
    "release_date": "<string>",
    "is_historical_low": false,
    "steam_store_url": "<string>",
    "ends_at": "<string>",
    "started_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of discounted games to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
min_discount
integer | null

Only return games discounted at least this percent

Required range: 1 <= x <= 100

Response

Successful Response

app_id
integer
required
name
string
required
url
string
required
discount_percent
integer
required
@type
string
default:@steamdb_sale
image
string | null
price_current
string | null
deal_type
string | null
rating
number | null
release_date
string | null
is_historical_low
boolean
default:false
steam_store_url
string | null
ends_at
string | null
started_at
string | null