Skip to content

Instantly share code, notes, and snippets.

@nolim1t
Created January 26, 2021 09:34
Show Gist options
  • Save nolim1t/7e8d208fca13c129357441eb2efccca1 to your computer and use it in GitHub Desktop.
Save nolim1t/7e8d208fca13c129357441eb2efccca1 to your computer and use it in GitHub Desktop.
THB Price APIs
# Weighted
curl "https://api.tdax.com/api/v3/ticker/24hr?symbol=btc_thb" | jq .weightedAvgPrice
# Last ask price
curl "https://api.tdax.com/api/v3/ticker/24hr?symbol=btc_thb" | jq .askPrice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment