<p>There are an huge number of different sources, for instance <a href="https://coinmarketcap.com/api/" rel="nofollow noreferrer">CoinMarketCap</a> have all the existing coins with the relative value in dollar, computed by averaging over many exchanges.</p>

CC BY-SA 3.0
2018-01-19T23:29:13.677Z
Ok... Please, how do i get and store the value of this crypto in a variable using php. So i can use as i deem fit.. A simple line of code or more, will be greatly appreciated.
user74651
CC BY-SA 3.0
2018-01-19T22:45:18.740Z
2018-01-19T22:45:18.740Z
Rexcirus
<p>How do i get the ETH rate in USD, and stored in a variable in php?</p>

CC BY-SA 3.0
2018-01-20T02:35:49.187Z
https://bitcoin.stackexchange.com/questions/60134/what-are-the-most-comprehensive-apis-for-cryptocurrency-market-data
Daniel Nugent
<ethereum>
Displaying price in ETH based on USD exchange rate
user74651
# Displaying price in ETH based on USD exchange rate

(Asked by: username_0 on 2018-01-19)

How do i get the ETH rate in USD, and stored in a variable in php?

**Tags:** ethereum

> **Comments:**
> **username_1**: https://bitcoin.stackexchange.com/questions/60134/what-are-the-most-comprehensive-apis-for-cryptocurrency-market-data  

---

## 1 answers

### Answer by username_2 on 2018-01-19. Score: 0

There are an huge number of different sources, for instance [CoinMarketCap](https://coinmarketcap.com/api/) have all the existing coins with the relative value in dollar, computed by averaging over many exchanges.

> **Comments:**
> **username_0**: Ok... Please, how do i get and store the value of this crypto in a variable using php. So i can use as i deem fit.. A simple line of code or more, will be greatly appreciated.  

---

