Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

153
Views
I can't figure how to use the axios.get() call to get the prices of cryptocurrencies using the coin gecko API

I am trying to just get the prices of bitcoin, ethereum, and dogecoin data using coingeckos api. I am trying to use the axios call axios.get method but I can't seem to figure it out.

This is the code I have so far:

const cryptSettings = async() => {
    const response = await axios.get('https://api.coingecko.com/api/v3/simple/price?ids=bitcoin%2Cethereum%2Cdogecoin&vs_currencies=usd')
    console.log(response)
}
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

try response.data in your console.log

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!