Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth
Create a new user and obtain a unique API key or get an API key from an already created account without Steam OAuth.
Both accounts must be unrestricted on Waxpeer.
Target account must be new on Waxpeer or have no active 2fa and enabled the collection of account information (You can enable it on the site if it is turned off).
The token will not be used as a cookie in Steam during the API key creation/get process.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API key |
Request body
| Name | Location | Type | Description |
|---|---|---|---|
tokenoptional | body | string | Steam trade link token or access token |
{
"token": "ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2libUZ0WlNJNklrcHZhRzRnUkc5bElpd2lhV0YwSWpveE5URTJNak01TURJeWZRLlNmbEt4d1JKU01lS0tGMlFUNGZ3cE1lSmYzNlBPazZ5SlZfYWRRc3N3NWM="
}Responses
200 Successful operation
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
successoptional | boolean | Whether the operation succeeded | ||||||
msgoptional | enum | Reason message when success is false enum: Missing API, wrong api, You are banned, please contact support, missing_token, Token must be base64 encoded, You have restrictions on your account, You have restrictions on your target account, You can not use your own token, Wrong token, Please disable 2FA on the site first, You have disabled the collection of account information, please enable it on the website, Please try again later, Need to refresh access token | ||||||
dataoptional | object | Data object | ||||||
| ||||||||
expoptional | number | Token expiration time | ||||||
{
"success": true,
"msg": "Need to refresh access token",
"data": {
"api": "1hbhbhodexkdei1axlc3ka7woibo2h16zoyidjv5wfwvqd6bty39e4086d110228",
"isNew": true
},
"exp": 1712852259
}403 Invalid or missing API key
| Name | Type | Description |
|---|---|---|
successoptional | boolean | Whether the operation succeeded |
msgoptional | string | Reason message when success is false |
{
"success": false,
"msg": "Missing API"
}