개발자·참조

웹사이트 스크린샷 캡처 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에서 상용화 가능한 계층으로 이 API에 액세스하세요. 사이드 프로젝트, 스타트업, 대량 생산 아키텍처를 위해 설계된 유연한 계획입니다.

가격 보기 및 구독

개발자 지원

통합하는 데 도움이 필요하거나 사용자 지정 엔드포인트 요청이 있나요? 우리 엔지니어링 팀은 인증, 페이로드 스키마 및 고주파 속도 제한 증가를 지원하기 위해 왔습니다.

API 엔지니어링에 문의

시스템 성능

99.9% 가동 시간 SLA로 연중무휴 24시간 모니터링됩니다. 대기 시간이 매우 짧은 응답 시간을 보장하기 위해 전역적으로 분산된 에지 캐싱을 갖춘 클라우드 네이티브 마이크로서비스 위에 구축되었습니다.

모든 시스템 운영