Screenshot API

Capture high-quality screenshots of any website with our Screenshot API. Supports full-page capture, mobile viewports, lazy loading, and cookie acceptance.

99.9% Uptime
Headless Chrome
Anti-Bot Bypass

Trusted by 10,000+ developers

Clean screenshots, every time

Forget about cookie banners, ads, and clutter. Just pass the parameters and get the image you need.

  • Clean Screenshot
  • Full Page
  • Mobile View
  • Add Timestamp

JSON Payload

200 OK

{
  "url": "https://www.apple.com/"
}

Ready-to-use code snippets

Python

NodeJS

Go

PHP

Java

Ruby

cURL

import requests

url = "https://api.geekflare.com/screenshot"
payload = {"url": "https://example.com", "device": "desktop"}
headers = {
    "x-api-key": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
print(response.text)

Why Geekflare Screenshot API

Full-Page Capture

Automatically scrolls down the page to capture the entire content.

Device Emulation

Configure the Screenshot API to capture desktop, mobile, or custom viewports.

Anti-Bot Bypass

Rotating proxies and fingerprinting protection help you screenshot sites protected by security.

Global Network

Requests are routed through our global edge network to ensure low latency and high reliability.

Add Timestamp

Automatically overlay timestamps on your screenshots. Perfect for archiving, compliance, and legal evidence.

Customizable

Block ads, hide cookie banners, configure page height, remove backgrounds, highlight specific elements, and much more.

Screenshot API pricing

Free

$0/mo
500 Credits/mo
Screenshot ~100 pages
1 Request per second

Starter

$9/mo
5K Credits/mo
Screenshot ~1000 pages
5 Requests per second

Growth

Most Popular

$49/mo
100K Credits/mo
Screenshot ~20K pages
25 Requests per second

Business

$249/mo
1M Credits/mo
Screenshot ~200K pages
50 Requests per second

Other Geekflare API services

Web Scraping API

Extract HTML, Markdown, or JSON from dynamic web pages with automatic CAPTCHA solving.

PDF Generator API

Convert any webpage to high-quality PDF documents.

Meta Scraping API

Extract title, description, images, Schema.org and Open Graph metadata from any URL.

Google Lighthouse API

Audit your website with Google Lighthouse to check SEO, performance, and accessibility metrics.

Site Load Time API

Check how much time your site takes to load including DNS, Connect, TLS, and TTFB metrics.

Frequently Asked Questions

Does the API support full-page screenshots?
Yes, Geekflare API capture website screenshot of entire landing page without any cut-offs.

What capture file formats Screenshot API supports?
Our web screenshot api supports high-quality output in PNG, JPG, and WebP formats. You can specify your preferred image format within your API request.

Can I capture only specific areas using the Screenshot API?
Yes. Using our screen capture api, you have full control over what gets captured. You can define custom viewport dimensions to simulate specific devices, or you can pass specific CSS selectors to clip the image.

Is screenshot capture legal?
Generally, yes, but it depends on your use case. When you screenshot website pages for personal use, archiving, or fair use, it is typically legal. However, capturing and republishing copyrighted material, sensitive user data, or paywalled content for commercial gain without permission may violate copyright laws.

Why should I use a Website Screenshot API instead of manually taking website screenshots?
Manual capture is fine for personal use, but it doesn't scale. By implementing a website screenshot api, you completely automate the capture process. This allows you to generate thousands of thumbnails, archive web pages, or monitor competitor sites without maintaining headless browser infrastructure yourself. It saves your engineering team countless hours and ensures reliability.

Do I need coding experience to use a Screenshot API?
No, you do not need coding experience to get started! While developers can integrate our webpage screenshot api into their codebase, non-technical users have great options too. You can use our API Playground to take screenshot. For automating workflows, you can use no-code integrated apps like Zapier. We already have pre-built Zaps available.

How long are the screenshot URLs valid?
The generated Geekflare CDN URLs are valid for 30 days. After this period, the images are automatically deleted. If your business requires longer retention periods, please contact us.

How much does a screenshot request cost?
Generating a screenshot consumes 5 credits per request.

Why is the API unable to screenshot certain sites?
This usually happens when the target site uses sophisticated security measures, WAFs, or IP rate limiting to block automated traffic.