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":99706964.07999999821186065673828125,"last":99706964.07999999821186065673828125,"buy":99706964.07999999821186065673828125,"sell":99706964.07999999821186065673828125,"symbol":"ARS"},"AUD":{"15m":156089.22000000000116415321826934814453125,"last":156089.22000000000116415321826934814453125,"buy":156089.22000000000116415321826934814453125,"sell":156089.22000000000116415321826934814453125,"symbol":"AUD"},"BRL":{"15m":593819.369999999995343387126922607421875,"last":593819.369999999995343387126922607421875,"buy":593819.369999999995343387126922607421875,"sell":593819.369999999995343387126922607421875,"symbol":"BRL"},"CAD":{"15m":140261.76999999998952262103557586669921875,"last":140261.76999999998952262103557586669921875,"buy":140261.76999999998952262103557586669921875,"sell":140261.76999999998952262103557586669921875,"symbol":"CAD"},"CHF":{"15m":87217.58999999999650754034519195556640625,"last":87217.58999999999650754034519195556640625,"buy":87217.58999999999650754034519195556640625,"sell":87217.58999999999650754034519195556640625,"symbol":"CHF"},"CLP":{"15m":96512722.26999999582767486572265625,"last":96512722.26999999582767486572265625,"buy":96512722.26999999582767486572265625,"sell":96512722.26999999582767486572265625,"symbol":"CLP"},"CNY":{"15m":711919.76000000000931322574615478515625,"last":711919.76000000000931322574615478515625,"buy":711919.76000000000931322574615478515625,"sell":711919.76000000000931322574615478515625,"symbol":"CNY"},"CZK":{"15m":2350718.75999999977648258209228515625,"last":2350718.75999999977648258209228515625,"buy":2350718.75999999977648258209228515625,"sell":2350718.75999999977648258209228515625,"symbol":"CZK"},"DKK":{"15m":697791.420000000041909515857696533203125,"last":697791.420000000041909515857696533203125,"buy":697791.420000000041909515857696533203125,"sell":697791.420000000041909515857696533203125,"symbol":"DKK"},"EUR":{"15m":93548.800000000002910383045673370361328125,"last":93548.800000000002910383045673370361328125,"buy":93548.800000000002910383045673370361328125,"sell":93548.800000000002910383045673370361328125,"symbol":"EUR"},"GBP":{"15m":77644.080000000001746229827404022216796875,"last":77644.080000000001746229827404022216796875,"buy":77644.080000000001746229827404022216796875,"sell":77644.080000000001746229827404022216796875,"symbol":"GBP"},"HKD":{"15m":758612.540000000037252902984619140625,"last":758612.540000000037252902984619140625,"buy":758612.540000000037252902984619140625,"sell":758612.540000000037252902984619140625,"symbol":"HKD"},"HRK":{"15m":450064.0399999999790452420711517333984375,"last":450064.0399999999790452420711517333984375,"buy":450064.0399999999790452420711517333984375,"sell":450064.0399999999790452420711517333984375,"symbol":"HRK"},"HUF":{"15m":38729980.270000003278255462646484375,"last":38729980.270000003278255462646484375,"buy":38729980.270000003278255462646484375,"sell":38729980.270000003278255462646484375,"symbol":"HUF"},"INR":{"15m":8288570.940000000409781932830810546875,"last":8288570.940000000409781932830810546875,"buy":8288570.940000000409781932830810546875,"sell":8288570.940000000409781932830810546875,"symbol":"INR"},"ISK":{"15m":12755925.18999999947845935821533203125,"last":12755925.18999999947845935821533203125,"buy":12755925.18999999947845935821533203125,"sell":12755925.18999999947845935821533203125,"symbol":"ISK"},"JPY":{"15m":15264553.24000000022351741790771484375,"last":15264553.24000000022351741790771484375,"buy":15264553.24000000022351741790771484375,"sell":15264553.24000000022351741790771484375,"symbol":"JPY"},"KRW":{"15m":141129183.38999998569488525390625,"last":141129183.38999998569488525390625,"buy":141129183.38999998569488525390625,"sell":141129183.38999998569488525390625,"symbol":"KRW"},"NGN":{"15m":150768182.699999988079071044921875,"last":150768182.699999988079071044921875,"buy":150768182.699999988079071044921875,"sell":150768182.699999988079071044921875,"symbol":"NGN"},"NZD":{"15m":172509.5,"last":172509.5,"buy":172509.5,"sell":172509.5,"symbol":"NZD"},"PLN":{"15m":398804.8300000000162981450557708740234375,"last":398804.8300000000162981450557708740234375,"buy":398804.8300000000162981450557708740234375,"sell":398804.8300000000162981450557708740234375,"symbol":"PLN"},"RON":{"15m":465561.7999999999883584678173065185546875,"last":465561.7999999999883584678173065185546875,"buy":465561.7999999999883584678173065185546875,"sell":465561.7999999999883584678173065185546875,"symbol":"RON"},"RUB":{"15m":10044546.81000000052154064178466796875,"last":10044546.81000000052154064178466796875,"buy":10044546.81000000052154064178466796875,"sell":10044546.81000000052154064178466796875,"symbol":"RUB"},"SEK":{"15m":1076465.90999999991618096828460693359375,"last":1076465.90999999991618096828460693359375,"buy":1076465.90999999991618096828460693359375,"sell":1076465.90999999991618096828460693359375,"symbol":"SEK"},"SGD":{"15m":132267.75,"last":132267.75,"buy":132267.75,"sell":132267.75,"symbol":"SGD"},"THB":{"15m":3328998.209999999962747097015380859375,"last":3328998.209999999962747097015380859375,"buy":3328998.209999999962747097015380859375,"sell":3328998.209999999962747097015380859375,"symbol":"THB"},"TRY":{"15m":3433897.6800000001676380634307861328125,"last":3433897.6800000001676380634307861328125,"buy":3433897.6800000001676380634307861328125,"sell":3433897.6800000001676380634307861328125,"symbol":"TRY"},"TWD":{"15m":3183851.4300000001676380634307861328125,"last":3183851.4300000001676380634307861328125,"buy":3183851.4300000001676380634307861328125,"sell":3183851.4300000001676380634307861328125,"symbol":"TWD"},"USD":{"15m":97571.369999999995343387126922607421875,"last":97571.369999999995343387126922607421875,"buy":97571.369999999995343387126922607421875,"sell":97571.369999999995343387126922607421875,"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.00512433