Hotels.com is a hotel booking platform. SnapAPI lets you take automated, pixel-perfect screenshots of Hotels.com with a single API call. No headless browser setup, no Puppeteer configuration — just send a URL and get an image back.
/v1/screenshot with the Hotels.com URLcurl "https://snapapi.tech/v1/screenshot?url=https%3A%2F%2Fhotels.com&api_key=YOUR_KEY&format=png" \
-o hotels-screenshot.png
import requests
response = requests.get("https://snapapi.tech/v1/screenshot", params={
"url": "https://hotels.com",
"api_key": "YOUR_KEY",
"format": "png"
})
with open("hotels-screenshot.png", "wb") as f:
f.write(response.content)
print("Hotels.com screenshot saved!")
const fs = require("fs");
const res = await fetch(
"https://snapapi.tech/v1/screenshot?" + new URLSearchParams({
url: "https://hotels.com",
api_key: "YOUR_KEY",
format: "png"
})
);
fs.writeFileSync("hotels-screenshot.png", Buffer.from(await res.arrayBuffer()));
console.log("Hotels.com screenshot saved!");
Customize your Hotels.com screenshot with these parameters:
# Full page screenshot with mobile emulation
curl "https://snapapi.tech/v1/screenshot?url=https%3A%2F%2Fhotels.com&api_key=YOUR_KEY\
&full_page=true&device=iphone14&dark_mode=true" -o hotels-mobile.png
# Get metadata alongside the screenshot
curl "https://snapapi.tech/v1/screenshot?url=https%3A%2F%2Fhotels.com&api_key=YOUR_KEY\
&meta=true"