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":99746678.680000007152557373046875,"last":99746678.680000007152557373046875,"buy":99746678.680000007152557373046875,"sell":99746678.680000007152557373046875,"symbol":"ARS"},"AUD":{"15m":156137.54000000000814907252788543701171875,"last":156137.54000000000814907252788543701171875,"buy":156137.54000000000814907252788543701171875,"sell":156137.54000000000814907252788543701171875,"symbol":"AUD"},"BRL":{"15m":594003.209999999962747097015380859375,"last":594003.209999999962747097015380859375,"buy":594003.209999999962747097015380859375,"sell":594003.209999999962747097015380859375,"symbol":"BRL"},"CAD":{"15m":140305.2000000000116415321826934814453125,"last":140305.2000000000116415321826934814453125,"buy":140305.2000000000116415321826934814453125,"sell":140305.2000000000116415321826934814453125,"symbol":"CAD"},"CHF":{"15m":87244.58999999999650754034519195556640625,"last":87244.58999999999650754034519195556640625,"buy":87244.58999999999650754034519195556640625,"sell":87244.58999999999650754034519195556640625,"symbol":"CHF"},"CLP":{"15m":96542602.51000000536441802978515625,"last":96542602.51000000536441802978515625,"buy":96542602.51000000536441802978515625,"sell":96542602.51000000536441802978515625,"symbol":"CLP"},"CNY":{"15m":712140.170000000041909515857696533203125,"last":712140.170000000041909515857696533203125,"buy":712140.170000000041909515857696533203125,"sell":712140.170000000041909515857696533203125,"symbol":"CNY"},"CZK":{"15m":2351446.540000000037252902984619140625,"last":2351446.540000000037252902984619140625,"buy":2351446.540000000037252902984619140625,"sell":2351446.540000000037252902984619140625,"symbol":"CZK"},"DKK":{"15m":698007.459999999962747097015380859375,"last":698007.459999999962747097015380859375,"buy":698007.459999999962747097015380859375,"sell":698007.459999999962747097015380859375,"symbol":"DKK"},"EUR":{"15m":93586.740000000005238689482212066650390625,"last":93586.740000000005238689482212066650390625,"buy":93586.740000000005238689482212066650390625,"sell":93586.740000000005238689482212066650390625,"symbol":"EUR"},"GBP":{"15m":77640.300000000002910383045673370361328125,"last":77640.300000000002910383045673370361328125,"buy":77640.300000000002910383045673370361328125,"sell":77640.300000000002910383045673370361328125,"symbol":"GBP"},"HKD":{"15m":758847.400000000023283064365386962890625,"last":758847.400000000023283064365386962890625,"buy":758847.400000000023283064365386962890625,"sell":758847.400000000023283064365386962890625,"symbol":"HKD"},"HRK":{"15m":450203.380000000004656612873077392578125,"last":450203.380000000004656612873077392578125,"buy":450203.380000000004656612873077392578125,"sell":450203.380000000004656612873077392578125,"symbol":"HRK"},"HUF":{"15m":38741971.020000003278255462646484375,"last":38741971.020000003278255462646484375,"buy":38741971.020000003278255462646484375,"sell":38741971.020000003278255462646484375,"symbol":"HUF"},"INR":{"15m":8291500.049999999813735485076904296875,"last":8291500.049999999813735485076904296875,"buy":8291500.049999999813735485076904296875,"sell":8291500.049999999813735485076904296875,"symbol":"INR"},"ISK":{"15m":12759874.4100000001490116119384765625,"last":12759874.4100000001490116119384765625,"buy":12759874.4100000001490116119384765625,"sell":12759874.4100000001490116119384765625,"symbol":"ISK"},"JPY":{"15m":15269279.13000000081956386566162109375,"last":15269279.13000000081956386566162109375,"buy":15269279.13000000081956386566162109375,"sell":15269279.13000000081956386566162109375,"symbol":"JPY"},"KRW":{"15m":141172876.8300000131130218505859375,"last":141172876.8300000131130218505859375,"buy":141172876.8300000131130218505859375,"sell":141172876.8300000131130218505859375,"symbol":"KRW"},"NGN":{"15m":150814860.36000001430511474609375,"last":150814860.36000001430511474609375,"buy":150814860.36000001430511474609375,"sell":150814860.36000001430511474609375,"symbol":"NGN"},"NZD":{"15m":172562.91000000000349245965480804443359375,"last":172562.91000000000349245965480804443359375,"buy":172562.91000000000349245965480804443359375,"sell":172562.91000000000349245965480804443359375,"symbol":"NZD"},"PLN":{"15m":398998.4799999999813735485076904296875,"last":398998.4799999999813735485076904296875,"buy":398998.4799999999813735485076904296875,"sell":398998.4799999999813735485076904296875,"symbol":"PLN"},"RON":{"15m":465705.9400000000023283064365386962890625,"last":465705.9400000000023283064365386962890625,"buy":465705.9400000000023283064365386962890625,"sell":465705.9400000000023283064365386962890625,"symbol":"RON"},"RUB":{"15m":10047656.5899999998509883880615234375,"last":10047656.5899999998509883880615234375,"buy":10047656.5899999998509883880615234375,"sell":10047656.5899999998509883880615234375,"symbol":"RUB"},"SEK":{"15m":1077394.5600000000558793544769287109375,"last":1077394.5600000000558793544769287109375,"buy":1077394.5600000000558793544769287109375,"sell":1077394.5600000000558793544769287109375,"symbol":"SEK"},"SGD":{"15m":132308.7000000000116415321826934814453125,"last":132308.7000000000116415321826934814453125,"buy":132308.7000000000116415321826934814453125,"sell":132308.7000000000116415321826934814453125,"symbol":"SGD"},"THB":{"15m":3338107.74000000022351741790771484375,"last":3338107.74000000022351741790771484375,"buy":3338107.74000000022351741790771484375,"sell":3338107.74000000022351741790771484375,"symbol":"THB"},"TRY":{"15m":3434960.8100000000558793544769287109375,"last":3434960.8100000000558793544769287109375,"buy":3434960.8100000000558793544769287109375,"sell":3434960.8100000000558793544769287109375,"symbol":"TRY"},"TWD":{"15m":3184837.1499999999068677425384521484375,"last":3184837.1499999999068677425384521484375,"buy":3184837.1499999999068677425384521484375,"sell":3184837.1499999999068677425384521484375,"symbol":"TWD"},"USD":{"15m":97601.580000000001746229827404022216796875,"last":97601.580000000001746229827404022216796875,"buy":97601.580000000001746229827404022216796875,"sell":97601.580000000001746229827404022216796875,"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.00512883