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":146844594.11000001430511474609375,"last":146844594.11000001430511474609375,"buy":146844594.11000001430511474609375,"sell":146844594.11000001430511474609375,"symbol":"ARS"},"AUD":{"15m":168663.76999999998952262103557586669921875,"last":168663.76999999998952262103557586669921875,"buy":168663.76999999998952262103557586669921875,"sell":168663.76999999998952262103557586669921875,"symbol":"AUD"},"BRL":{"15m":597230.349999999976716935634613037109375,"last":597230.349999999976716935634613037109375,"buy":597230.349999999976716935634613037109375,"sell":597230.349999999976716935634613037109375,"symbol":"BRL"},"CAD":{"15m":151373.98000000001047737896442413330078125,"last":151373.98000000001047737896442413330078125,"buy":151373.98000000001047737896442413330078125,"sell":151373.98000000001047737896442413330078125,"symbol":"CAD"},"CHF":{"15m":88379.41000000000349245965480804443359375,"last":88379.41000000000349245965480804443359375,"buy":88379.41000000000349245965480804443359375,"sell":88379.41000000000349245965480804443359375,"symbol":"CHF"},"CLP":{"15m":106563594.87999999523162841796875,"last":106563594.87999999523162841796875,"buy":106563594.87999999523162841796875,"sell":106563594.87999999523162841796875,"symbol":"CLP"},"CNY":{"15m":785189.209999999962747097015380859375,"last":785189.209999999962747097015380859375,"buy":785189.209999999962747097015380859375,"sell":785189.209999999962747097015380859375,"symbol":"CNY"},"CZK":{"15m":2308464.9799999999813735485076904296875,"last":2308464.9799999999813735485076904296875,"buy":2308464.9799999999813735485076904296875,"sell":2308464.9799999999813735485076904296875,"symbol":"CZK"},"DKK":{"15m":704433.5,"last":704433.5,"buy":704433.5,"sell":704433.5,"symbol":"DKK"},"EUR":{"15m":94373.0700000000069849193096160888671875,"last":94373.0700000000069849193096160888671875,"buy":94373.0700000000069849193096160888671875,"sell":94373.0700000000069849193096160888671875,"symbol":"EUR"},"GBP":{"15m":81825.789999999993597157299518585205078125,"last":81825.789999999993597157299518585205078125,"buy":81825.789999999993597157299518585205078125,"sell":81825.789999999993597157299518585205078125,"symbol":"GBP"},"HKD":{"15m":858084.119999999995343387126922607421875,"last":858084.119999999995343387126922607421875,"buy":858084.119999999995343387126922607421875,"sell":858084.119999999995343387126922607421875,"symbol":"HKD"},"HRK":{"15m":507754.76000000000931322574615478515625,"last":507754.76000000000931322574615478515625,"buy":507754.76000000000931322574615478515625,"sell":507754.76000000000931322574615478515625,"symbol":"HRK"},"HUF":{"15m":37446823.820000000298023223876953125,"last":37446823.820000000298023223876953125,"buy":37446823.820000000298023223876953125,"sell":37446823.820000000298023223876953125,"symbol":"HUF"},"INR":{"15m":9707967.710000000894069671630859375,"last":9707967.710000000894069671630859375,"buy":9707967.710000000894069671630859375,"sell":9707967.710000000894069671630859375,"symbol":"INR"},"ISK":{"15m":14391022.56000000052154064178466796875,"last":14391022.56000000052154064178466796875,"buy":14391022.56000000052154064178466796875,"sell":14391022.56000000052154064178466796875,"symbol":"ISK"},"JPY":{"15m":16207901,"last":16207901,"buy":16207901,"sell":16207901,"symbol":"JPY"},"KRW":{"15m":153174814.5399999916553497314453125,"last":153174814.5399999916553497314453125,"buy":153174814.5399999916553497314453125,"sell":153174814.5399999916553497314453125,"symbol":"KRW"},"NGN":{"15m":169337554.1699999868869781494140625,"last":169337554.1699999868869781494140625,"buy":169337554.1699999868869781494140625,"sell":169337554.1699999868869781494140625,"symbol":"NGN"},"NZD":{"15m":187063.380000000004656612873077392578125,"last":187063.380000000004656612873077392578125,"buy":187063.380000000004656612873077392578125,"sell":187063.380000000004656612873077392578125,"symbol":"NZD"},"PLN":{"15m":402596.6599999999743886291980743408203125,"last":402596.6599999999743886291980743408203125,"buy":402596.6599999999743886291980743408203125,"sell":402596.6599999999743886291980743408203125,"symbol":"PLN"},"RON":{"15m":478642.890000000013969838619232177734375,"last":478642.890000000013969838619232177734375,"buy":478642.890000000013969838619232177734375,"sell":478642.890000000013969838619232177734375,"symbol":"RON"},"RUB":{"15m":8861429.1600000001490116119384765625,"last":8861429.1600000001490116119384765625,"buy":8861429.1600000001490116119384765625,"sell":8861429.1600000001490116119384765625,"symbol":"RUB"},"SEK":{"15m":1043004.709999999962747097015380859375,"last":1043004.709999999962747097015380859375,"buy":1043004.709999999962747097015380859375,"sell":1043004.709999999962747097015380859375,"symbol":"SEK"},"SGD":{"15m":141486.2999999999883584678173065185546875,"last":141486.2999999999883584678173065185546875,"buy":141486.2999999999883584678173065185546875,"sell":141486.2999999999883584678173065185546875,"symbol":"SGD"},"THB":{"15m":3565989.709999999962747097015380859375,"last":3565989.709999999962747097015380859375,"buy":3565989.709999999962747097015380859375,"sell":3565989.709999999962747097015380859375,"symbol":"THB"},"TRY":{"15m":4529790.15000000037252902984619140625,"last":4529790.15000000037252902984619140625,"buy":4529790.15000000037252902984619140625,"sell":4529790.15000000037252902984619140625,"symbol":"TRY"},"TWD":{"15m":3365426.870000000111758708953857421875,"last":3365426.870000000111758708953857421875,"buy":3365426.870000000111758708953857421875,"sell":3365426.870000000111758708953857421875,"symbol":"TWD"},"USD":{"15m":110078.39999999999417923390865325927734375,"last":110078.39999999999417923390865325927734375,"buy":110078.39999999999417923390865325927734375,"sell":110078.39999999999417923390865325927734375,"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.0045418