Home / Data & Enrichment / URL Metadata & Link Preview API
URL Metadata & Link Preview API logo

URL Metadata & Link Preview API

Published by @mdforge · Verified
99.98% uptime ~95ms avg AI Score 94/100

Extract OpenGraph cards, Twitter metadata, favicons, JSON-LD schema, RSS feeds, and full HTTP redirect chains.

Try it live
https://api.indieapis.com/v1/url-metadata/extract
Parse title, description, OG/Twitter images, favicon, canonical URL, JSON-LD, feeds, and reading time.
Response Press Run to call the live API
{
  "ok": true,
  "data": {
    "url": "https://indieapis.com/",
    "title": "IndieAPIs",
    "description": "Clean REST APIs & Dynamic MCP",
    "image": "https://indieapis.com/images/og-indieapis.png",
    "favicon": "https://indieapis.com/images/favicon.svg",
    "word_count": 640,
    "reading_time_minutes": 3
  }
}

            

Overview

Turn any public URL into rich Slack/Notion-style link preview cards and structured metadata without dealing with HTML parsing or SSRF vulnerabilities.

Highlights:

  • Extracts og:*, twitter:*, canonical URL, favicon, theme color, language, author, RSS/Atom feeds, and up to 5 JSON-LD blocks.
  • Includes /headers to trace multi-hop 301/302 redirect chains and inspect final response headers.
  • Built-in SSRF protection and fast 5-minute edge caching.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

2 endpoints

Base URL
https://api.indieapis.com/v1/url-metadata
MCP
https://indieapis.com/mcp/url-metadata
Method Path Parameters Description
GET /extract url* Parse title, description, OG/Twitter images, favicon, canonical URL, JSON-LD, feeds, and reading time.
GET /headers url* Follow up to 5 HTTP redirects and return hop count, final URL, status codes, and response headers.