Zurück

BTC in EUR, USD and GBP

Get the value of BTC in EUR, USD and GBP for free as JSON

How to use?

Call the following URLs to generate a PDF:

  1. https://api.stakdek.de/api/btc/get_btc_value
    • Gets the value of BTC for all Currencies below
  2. https://api.stakdek.de/api/btc/get_btc_eur
    • Gets the value of BTC for EUR
  3. https://api.stakdek.de/api/btc/get_btc_usd
    • Gets the value of BTC for USB
  4. https://api.stakdek.de/api/btc/get_btc_gbp
    • Gets the value of BTC for GBP

 

Example using CURL

curl --ssl https://api.stakdek.de/api/btc/get_btc_value
 

JSON Result

{
    "EUR": {
        "code": "EUR",
        "description": "Euro",
        "rate": "30,839.4967",
        "rate_float": 30839.4967,
        "symbol": "€"
    },
    "GBP": {
        "code": "GBP",
        "description": "British Pound Sterling",
        "rate": "27,440.3436",
        "rate_float": 27440.3436,
        "symbol": "£"
    },
    "USD": {
        "code": "USD",
        "description": "United States Dollar",
        "rate": "37,329.1283",
        "rate_float": 37329.1283,
        "symbol": "$"
    }
}

This is an example result for calling "https://api.stakdek.de/api/btc/get_btc_value". 

Keys

  • "EUR" → The available currency
    • "code" → Currency code
    • "description" → Description of the Currency
    • "rate" → Equals 1 BTC as human-readable value
    • "rate_float" → Equals 1 BTC as float
    • "symbol" → Currency symbol