Go to example tasks

Generate a 1200x630 OG image from a URL

Captures the visible top of a page at 1200 by 630 pixels as a JPEG, the standard Open Graph and social share size.

Try for free
Website Screenshot, PDF and OG Image API
Website Screenshot, PDF and OG Image APIpretty_theory/screenshot-url-api
Page
Status
Format
File
+5 fields
Text
Number
Boolean
List
Object

Input

URLs:https://www.python.org
Output format:jpeg
Viewport width (px):1200
Viewport height (px):630

Output fields

Page
Status
Format
File
Width
Height
Bytes
Page title
Error

How it works

Sign up on Apify or log in

The Website Screenshot, PDF and OG Image API Actor is ready to run with the inputs already set for "Generate a 1200x630 OG image from a URL". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Generate a 1200x630 OG image from a URL" task

The Website Screenshot, PDF and OG Image API Actor will start running based on the input automatically. You can also change all the input fields, like URLs, output format, and more, to match your specific use case.

Receive the "Generate a 1200x630 OG image from a URL" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as page, status, format, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Generate a 1200x630 OG image from a URL" task via API.

Image

Integrate "Generate a 1200x630 OG image from a URL" into your workflow

Connect "Generate a 1200x630 OG image from a URL" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The task returns one row with the page URL, status, a public file link to a 1200 by 630 JPEG social preview image, its size in bytes and the page title.

Yes. Replace the prefilled URL, or add more URLs to the list, in Apify Console or through the API. Each URL gives one file.

The task runs a pay per event Actor at $0.002 per successful screenshot. Failed pages are not charged. There is no monthly fee for the Actor.

No. It loads one public page per URL with a headless browser. It does not log in or crawl.

Open the task in Apify Console and add a schedule, or call the run endpoint with your token. Results land in a dataset and key-value store.