Skip to main content

Link preview checker (Open Graph) API

Paste a link to see the title, description and image each network would pick for its preview card, the tags we found on the page, and what to fix before you share it.

  • Endpoint: POST https://postboost.co/app/api/tools/link-preview-checker (operationId checkLinkPreview)
  • Web tool: postboost.co/tools/link-preview-checker
  • Token: optional (limits)
  • MCP: tool check-link-preview on https://postboost.co/mcp/tools

Request​

FieldTypeDefaultDescription
urlstringThe public http(s) page to check.

Call it​

curl -X POST https://postboost.co/app/api/tools/link-preview-checker \
-H 'Content-Type: application/json' \
-d '{"url":"https://example.com/features"}'

With a token, send Authorization: Bearer YOUR_API_TOKEN as a default header (how, per SDK).

Response​

{
"final_url": "https://example.com/features/",
"status": 200,
"redirects": [
{
"from": "https://example.com/features",
"status": 301,
"to": "https://example.com/features/"
}
],
"content_type": "text/html; charset=utf-8",
"tags": {
"og:title": "Schedule posts everywhere",
"og:description": "One calendar for every network.",
"og:image": "https://example.com/og/features.png",
"og:image:width": "1200",
"og:image:height": "630",
"og:url": "https://example.com/features/",
"og:type": "website",
"og:site_name": "Example",
"twitter:card": "summary_large_image",
"twitter:title": "Schedule posts on X",
"twitter:description": "Threads, Bluesky and more – café ✓",
"twitter:image": "/og/x.png",
"title": "Schedule posts everywhere | Example",
"description": "Plan, schedule and publish social posts from one calendar.",
"canonical": "https://example.com/features/",
"robots": "index, follow"
},
"image": {
"width": 1200,
"height": 630,
"source": "declared"
},
"previews": {
"x": {
"title": "Schedule posts on X",
"description": "Threads, Bluesky and more – café ✓",
"image": "https://example.com/og/x.png",
"domain": "example.com"
},
"linkedin": {
"title": "Schedule posts everywhere",
"description": "One calendar for every network.",
"image": "https://example.com/og/features.png",
"domain": "example.com"
},
"facebook": {
"title": "Schedule posts everywhere",
"description": "One calendar for every network.",
"image": "https://example.com/og/features.png",
"domain": "example.com"
},
"chat": {
"title": "Schedule posts everywhere",
"description": "One calendar for every network.",
"image": "https://example.com/og/features.png",
"domain": "example.com"
}
},
"warnings": []
}

With MCP​

Connect https://postboost.co/mcp/tools (setup) and ask, for example: Check how a link previews on X, LinkedIn, Facebook and chat apps (Open Graph and Twitter card tags) with the PostBoost check-link-preview tool.

Errors​

StatusWhen
401The Authorization header holds an invalid token. Leave it out to call as a guest.
413The JSON body is larger than 128 KB.
422A field is invalid, or the URL (or a redirect) is not a public http(s) address, or it redirects more than 3 times.
429A limit is reached; see limits.
504The page did not load in time, or the connection failed.