Get Stock Prices

These routes are used to Save prices of the stocks. Get Stock Prices.

GET
/stock/price
/stock/price

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

gamestring

Game type to get price for

Value in: "FREE_FIRE" | "FREE_FIRE_SHELL" | "FREE_FIRE_SG" | "FREE_FIRE_ID"

amountstring

Amount for price check

curl -X GET "https://api.t4b.top/stock/price?game=FREE_FIRE&amount=string" \
  -H "Authorization: Bearer <token>"

Ok

{
  "data": {
    "prices": {
      "id": 0,
      "owner": 0,
      "game": "FREE_FIRE",
      "amount": 0,
      "price": "string",
      "note": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  },
  "statusCode": 200
}