sorry for bad english, let's just say i want to embed specific price of coin for example ethereum and bitcoin $20 price in my website, in other words it shows $20 rate of btc and eth on my website not whole coin price.

closed as off-topic by Raghav Sood, RedGrittyBrick, renlord, chytrik, 0xb10c Aug 9 '18 at 18:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product or service reviews are off-topic because they tend to attract subjective, low-quality, and spam answers. On the other hand, offerings in the Bitcoin space are still evolving rapidly which often renders answers outdated quickly. For more information see this meta-discussion." – Raghav Sood, RedGrittyBrick, renlord, chytrik, 0xb10c
If this question can be reworded to fit the rules in the help center, please edit the question.


You can use any exchange api or cryptocurrency market data api such as:



https://api.coinmarketcap.com/v2/ticker/1/?convert=USD returns the following:

    "data": {
        "id": 1, 
        "name": "Bitcoin", 
        "symbol": "BTC", 
        "website_slug": "bitcoin", 
        "rank": 1, 
        "circulating_supply": 17193862.0, 
        "total_supply": 17193862.0, 
        "max_supply": 21000000.0, 
        "quotes": {
            "USD": {
                "price": 6963.44528122, 
                "volume_24h": 3783503583.4896, 
                "market_cap": 119728517210.0, 
                "percent_change_1h": -0.51, 
                "percent_change_24h": -1.1, 
                "percent_change_7d": -14.16
        "last_updated": 1533575182
    "metadata": {
        "timestamp": 1533574768, 
        "error": null

You can then access the price using javascript and calculate how much $20 is worth.

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