Screenshot API Use Case
Give Your AI Agent Eyes
Let your AI agent see and understand any website. Capture visual context for LLM pipelines, computer vision, and autonomous agents.
Key Features
Code Example
import requests
response = requests.post(
'https://goscreenapi.com/api/v1/screenshot',
headers={'X-API-Key': 'gsc_your_api_key'},
json={
'url': 'https://example.com',
'format': 'png',
'full_page': True,
'async': True,
'webhook_url': 'https://your-server.com/webhook',
}
)
data = response.json()
print(data['request_id'])
Frequently Asked Questions
Yes. Use the selector parameter with any CSS selector to capture just the element you need.
PNG, JPEG, WebP, and PDF. PNG is recommended for AI vision tasks.
Yes. Set async=false to get the screenshot URL in the same response.