Get Stocks

Get Avaialble Stocks of the User. This is the main endpoint for the stock module.

GET
/stock
/stock

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

gamestring

Game type to get stocks for

Value in: "FREE_FIRE" | "FREE_FIRE_SHELL" | "FREE_FIRE_SG" | "FREE_FIRE_ID"
curl -X GET "https://api.t4b.top/stock?game=FREE_FIRE" \
  -H "Authorization: Bearer <token>"

Ok

{
  "data": {
    "stocks": {
      "property1": {
        "amount": 0,
        "stockLen": 0,
        "stockIds": [
          0
        ],
        "usedAsBackupIds": [
          0
        ]
      },
      "property2": {
        "amount": 0,
        "stockLen": 0,
        "stockIds": [
          0
        ],
        "usedAsBackupIds": [
          0
        ]
      }
    },
    "stockAccounts": {
      "property1": {
        "currentUsesAccount": {
          "property1": 0,
          "property2": 0
        }
      },
      "property2": {
        "currentUsesAccount": {
          "property1": 0,
          "property2": 0
        }
      }
    }
  },
  "statusCode": 200
}