GET /v1/url-previewURL preview extractor
Web Intel lf-web-intel
Pulls out the title, description and image a link would show in a preview card. Extracts Open Graph (OG) tags, meta description, title, and favicon from a URL for link preview cards.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL to preview |
Response Schema
success (boolean): Operation success
title (string): Page title
description (string): Meta description
image (string): OG image URL
url (string): Final URL
favicon (string): Favicon URL
cURL Example
curl 'https://lf-web-intel.laminarforge.dev/v1/url-preview?url=https://example.com' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-web-intel.laminarforge.dev/v1/url-preview'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'url': 'https://example.com'}
response = requests.get(url, headers=headers, params=params)
print(response.json())