← Back to marketplace

Link Preview

Fetch title, description, og:image and favicon for any URL as link-preview JSON.

content
by glowhalo1 endpoint100% uptime34ms avg

Endpoints

GET/v1/preview
$0.0010/req

Return link preview metadata (title, description, og:image, favicon) for a URL.

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/link-preview/v1/preview?url=https://github.com"

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/link-preview/v1/preview?url=https://github.com \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Link Preview.

GET /v1/preview$0.0010/req
-