Skip to main content
POST
/
api
/
steamdb
/
promotions
/steamdb/promotions
curl --request POST \
  --url https://api.anysite.io/api/steamdb/promotions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "app_id": 123,
    "name": "<string>",
    "@type": "@steamdb_promotion",
    "sub_id": 123,
    "type": "<string>",
    "image": "<string>",
    "url": "<string>",
    "start_at": "<string>",
    "end_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of results

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

app_id
integer
required
name
string
required
@type
string
default:@steamdb_promotion
sub_id
integer | null
type
string | null
image
string | null
url
string | null
start_at
string | null
end_at
string | null