Screenshot API Use Case

Power Your SEO Tool with Visual Website Data

Capture screenshots of any URL at scale. Perfect for visual audits, SERP previews, and competitor analysis.

Key Features

Full-page capture
Mobile & desktop views
Async + webhooks
Smart caching

Code Example

curl -X POST 'https://goscreenapi.com/api/v1/screenshot' \
  -H 'X-API-Key: gsc_your_api_key' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://example.com",
    "format": "png",
    "full_page": true,
    "async": true,
    "webhook_url": "https://your-server.com/webhook"
  }'
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'])
const res = await fetch('https://goscreenapi.com/api/v1/screenshot', {
  method: 'POST',
  headers: {
    'X-API-Key': 'gsc_your_api_key',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    url: 'https://example.com',
    format: 'png',
    full_page: true,
    async: true,
    webhook_url: 'https://your-server.com/webhook',
  }),
});

const data = await res.json();
console.log(data.request_id);
<?php
$response = Http::withHeaders([
    'X-API-Key' => 'gsc_your_api_key',
])->post('https://goscreenapi.com/api/v1/screenshot', [
    'url'         => 'https://example.com',
    'format'      => 'png',
    'full_page'   => true,
    'async'       => true,
    'webhook_url' => 'https://your-server.com/webhook',
]);

$data = $response->json();
echo $data['request_id'];

Frequently Asked Questions

Yes. Use async mode with webhooks to process thousands of URLs without blocking your application.
Yes. Set device=mobile for 390×844 mobile viewport or device=tablet for 1024×768.
Yes. Set cache_ttl to cache results for up to 30 days.