: How to prevent Googlebot from doing API requests? I have a currency converter site around 32k pages. Every pair for each page. And every page has 2 API requests. I started to see huge number
I have a currency converter site around 32k pages. Every pair for each page.
And every page has 2 API requests.
I started to see huge number of API requests. From users I have only few page views because it is a new site.
I think that Google is crawling and making those requests. How can I let Google crawl and index the page without doing API requests?
More posts by @Shelton105
1 Comments
Sorted by latest first Latest Oldest Best
If the API is being hit on every page load there is no way to display the page without hitting the API.
As @Steve Ostenmier points out you can embed the conversion data in javascript which Google will still be able to parse but will only result in a single hit to the API if your API supports getting all of the conversion rates in a single request. Either way whatever you do it will require a change to the underlying code driving your site.
A good rule of thumb to follow is anything an end user can do without requiring a password can be done by Google and if it is done will likely be done orders of magnitude greater in a far shorter amount of time than a single or small group of end users can achieve themselves
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.