This question already has an answer here:

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

marked as duplicate by pebwindkraft, anion, Nate Eldredge, Andrew Chow Jan 21 '18 at 0:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


There are an huge number of different sources, for instance CoinMarketCap have all the existing coins with the relative value in dollar, computed by averaging over many exchanges.

  • 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 Jan 19 '18 at 23:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.