OpenGraph & Social Preview Scraper avatar

OpenGraph & Social Preview Scraper

Pricing

from $1.00 / 1,000 url inspecteds

Go to Apify Store
OpenGraph & Social Preview Scraper

OpenGraph & Social Preview Scraper

Extract OpenGraph tags and Twitter Cards to ensure your content looks perfect when shared on social media.

Pricing

from $1.00 / 1,000 url inspecteds

Rating

0.0

(0)

Developer

Andok

Andok

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

OpenGraph & Twitter Card Inspector

Inspect OpenGraph and Twitter Card meta tags across hundreds of URLs to QA your social sharing previews before they go live. A missing og:image or wrong twitter:card type means ugly link previews on Facebook, LinkedIn, Slack, and X -- and you only find out after someone shares the link. Bulk-check every page and get a clear report of what is present, what is missing, and what needs fixing.

Features

  • OpenGraph extraction — captures og:title, og:description, og:image, og:url, og:type, and all other OG tags
  • Twitter Card extraction — reads twitter:card, twitter:title, twitter:description, twitter:image, and related tags
  • Basic meta tags — also grabs the page <title> and <meta name="description"> for comparison
  • Missing tag detection — flags essential tags that are absent so you can prioritize fixes
  • Bulk processing — scan hundreds of URLs in a single run with configurable concurrency
  • Structured output — OG and Twitter tags are returned as separate objects for easy filtering
  • Pay-per-event billing — you only pay for each URL inspected, with automatic charge-limit enforcement

Input

FieldTypeRequiredDefaultDescription
urlsarrayYesList of page URLs to inspect for OpenGraph and Twitter Card meta tags.
urlstringNoSingle URL to inspect (for backwards compatibility). Use urls for bulk processing.
timeoutSecondsintegerNo15Maximum seconds to wait for each page response before timing out.
concurrencyintegerNo10Number of URLs to process in parallel. Increase for large batches, decrease if you hit rate limits.

Input Example

{
"urls": [
"https://crawlee.dev",
"https://apify.com/store",
"https://github.com/apify/crawlee"
]
}

Output

Each URL produces one dataset item with separated OG tags, Twitter tags, and a list of missing essentials.

  • inputUrl (string) — the URL you submitted
  • finalUrl (string) — the URL after redirects
  • status (number) — HTTP status code
  • pageTitle (string) — content of the <title> tag
  • pageDescription (string) — content of <meta name="description">
  • ogTags (object) — all OpenGraph meta tags as key-value pairs (e.g., og:title, og:image)
  • twitterTags (object) — all Twitter Card meta tags as key-value pairs (e.g., twitter:card, twitter:image)
  • missingEssential (string[]) — list of essential tags that are missing (e.g., og:title, og:image, twitter:card)
  • error (string | null) — error message if the URL could not be fetched
  • checkedAt (string) — ISO 8601 timestamp of when the inspection was performed

Output Example

{
"inputUrl": "https://crawlee.dev",
"finalUrl": "https://crawlee.dev/",
"status": 200,
"pageTitle": "Crawlee - Build reliable web scrapers",
"pageDescription": "A web scraping and browser automation library for Node.js",
"ogTags": {
"og:title": "Crawlee - Build reliable web scrapers",
"og:description": "A web scraping and browser automation library",
"og:image": "https://crawlee.dev/img/og-image.png",
"og:url": "https://crawlee.dev/",
"og:type": "website"
},
"twitterTags": {
"twitter:card": "summary_large_image",
"twitter:title": "Crawlee",
"twitter:description": "A web scraping and browser automation library"
},
"missingEssential": [],
"error": null,
"checkedAt": "2025-01-15T10:30:00.000Z"
}

Pricing

EventCost
URL InspectedPay-per-event (see actor pricing page)

The actor stops automatically when the per-run charge limit is reached, so you never overspend.

Use Cases

  • Social media QA — verify that every page renders a proper preview on Facebook, LinkedIn, Slack, and X before launch
  • Content migration validation — confirm OG and Twitter tags survived a CMS migration or redesign intact
  • Agency reporting — deliver social-readiness audits to clients with per-page pass/fail status
  • SEO auditing — ensure meta descriptions and OG descriptions are consistent across your site
  • Marketing campaigns — validate landing page previews before sharing URLs in ad campaigns or newsletters
ActorWhat it adds
JSON-LD & Schema.org ExtractorExtracts structured data — combine with OG inspection for a complete metadata and schema audit
Favicon & Brand Icon ExtractorGrabs favicons and touch icons — pair with OG images for full brand asset collection
Website Tech Stack AnalyzerDetects the CMS and framework — understand which platform generates the social preview tags