Skip to content
Sign up

Watchlist and alerts

Add to the watchlist

Follow an instrument. It joins the end of your list.

POST/api/v1/watchlistGet a key
curl --request POST \
  --url "https://reirex.com/api/v1/watchlist" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE" \
  --header "Content-Type: application/json" \
  --data '{"symbol":"ASML"}'

201 Createdapplication/json

{
  "symbols": ["BTC", "ETH", "XAU", "EURUSD", "ASML"],
  "limit": 100
}

Adding what is already there changes nothing. A list holds up to 100 instruments.

Bodyapplication/json

  • symbolstringrequired

    The instrument, such as ASML or XAU.

Response

  • symbolsstring[]

    The instruments you follow, in your order.

  • limitinteger

    How many it can hold.