डेवलपर व संदर्भ

वेबसाइट स्क्रीनशॉट कैप्चर API

-ग्रेड स्क्रीनशॉट API से वेब पेज तुरंत उच्च-गुणवत्ता चित्रों में बदलें। 99.99% अपटाइम व मांगलिक डेवलपर हेतु शक्तिशाली अनुकूलन सहित।

शीर्षलेखों का अनुरोध करें

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required website-screenshot-capture-api.p.rapidapi.com

अंतिमबिंदुओं

GET /v1/screenshots/image

चित्र रूप में कैप्चर

पैरामीटर

NameTypeRequiredDefaultConstraints
urlstringoptional—आवश्यक
widthstringoptional—डिफ़ॉल्ट: 1920
heightstringoptional—डिफ़ॉल्ट: 1080
typestringoptional—डिफ़ॉल्ट: png
qualitystringoptional—डिफ़ॉल्ट: 80
full_pagestringoptional—डिफ़ॉल्ट: false
dark_modestringoptional—डिफ़ॉल्ट: false
block_adsstringoptional—डिफ़ॉल्ट: true
emulate_devicestringoptional—वैकल्पिक
delaystringoptional—डिफ़ॉल्ट: 0
timeoutstringoptional—डिफ़ॉल्ट: 30000

कोड उदाहरण

curl --request GET \
  --url 'https://website-screenshot-capture-api.p.rapidapi.com/v1/screenshots/image?url=example&width=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: website-screenshot-capture-api.p.rapidapi.com'
GET /v1/screenshots/json

Base64 JSON रूप में कैप्चर

पैरामीटर

NameTypeRequiredDefaultConstraints
urlstringoptional—आवश्यक
widthstringoptional—डिफ़ॉल्ट: 1920
heightstringoptional—डिफ़ॉल्ट: 1080
typestringoptional—डिफ़ॉल्ट: png
qualitystringoptional—डिफ़ॉल्ट: 80
full_pagestringoptional—डिफ़ॉल्ट: false
dark_modestringoptional—डिफ़ॉल्ट: false
block_adsstringoptional—डिफ़ॉल्ट: true
emulate_devicestringoptional—वैकल्पिक
delaystringoptional—डिफ़ॉल्ट: 0
timeoutstringoptional—डिफ़ॉल्ट: 30000

कोड उदाहरण

curl --request GET \
  --url 'https://website-screenshot-capture-api.p.rapidapi.com/v1/screenshots/json?url=example&width=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: website-screenshot-capture-api.p.rapidapi.com'
GET /v1/screenshots/pdf

PDF रूप में कैप्चर

पैरामीटर

NameTypeRequiredDefaultConstraints
urlstringoptional—आवश्यक
paper_sizestringoptional—डिफ़ॉल्ट: A4
landscapestringoptional—डिफ़ॉल्ट: false
scalestringoptional—डिफ़ॉल्ट: 1.0
print_backgroundstringoptional—डिफ़ॉल्ट: true
block_adsstringoptional—डिफ़ॉल्ट: true
delaystringoptional—डिफ़ॉल्ट: 0

कोड उदाहरण

curl --request GET \
  --url 'https://website-screenshot-capture-api.p.rapidapi.com/v1/screenshots/pdf?url=example&paper_size=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: website-screenshot-capture-api.p.rapidapi.com'
GET /v1/devices

उपलब्ध डिवाइस सूची

कोड उदाहरण

curl --request GET \
  --url 'https://website-screenshot-capture-api.p.rapidapi.com/v1/devices' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: website-screenshot-capture-api.p.rapidapi.com'

इंटरैक्टिव उदाहरण

website-screenshot-capture-api
$ GET /v1/screenshots/image
{
  "screenshot": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
  "url": "https://example.com",
  "options": {
    "width": 1920,
    "height": 1080,
    "type": "png",
    "full_page": false
  }
}

एकीकरण एवं उपयोग मार्गदर्शिका

Transform web pages into high-quality images instantly with our enterprise-grade screenshot API. Featuring 99.99% uptime and powerful customization options for developers who demand reliability and precision.

🎯 Try the Live Demo →

🚀 Key Features

  • Multiple Output Formats: PNG, JPEG, WebP support
  • Device Emulation: Capture screenshots from various device perspectives
  • Customizable Resolution: Up to 1920x1080 and beyond
  • Enterprise Reliability: 99.99% uptime guarantee
  • Advanced Controls: Dark mode, ad blocking, custom delays, and more

✅ What Our Customers Say

“The Website Screenshot API is one of the most straightforward and reliable APIs I’ve seen on the internet. I spent weeks building what the screenshot API did in less than a minute”

Caleb Sakala - Co-founder of Chase Agents

🛠 API Endpoints

1. Capture Screenshot as Image

GET /v1/screenshots/image

Parameters:

  • url (required): The URL of the webpage to capture.
  • width (default: 1920): Width of the viewport in pixels.
  • height (default: 1080): Height of the viewport in pixels.
  • type (default: png): Output format (png/jpeg/webp).
  • quality (default: 80): Image quality (1-100), only for jpeg/webp.
  • full_page (default: false): Capture entire page height instead of just the viewport.
  • dark_mode (default: false): Emulate preferred color scheme as dark.
  • block_ads (default: true): Block ads and analytics trackers.
  • emulate_device (optional): Simulate a specific mobile or tablet device.
  • delay (default: 0): Wait time in milliseconds before capture.
  • timeout (default: 30000): Maximum load timeout in milliseconds.

2. Capture Screenshot as Base64 JSON

GET /v1/screenshots/json

Parameters:

  • url (required): The URL of the webpage to capture.
  • width (default: 1920): Width of the viewport in pixels.
  • height (default: 1080): Height of the viewport in pixels.
  • type (default: png): Output format (png/jpeg/webp).
  • quality (default: 80): Image quality (1-100), only for jpeg/webp.
  • full_page (default: false): Capture entire page height instead of just the viewport.
  • dark_mode (default: false): Emulate preferred color scheme as dark.
  • block_ads (default: true): Block ads and analytics trackers.
  • emulate_device (optional): Simulate a specific mobile or tablet device.
  • delay (default: 0): Wait time in milliseconds before capture.
  • timeout (default: 30000): Maximum load timeout in milliseconds.

Response Example:

{
  "screenshot": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...",
  "url": "https://example.com",
  "options": {
    "width": 1920,
    "height": 1080,
    "type": "png",
    "full_page": false
  }
}

3. Capture Screenshot as PDF

GET /v1/screenshots/pdf

Parameters:

  • url (required): Target website URL to convert to PDF.
  • paper_size (default: A4): PDF paper size (A4/Letter/Legal/A3).
  • landscape (default: false): Set orientation to landscape.
  • scale (default: 1.0): Render scale factor (0.1 to 2.0).
  • print_background (default: true): Print background colors and graphics.
  • block_ads (default: true): Block ads and analytics trackers.
  • delay (default: 0): Wait time in milliseconds before PDF generation.

4. List Available Devices

GET /v1/devices

Returns list of supported device emulation options, including width, height, user-agent, and device scale factors.

💡 Use Cases

  • E-commerce Monitoring
  • Website Testing
  • Content Archiving
  • Competitive Analysis
  • Automated Reports
  • Social Media Sharing

⚙️ Advanced Features

  • Ad Blocking: Clean screenshots without distractions
  • Custom User Agent: Flexible browser simulation
  • Dark Mode: Night-friendly captures
  • Full Page: Capture scrolling content
  • Device Emulation: Mobile-responsive testing
  • Flexible Timing: Customizable delays and timeouts

🌟 Why Choose Our API?

  • High Performance: Lightning-fast captures
  • Enterprise Ready: 99.99% uptime guarantee
  • Developer Friendly: Simple RESTful API
  • Flexible Output: Multiple image formats
  • Robust Features: Advanced customization options

सदस्यता और लाइसेंस

RapidAPI पर वाणिज्यिक-तैयार स्तरों के साथ इस एपीआई तक पहुंचें। साइड-प्रोजेक्ट्स, स्टार्टअप्स और उच्च-मात्रा उत्पादन आर्किटेक्चर के लिए डिज़ाइन की गई लचीली योजनाएँ।

मूल्य निर्धारण देखें और सदस्यता लें

डेवलपर सहायता

एकीकृत करने में सहायता चाहिए या कोई कस्टम समापन बिंदु अनुरोध चाहिए? हमारी इंजीनियरिंग टीम प्रमाणीकरण, पेलोड स्कीमा और उच्च-आवृत्ति दर सीमा बढ़ाने में सहायता के लिए यहां है।

एपीआई इंजीनियरिंग से संपर्क करें

सिस्टम प्रदर्शन

99.9% अपटाइम एसएलए के साथ 24/7 निगरानी की जाती है। अल्ट्रा-लो विलंबता प्रतिक्रिया समय सुनिश्चित करने के लिए विश्व स्तर पर वितरित एज कैशिंग के साथ क्लाउड-नेटिव माइक्रोसर्विसेज के ऊपर निर्मित।

सभी सिस्टम चालू