{"uid":"cap_heDMY4RGL4Lb3AvPvHAgD","slug":"link-preview-api-e83f5de7","name":"Link Preview API","description":"Fetch Open Graph / meta metadata (title, description, image, favicon, canonical URL) for a public URL.","url":"https://link-preview-api-z4nf.onrender.com/preview","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to fetch Open Graph / meta metadata for."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/blog/hello-world","image":"https://example.com/og-image.png","title":"Hello World","favicon":"https://example.com/favicon.ico","final_url":"https://example.com/blog/hello-world","site_name":"Example","description":"A short description of the page, from its meta tags.","content_type":"text/html; charset=utf-8","canonical_url":"https://example.com/blog/hello-world"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BL53wUkRVeTctS7VRd0fb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Open Graph and meta tag metadata (title, description, image, favicon, canonical URL) for any public URL.","exampleAgentPrompt":"Can you fetch the Open Graph title, description, preview image, and favicon for https://openai.com/blog/chatgpt?","exampleUseCases":[{"title":"Link card preview for chat app","prompt":"Grab the title, description, and preview image for https://www.nytimes.com/2024/01/15/technology/ai-future.html so I can render a link card in my messaging app."},{"title":"Enriching shared URLs in feed","prompt":"I have a list of URLs that users shared — can you pull the OG title, site name, favicon, and thumbnail image for https://github.com/vercel/next.js so I can show rich previews in the feed?"},{"title":"Checking canonical URL and metadata","prompt":"What's the canonical URL, page title, and meta description for https://en.wikipedia.org/wiki/Artificial_intelligence? I want to make sure I'm referencing the right page."}],"resultDescription":"A JSON object containing the resolved page's title, description, OG image URL, favicon URL, canonical URL, final redirected URL, site name, and content type — all extracted from the page's Open Graph and meta tags.","failureModes":["URL is not publicly accessible (private, behind auth, or firewall) — returns error or empty fields","Page has no Open Graph or meta tags — most fields will be null or empty","URL redirects to an error page — final_url reflects redirect but metadata may be sparse","Malformed or non-HTTP URL input — validation error","Slow or unresponsive target server — timeout or incomplete response"],"whenToPreferThis":"Use this endpoint when you need to enrich a URL with its Open Graph and meta tag data for rendering link previews, building content cards, validating links, or populating structured records. Prefer this over a full scraping service when you only need preview-level metadata (title, description, image, favicon) and not the full page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:35.067Z","isFirstParty":false}