Show API link on the right page dynamically

Show API link on the right page when click an item in the left. I can
only show link json url address now. I tried to show the content of the
url in the page. But I come across a cross domain error.