Open Graph & Twitter Card Extractor - Social Tags API avatar

Open Graph & Twitter Card Extractor - Social Tags API

Pricing

from $1.20 / 1,000 scanned pages

Go to Apify Store
Open Graph & Twitter Card Extractor - Social Tags API

Open Graph & Twitter Card Extractor - Social Tags API

Extract Open Graph, Twitter Card, article, fb & Pinterest tags plus per-network share previews (Facebook/Twitter/LinkedIn) from any URL. Single or bulk. $0.0015 per page, cheaper than paid meta-tag actors; failed fetches are free.

Pricing

from $1.20 / 1,000 scanned pages

Rating

0.0

(0)

Developer

Broke to Built

Broke to Built

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Open Graph & Twitter Card Extractor - social share tags from any URL

Extract the social-sharing tags of any page exactly as Facebook, Twitter/X, and LinkedIn read them: Open Graph (og:*), Twitter Card (twitter:*), article:*, fb:*, and Pinterest tags - plus ready-made per-network preview objects and the resolved title/description/image each network would actually show. Single URL or bulk.

$0.0015 per page - cheaper than the paid meta-tag/link-preview actors measured on the Store. Failed fetches are recorded free.

What you get

  • openGraph, twitter, article, fb, pinterest tag objects.
  • previews for facebook, twitter, linkedin - image/title/description/domain, with the same fallbacks the networks use.
  • resolved title/description/image (og -> twitter -> <title>/meta chain) and canonical.
  • Image URLs absolutized to the final page URL.
  • Fail-soft: an unreachable URL returns {ok:false, error} and is never charged.

Input

{ "url": "https://github.com", "urls": ["https://example.com/post"], "maxUrls": 25 }

Output (real run, 2026-08-07)

{
"ok": true,
"url": "https://github.com",
"status": 200,
"canonical": "https://github.com/",
"resolved": {
"title": "GitHub · Change is constant. GitHub keeps you ahead.",
"description": "Join the world's most widely adopted, AI-powered developer platform ...",
"image": "https://images.ctfassets.net/.../GH-Homepage-Universe-img.png",
"domain": "github.com"
},
"openGraph": { "image": "https://images.ctfassets.net/.../GH-Homepage-Universe-img.png", "title": "GitHub ..." },
"previews": { "facebook": { "...": "..." }, "twitter": { "card": "summary_large_image", "...": "..." }, "linkedin": { "...": "..." } }
}

Pricing - $0.0015 per page

Prices below checked via the Apify Store API on 2026-08-07:

ActorPricingOne page
This actor$0.0015 per page$0.0015
technicaldost/link-preview-api$0.001 start + $0.002 per result$0.003
taroyamada/meta-tag-analyzer$0.01 start + $0.003 per item$0.013
scrapeworks/url-metadata$0.00005 start + $0.005 per item$0.005

Limits (honest ones)

  • Reads the server HTML; tags injected by JavaScript after load are not seen.
  • Preview objects reproduce the networks' documented fallback logic; the live crawlers can still override with their own heuristics.
  • maxUrls capped at 100 per run.

FAQ

  • Does it show how my link will look when shared? Yes - the previews objects mirror what Facebook, Twitter/X, and LinkedIn assemble from your tags.
  • Open Graph and Twitter both? Yes, plus article/fb/Pinterest and the resolved fallbacks.
  • Does it run JavaScript? No - server HTML only, which is where social tags belong.
  • What about a dead URL? You get an {ok:false, error} record, uncharged.

When not to use this

  • You need a rendered preview image. This returns the tags and the resolved image URL, not a screenshot or a composited card graphic. Use a screenshot actor if you want a picture.
  • You need to force the networks to re-scrape. Facebook's Sharing Debugger and X's card validator clear their own caches; nothing external can do that for them. This tells you what they would read on a fresh fetch.
  • Your tags are injected by JavaScript. There is no headless browser here. If your framework sets og: tags client-side, social crawlers usually will not see them either, which is worth knowing - but this actor will report them missing rather than rendering the page.
  • You want general SEO meta (titles, robots, hreflang, canonicals at scale). Only canonical, <title> and description are picked up as fallbacks here; the focus is social sharing tags. Use an SEO meta auditor for the full set.
  • You want structured data (JSON-LD, Microdata, RDFa). Different vocabulary, different actor - see our Structured Data Extractor.

Use from code or AI agents

curl -X POST "https://api.apify.com/v2/acts/EliAI~webpage-social-tags-extractor/runs?token=YOUR_APIFY_TOKEN" \
-H 'content-type: application/json' \
-d '{"url":"https://github.com"}'

Callable as an agent tool through the Apify MCP server (mcp.apify.com).