First of all, you should sepperate the api at the bottom of the page to a different page. I think it is not good to have it in the index page. When you sepperate the api to a different page, place it in the middle of the page and give a google ad to the top and bottom.