# Generate link previews: title, image and description

**Use case:** 

Build rich link cards for your app, newsletter or bookmark tool without running your own unfurler. For each URL you get the title, description, site name, preview image with size, favicon, author and publish date, plus oEmbed data where a site offers it. Redirects and relative URLs are resolved for you.

## Input

```json
{
  "urls": [
    "https://www.bbc.com/news",
    "https://www.theverge.com",
    "https://developer.mozilla.org/en-US/docs/Web/HTML",
    "https://apify.com"
  ],
  "checkImages": true,
  "brandColor": false,
  "oembed": true,
  "acceptLanguage": "en-US,en;q=0.8",
  "maxUrls": 10000,
  "maxConcurrency": 10
}
```

## Output

```json
{
  "image": {
    "label": "Preview image",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "siteName": {
    "label": "Site",
    "format": "text"
  },
  "favicon": {
    "label": "Favicon",
    "format": "image"
  },
  "themeColor": {
    "label": "Theme color",
    "format": "text"
  },
  "brandColor": {
    "label": "Brand color",
    "format": "text"
  },
  "statusCode": {
    "label": "HTTP",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Link Preview & Website Metadata API - OG Tags, Favicon, Logo Actor is ready to run with the inputs already set for "Generate link previews: title, image and description". [Sign up or log in](https://console.apify.com/create-task-from-example/IcggS1PVUmtuLx49J) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Generate link previews: title, image and description" task

The Link Preview & Website Metadata API - OG Tags, Favicon, Logo Actor will start running based on the input automatically. You can also change all the input fields, like URLs, check preview images, and more, to match your specific use case.

### 3. Receive the "Generate link previews: title, image and description" 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 preview image, URL, title, and more.

### 4. 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 link previews: title, image and description" task via API](https://apify.com/cuestadata/link-preview-metadata.md).

## FAQ

### Does the link preview generator render JavaScript?

No. Like Slack and most unfurlers it reads the HTML the server returns, where almost all sites put their preview tags. This keeps it fast and cheap.

### Can I call the link preview generator from my app?

Yes. Call it through the Apify API (including synchronous runs), Make, Zapier, n8n or an MCP-enabled AI agent.

### How much do link previews cost?

Link previews cost $1.50 per 1,000 URLs with metadata returned. Errors, 4xx/5xx pages and non-HTML files are free.

## About this Actor

This example demonstrates how to use [Link Preview & Website Metadata API - OG Tags, Favicon, Logo](https://apify.com/cuestadata/link-preview-metadata.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cuestadata/link-preview-metadata.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cuestadata/link-preview-metadata.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
