blockchain.info select value

Challenge: Show data from https://blockchain.info/tobtc?currency=USD&value=500 where USD and value is a parameter
Twig-Code:
{% set js1 = '{"ARS":{"15m":5370920.709999999962747097015380859375,"last":5370920.709999999962747097015380859375,"buy":5370920.709999999962747097015380859375,"sell":5370920.709999999962747097015380859375,"symbol":"ARS"},"AUD":{"15m":25034.0400000000008731149137020111083984375,"last":25034.0400000000008731149137020111083984375,"buy":25034.0400000000008731149137020111083984375,"sell":25034.0400000000008731149137020111083984375,"symbol":"AUD"},"BRL":{"15m":89221.6799999999930150806903839111328125,"last":89221.6799999999930150806903839111328125,"buy":89221.6799999999930150806903839111328125,"sell":89221.6799999999930150806903839111328125,"symbol":"BRL"},"CAD":{"15m":22741.11999999999898136593401432037353515625,"last":22741.11999999999898136593401432037353515625,"buy":22741.11999999999898136593401432037353515625,"sell":22741.11999999999898136593401432037353515625,"symbol":"CAD"},"CHF":{"15m":15951.760000000000218278728425502777099609375,"last":15951.760000000000218278728425502777099609375,"buy":15951.760000000000218278728425502777099609375,"sell":15951.760000000000218278728425502777099609375,"symbol":"CHF"},"CLP":{"15m":15222522.210000000894069671630859375,"last":15222522.210000000894069671630859375,"buy":15222522.210000000894069671630859375,"sell":15222522.210000000894069671630859375,"symbol":"CLP"},"CNY":{"15m":117386.460000000006402842700481414794921875,"last":117386.460000000006402842700481414794921875,"buy":117386.460000000006402842700481414794921875,"sell":117386.460000000006402842700481414794921875,"symbol":"CNY"},"CZK":{"15m":394653.8300000000162981450557708740234375,"last":394653.8300000000162981450557708740234375,"buy":394653.8300000000162981450557708740234375,"sell":394653.8300000000162981450557708740234375,"symbol":"CZK"},"DKK":{"15m":156301.76999999998952262103557586669921875,"last":156301.76999999998952262103557586669921875,"buy":156301.76999999998952262103557586669921875,"sell":156301.76999999998952262103557586669921875,"symbol":"DKK"},"EUR":{"15m":16147.59000000000014551915228366851806640625,"last":16147.59000000000014551915228366851806640625,"buy":16147.59000000000014551915228366851806640625,"sell":16147.59000000000014551915228366851806640625,"symbol":"EUR"},"GBP":{"15m":13823.920000000000072759576141834259033203125,"last":13823.920000000000072759576141834259033203125,"buy":13823.920000000000072759576141834259033203125,"sell":13823.920000000000072759576141834259033203125,"symbol":"GBP"},"HKD":{"15m":132145.23000000001047737896442413330078125,"last":132145.23000000001047737896442413330078125,"buy":132145.23000000001047737896442413330078125,"sell":132145.23000000001047737896442413330078125,"symbol":"HKD"},"HRK":{"15m":127790.91000000000349245965480804443359375,"last":127790.91000000000349245965480804443359375,"buy":127790.91000000000349245965480804443359375,"sell":127790.91000000000349245965480804443359375,"symbol":"HRK"},"HUF":{"15m":7655901.969999999739229679107666015625,"last":7655901.969999999739229679107666015625,"buy":7655901.969999999739229679107666015625,"sell":7655901.969999999739229679107666015625,"symbol":"HUF"},"INR":{"15m":1384697.2700000000186264514923095703125,"last":1384697.2700000000186264514923095703125,"buy":1384697.2700000000186264514923095703125,"sell":1384697.2700000000186264514923095703125,"symbol":"INR"},"ISK":{"15m":2558573.9100000001490116119384765625,"last":2558573.9100000001490116119384765625,"buy":2558573.9100000001490116119384765625,"sell":2558573.9100000001490116119384765625,"symbol":"ISK"},"JPY":{"15m":2298543.5,"last":2298543.5,"buy":2298543.5,"sell":2298543.5,"symbol":"JPY"},"KRW":{"15m":22809374.9800000004470348358154296875,"last":22809374.9800000004470348358154296875,"buy":22809374.9800000004470348358154296875,"sell":22809374.9800000004470348358154296875,"symbol":"KRW"},"NZD":{"15m":26608.7099999999991268850862979888916015625,"last":26608.7099999999991268850862979888916015625,"buy":26608.7099999999991268850862979888916015625,"sell":26608.7099999999991268850862979888916015625,"symbol":"NZD"},"PLN":{"15m":75661.610000000000582076609134674072265625,"last":75661.610000000000582076609134674072265625,"buy":75661.610000000000582076609134674072265625,"sell":75661.610000000000582076609134674072265625,"symbol":"PLN"},"RON":{"15m":83995.669999999998253770172595977783203125,"last":83995.669999999998253770172595977783203125,"buy":83995.669999999998253770172595977783203125,"sell":83995.669999999998253770172595977783203125,"symbol":"RON"},"RUB":{"15m":1051543.63999999989755451679229736328125,"last":1051543.63999999989755451679229736328125,"buy":1051543.63999999989755451679229736328125,"sell":1051543.63999999989755451679229736328125,"symbol":"RUB"},"SEK":{"15m":175255.02999999999883584678173065185546875,"last":175255.02999999999883584678173065185546875,"buy":175255.02999999999883584678173065185546875,"sell":175255.02999999999883584678173065185546875,"symbol":"SEK"},"SGD":{"15m":23173.97000000000116415321826934814453125,"last":23173.97000000000116415321826934814453125,"buy":23173.97000000000116415321826934814453125,"sell":23173.97000000000116415321826934814453125,"symbol":"SGD"},"THB":{"15m":591599.0600000000558793544769287109375,"last":591599.0600000000558793544769287109375,"buy":591599.0600000000558793544769287109375,"sell":591599.0600000000558793544769287109375,"symbol":"THB"},"TRY":{"15m":320675.119999999995343387126922607421875,"last":320675.119999999995343387126922607421875,"buy":320675.119999999995343387126922607421875,"sell":320675.119999999995343387126922607421875,"symbol":"TRY"},"TWD":{"15m":929848.25,"last":929848.25,"buy":929848.25,"sell":929848.25,"symbol":"TWD"},"USD":{"15m":16920.47999999999956344254314899444580078125,"last":16920.47999999999956344254314899444580078125,"buy":16920.47999999999956344254314899444580078125,"sell":16920.47999999999956344254314899444580078125,"symbol":"USD"}}' %} {% set shcDosc = (js1 | doshortcode) %} {% set shcArr = (shcDosc | json_decode(TRUE) ) %}
Value:

Result: {{nojsonvalue}}
In the above twig-code is “nameoftemplate=blockchaininfogetcurr”, in there is the URL https://blockchain.info/ticker and this twig
{{ _context | json_encode }}

In Action:

Value:

Result: 0.02954999