import mql from '@microlink/mql' const { data } = await mql('https://microlink.io', { meta: true })
Sharing Debugger
Verify and fix Open Graph meta tags for any website.
Visualize your social cards instantly.
Microlink | Headless Browser API: Screenshot, PDF & Previews
Turn any URL into structured data (JSON). The all-in-one API for browser automation: screenshots, PDFs, scraping, and link previews. No infrastructure to manage.
microlink.io
https://microlink.io/
Edited 10:00
✓
How it works
This tool runs on
Metascraper
, the battle-tested library maintained by Microlink. We don't just regex HTML; we use a flexible rule-based system to normalize metadata from the wildest edge cases on the web.We normalize data into a unified JSON response, prioritizing the most relevant source automatically.
Debugging & Caching logic
Social networks aggressively cache link previews. This validator fetches the live version of your URL, acting as a "fresh" crawler.
- Agent Spoofing: We simulate the User-Agent of bots (Googlebot, Twitterbot) to show you exactly what they see.
- Rendered HTML: Unlike standard scrapers, we can execute JavaScript to capture meta tags dynamically injected by React/Vue apps.
Programmatic Metadata Validation
You can automate your Open Graph and SEO audit workflow using the Microlink API. This allows you to programmatically validate metadata for thousands of URLs without manual intervention. By hitting our API endpoint, you get a structured JSON payload containing every meta tag, allowing you to build internal health checks or automated CI/CD scripts to ensure your production deploys never break your social previews.
- Bulk Processing: Read how to run a validation script across your entire sitemap.
- Integration Ready: Easily integrate with Node.js, Python, or even simple cURL commands.
- Edge Case Detection: Programmatically detect missingog:image tags, broken canonicals, or invalid JSON-LD schemas across your whole domain.
Automating Screenshots for OG Images
In the era of link unfurling (Facebook, X, LinkedIn, etc.), your og:image is your first impression. Manually designing assets for every dynamic route is unscalable, but generic logos get ignored.
Microlink solves this by treating your screenshots as an Screenshot API. Instead of storing static JPEGs, simply pass your page's URL to Microlink with screenshot=true. We spin up a headless browser, capture the viewport, and serve a globally cached image.
Microlink solves this by treating your screenshots as an Screenshot API.
import mql from '@microlink/mql' const { data } = await mql('https://www.netflix.com/title/80057281', { screenshot: true })
- Always Fresh: Your social cards automatically reflect your latest UI updates.
- Zero Maintenance: No more Photoshop or Figma templates for every blog post.
- High Performance: Served via global CDN, ensuring link previews load instantly.
Other questions?
We’re always available at
hello@microlink.io
.