API
Powerful browser automation tools delivered as simple REST APIs.
Screenshots, PDFs, and more.
Screenshot API
Capture pixel-perfect screenshots of any webpage programmatically. Perfect for thumbnails, previews, social cards, and monitoring.
- Custom viewport sizes
- Full page capture
- PNG or JPEG output
PDF API
Convert any webpage to a multi-page PDF document. Supports custom page sizes, margins, headers, footers, and backgrounds.
- A4, Letter, Legal & more
- Portrait or landscape
- Page numbers & headers
Simple Integration
One API key. One HTTP request. Any programming language.
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-Api-Key", "wt_your_api_key");
var response = await client.PostAsJsonAsync(
"https://api.thecodeguy.co.uk/api/screenshot",
new { url = "https://example.com", width = 1920, height = 1080 });
var imageBytes = await response.Content.ReadAsByteArrayAsync();
await File.WriteAllBytesAsync("screenshot.png", imageBytes);
const response = await fetch('https://api.thecodeguy.co.uk/api/screenshot', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Api-Key': 'wt_your_api_key'
},
body: JSON.stringify({
url: 'https://example.com',
width: 1920,
height: 1080
})
});
const blob = await response.blob();
import requests
response = requests.post(
'https://api.thecodeguy.co.uk/api/screenshot',
headers={'X-Api-Key': 'wt_your_api_key'},
json={'url': 'https://example.com', 'width': 1920, 'height': 1080}
)
with open('screenshot.png', 'wb') as f:
f.write(response.content)
10
Requests per minute
1,000
Requests per day
Free
To get started