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":57587759.85999999940395355224609375,"last":57587759.85999999940395355224609375,"buy":57587759.85999999940395355224609375,"sell":57587759.85999999940395355224609375,"symbol":"ARS"},"AUD":{"15m":88273.539999999993597157299518585205078125,"last":88273.539999999993597157299518585205078125,"buy":88273.539999999993597157299518585205078125,"sell":88273.539999999993597157299518585205078125,"symbol":"AUD"},"BRL":{"15m":328494.4500000000116415321826934814453125,"last":328494.4500000000116415321826934814453125,"buy":328494.4500000000116415321826934814453125,"sell":328494.4500000000116415321826934814453125,"symbol":"BRL"},"CAD":{"15m":81402.5,"last":81402.5,"buy":81402.5,"sell":81402.5,"symbol":"CAD"},"CHF":{"15m":50555.4800000000032014213502407073974609375,"last":50555.4800000000032014213502407073974609375,"buy":50555.4800000000032014213502407073974609375,"sell":50555.4800000000032014213502407073974609375,"symbol":"CHF"},"CLP":{"15m":55780493.729999996721744537353515625,"last":55780493.729999996721744537353515625,"buy":55780493.729999996721744537353515625,"sell":55780493.729999996721744537353515625,"symbol":"CLP"},"CNY":{"15m":424353.51000000000931322574615478515625,"last":424353.51000000000931322574615478515625,"buy":424353.51000000000931322574615478515625,"sell":424353.51000000000931322574615478515625,"symbol":"CNY"},"CZK":{"15m":1350003.57000000006519258022308349609375,"last":1350003.57000000006519258022308349609375,"buy":1350003.57000000006519258022308349609375,"sell":1350003.57000000006519258022308349609375,"symbol":"CZK"},"DKK":{"15m":401849.9600000000209547579288482666015625,"last":401849.9600000000209547579288482666015625,"buy":401849.9600000000209547579288482666015625,"sell":401849.9600000000209547579288482666015625,"symbol":"DKK"},"EUR":{"15m":53859.2399999999979627318680286407470703125,"last":53859.2399999999979627318680286407470703125,"buy":53859.2399999999979627318680286407470703125,"sell":53859.2399999999979627318680286407470703125,"symbol":"EUR"},"GBP":{"15m":45349.4599999999991268850862979888916015625,"last":45349.4599999999991268850862979888916015625,"buy":45349.4599999999991268850862979888916015625,"sell":45349.4599999999991268850862979888916015625,"symbol":"GBP"},"HKD":{"15m":466868.1699999999837018549442291259765625,"last":466868.1699999999837018549442291259765625,"buy":466868.1699999999837018549442291259765625,"sell":466868.1699999999837018549442291259765625,"symbol":"HKD"},"HRK":{"15m":276336.2999999999883584678173065185546875,"last":276336.2999999999883584678173065185546875,"buy":276336.2999999999883584678173065185546875,"sell":276336.2999999999883584678173065185546875,"symbol":"HRK"},"HUF":{"15m":21234599.350000001490116119384765625,"last":21234599.350000001490116119384765625,"buy":21234599.350000001490116119384765625,"sell":21234599.350000001490116119384765625,"symbol":"HUF"},"INR":{"15m":5014943.1600000001490116119384765625,"last":5014943.1600000001490116119384765625,"buy":5014943.1600000001490116119384765625,"sell":5014943.1600000001490116119384765625,"symbol":"INR"},"ISK":{"15m":7832052.33000000007450580596923828125,"last":7832052.33000000007450580596923828125,"buy":7832052.33000000007450580596923828125,"sell":7832052.33000000007450580596923828125,"symbol":"ISK"},"JPY":{"15m":8493660.00999999977648258209228515625,"last":8493660.00999999977648258209228515625,"buy":8493660.00999999977648258209228515625,"sell":8493660.00999999977648258209228515625,"symbol":"JPY"},"KRW":{"15m":79352670.25,"last":79352670.25,"buy":79352670.25,"sell":79352670.25,"symbol":"KRW"},"NZD":{"15m":96248.8200000000069849193096160888671875,"last":96248.8200000000069849193096160888671875,"buy":96248.8200000000069849193096160888671875,"sell":96248.8200000000069849193096160888671875,"symbol":"NZD"},"PLN":{"15m":229932.6900000000023283064365386962890625,"last":229932.6900000000023283064365386962890625,"buy":229932.6900000000023283064365386962890625,"sell":229932.6900000000023283064365386962890625,"symbol":"PLN"},"RON":{"15m":219626.6799999999930150806903839111328125,"last":219626.6799999999930150806903839111328125,"buy":219626.6799999999930150806903839111328125,"sell":219626.6799999999930150806903839111328125,"symbol":"RON"},"RUB":{"15m":5502416.870000000111758708953857421875,"last":5502416.870000000111758708953857421875,"buy":5502416.870000000111758708953857421875,"sell":5502416.870000000111758708953857421875,"symbol":"RUB"},"SEK":{"15m":609774.790000000037252902984619140625,"last":609774.790000000037252902984619140625,"buy":609774.790000000037252902984619140625,"sell":609774.790000000037252902984619140625,"symbol":"SEK"},"SGD":{"15m":77508.289999999993597157299518585205078125,"last":77508.289999999993597157299518585205078125,"buy":77508.289999999993597157299518585205078125,"sell":77508.289999999993597157299518585205078125,"symbol":"SGD"},"THB":{"15m":1993184.6499999999068677425384521484375,"last":1993184.6499999999068677425384521484375,"buy":1993184.6499999999068677425384521484375,"sell":1993184.6499999999068677425384521484375,"symbol":"THB"},"TRY":{"15m":2042965.69999999995343387126922607421875,"last":2042965.69999999995343387126922607421875,"buy":2042965.69999999995343387126922607421875,"sell":2042965.69999999995343387126922607421875,"symbol":"TRY"},"TWD":{"15m":1917091.34000000008381903171539306640625,"last":1917091.34000000008381903171539306640625,"buy":1917091.34000000008381903171539306640625,"sell":1917091.34000000008381903171539306640625,"symbol":"TWD"},"USD":{"15m":59908.169999999998253770172595977783203125,"last":59908.169999999998253770172595977783203125,"buy":59908.169999999998253770172595977783203125,"sell":59908.169999999998253770172595977783203125,"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.00834611