Fetch as Googlebot
GET /v1/googlebot-fetch
Executes JavaScript, loads resources, and returns what Googlebot would see
User Agent
Googlebot/2.1 (+http://www.google.com/bot.html)
JS Execution
Full Chromium
IP Range
Google ASN 15169
Code Examples
curl https://api.cloudenci.com/v1/googlebot-fetch \ -H "Authorization: Bearer YOUR_KEY" \ -G \ -d "url=https%3A%2F%2Fexample.com%2Fpage" \ -d "device=mobile"
import requests response = requests.get( "https://api.cloudenci.com/v1/googlebot-fetch", headers={"Authorization": "Bearer YOUR_KEY"}, params={ "url": "https://example.com/page", "device": "mobile" } ) data = response.json() # Returns rendered HTML, resources, timing, and more print(data["render_time_ms"])
const res = await fetch( "https://api.cloudenci.com/v1/googlebot-fetch?url=https%3A%2F%2Fexample.com%2Fpage&device=mobile", { headers: { "Authorization": "Bearer YOUR_KEY" } } ); const data = await res.json(); console.log(data.rendered_html.substring(0, 500));