Add end of url using JSON

Add end of url using JSON

I would like to append the end of a url to my code. Moreover, the end of the url 
is the country currency that I would like to convert.

$
.getJSON('http://api.fixer.io/latest?base=', function(data) { //url += "USD"; $("#show").text(data.rates.GBP); });