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":5541038.280000000260770320892333984375,"last":5541038.280000000260770320892333984375,"buy":5541038.280000000260770320892333984375,"sell":5541038.280000000260770320892333984375,"symbol":"ARS"},"AUD":{"15m":30715.9599999999991268850862979888916015625,"last":30715.9599999999991268850862979888916015625,"buy":30715.9599999999991268850862979888916015625,"sell":30715.9599999999991268850862979888916015625,"symbol":"AUD"},"BRL":{"15m":113204.619999999995343387126922607421875,"last":113204.619999999995343387126922607421875,"buy":113204.619999999995343387126922607421875,"sell":113204.619999999995343387126922607421875,"symbol":"BRL"},"CAD":{"15m":27312.18999999999869032762944698333740234375,"last":27312.18999999999869032762944698333740234375,"buy":27312.18999999999869032762944698333740234375,"sell":27312.18999999999869032762944698333740234375,"symbol":"CAD"},"CHF":{"15m":20477.830000000001746229827404022216796875,"last":20477.830000000001746229827404022216796875,"buy":20477.830000000001746229827404022216796875,"sell":20477.830000000001746229827404022216796875,"symbol":"CHF"},"CLP":{"15m":20230096.7600000016391277313232421875,"last":20230096.7600000016391277313232421875,"buy":20230096.7600000016391277313232421875,"sell":20230096.7600000016391277313232421875,"symbol":"CLP"},"CNY":{"15m":143070.32999999998719431459903717041015625,"last":143070.32999999998719431459903717041015625,"buy":143070.32999999998719431459903717041015625,"sell":143070.32999999998719431459903717041015625,"symbol":"CNY"},"CZK":{"15m":514633.5900000000256113708019256591796875,"last":514633.5900000000256113708019256591796875,"buy":514633.5900000000256113708019256591796875,"sell":514633.5900000000256113708019256591796875,"symbol":"CZK"},"DKK":{"15m":152781.619999999995343387126922607421875,"last":152781.619999999995343387126922607421875,"buy":152781.619999999995343387126922607421875,"sell":152781.619999999995343387126922607421875,"symbol":"DKK"},"EUR":{"15m":20711.88000000000101863406598567962646484375,"last":20711.88000000000101863406598567962646484375,"buy":20711.88000000000101863406598567962646484375,"sell":20711.88000000000101863406598567962646484375,"symbol":"EUR"},"GBP":{"15m":17534.7900000000008731149137020111083984375,"last":17534.7900000000008731149137020111083984375,"buy":17534.7900000000008731149137020111083984375,"sell":17534.7900000000008731149137020111083984375,"symbol":"GBP"},"HKD":{"15m":164861.52999999999883584678173065185546875,"last":164861.52999999999883584678173065185546875,"buy":164861.52999999999883584678173065185546875,"sell":164861.52999999999883584678173065185546875,"symbol":"HKD"},"HRK":{"15m":143968.52999999999883584678173065185546875,"last":143968.52999999999883584678173065185546875,"buy":143968.52999999999883584678173065185546875,"sell":143968.52999999999883584678173065185546875,"symbol":"HRK"},"HUF":{"15m":7972746.2300000004470348358154296875,"last":7972746.2300000004470348358154296875,"buy":7972746.2300000004470348358154296875,"sell":7972746.2300000004470348358154296875,"symbol":"HUF"},"INR":{"15m":1672900.69999999995343387126922607421875,"last":1672900.69999999995343387126922607421875,"buy":1672900.69999999995343387126922607421875,"sell":1672900.69999999995343387126922607421875,"symbol":"INR"},"ISK":{"15m":5806491.84999999962747097015380859375,"last":5806491.84999999962747097015380859375,"buy":5806491.84999999962747097015380859375,"sell":5806491.84999999962747097015380859375,"symbol":"ISK"},"JPY":{"15m":2863592.66999999992549419403076171875,"last":2863592.66999999992549419403076171875,"buy":2863592.66999999992549419403076171875,"sell":2863592.66999999992549419403076171875,"symbol":"JPY"},"KRW":{"15m":27443115.429999999701976776123046875,"last":27443115.429999999701976776123046875,"buy":27443115.429999999701976776123046875,"sell":27443115.429999999701976776123046875,"symbol":"KRW"},"NZD":{"15m":34069.08999999999650754034519195556640625,"last":34069.08999999999650754034519195556640625,"buy":34069.08999999999650754034519195556640625,"sell":34069.08999999999650754034519195556640625,"symbol":"NZD"},"PLN":{"15m":98994.0700000000069849193096160888671875,"last":98994.0700000000069849193096160888671875,"buy":98994.0700000000069849193096160888671875,"sell":98994.0700000000069849193096160888671875,"symbol":"PLN"},"RON":{"15m":55402.77999999999883584678173065185546875,"last":55402.77999999999883584678173065185546875,"buy":55402.77999999999883584678173065185546875,"sell":55402.77999999999883584678173065185546875,"symbol":"RON"},"RUB":{"15m":1351751.34000000008381903171539306640625,"last":1351751.34000000008381903171539306640625,"buy":1351751.34000000008381903171539306640625,"sell":1351751.34000000008381903171539306640625,"symbol":"RUB"},"SEK":{"15m":204619.22000000000116415321826934814453125,"last":204619.22000000000116415321826934814453125,"buy":204619.22000000000116415321826934814453125,"sell":204619.22000000000116415321826934814453125,"symbol":"SEK"},"SGD":{"15m":29248.919999999998253770172595977783203125,"last":29248.919999999998253770172595977783203125,"buy":29248.919999999998253770172595977783203125,"sell":29248.919999999998253770172595977783203125,"symbol":"SGD"},"THB":{"15m":753266.01000000000931322574615478515625,"last":753266.01000000000931322574615478515625,"buy":753266.01000000000931322574615478515625,"sell":753266.01000000000931322574615478515625,"symbol":"THB"},"TRY":{"15m":363471.380000000004656612873077392578125,"last":363471.380000000004656612873077392578125,"buy":363471.380000000004656612873077392578125,"sell":363471.380000000004656612873077392578125,"symbol":"TRY"},"TWD":{"15m":30519705.7300000004470348358154296875,"last":30519705.7300000004470348358154296875,"buy":30519705.7300000004470348358154296875,"sell":30519705.7300000004470348358154296875,"symbol":"TWD"},"USD":{"15m":21041.75,"last":21041.75,"buy":21041.75,"sell":21041.75,"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.02373826