Adding XDC and LUNC in Crypto Query API

in crypto •  last year 

Getting an email today, titled "Missing coin for price.justyy.workers.dev/query" which is the Crypto Lookup/Query API I made

image.png

Adding support for two coins is trivial - just checking the coin symbol and adding them to json.

Tested it manually and seems working as expected!

$curl -X POST "https://price.justyy.workers.dev/query/" --data "xdc"
{"query":["xdc"],"time":"2023-05-02T19:12:06.601Z","result":["1 XDC = 0.038089864924999994 USD"]}

$ curl -X POST "https://price.justyy.workers.dev/query/" --data "lunc"
{"query":["lunc"],"time":"2023-05-02T19:12:16.321Z","result":["1 LUNC = 0.0001067 USD"]}

Steem to the Moon!

  • You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT!
  • Register a free STEEM account at SteemYY!
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!