{"uid":"cap_jrIjNfw5Ee8sr8BlZGXIk","slug":"fastx402-opengraph-extractor-3d2f16a9","name":"FastX402 OpenGraph Extractor","description":"146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/opengraph-extract?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"HTML document to parse for OpenGraph and Twitter Card metadata"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"og":{"type":"object","properties":{"type":{"type":"string"},"image":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}},"twitter":{"type":"object","properties":{"card":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"og":{"type":"website","image":"https://example.com/image.jpg","title":"Example Site","description":"A sample page"},"twitter":{"card":"summary_large_image"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5nVFAFbvIL-966-HqrQG-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses an HTML document and extracts OpenGraph and Twitter Card metadata tags from it","exampleAgentPrompt":"Parse this HTML and pull out all the OpenGraph and Twitter Card metadata — I need the og:title, og:description, og:image, and twitter:card values: <html>...</html>","exampleUseCases":[{"title":"Social preview card builder","prompt":"Here's the HTML source of a blog post — can you extract its OpenGraph title, description, and image URL so I can render a preview card for it?"},{"title":"Link unfurl for chat app","prompt":"I'm building a link unfurler. Given this raw HTML from a URL someone shared, extract the og:title, og:description, og:image, and twitter:card fields."},{"title":"SEO audit of og tags","prompt":"Check this HTML page source and tell me what OpenGraph and Twitter Card tags are present — I want to verify the og:type, og:title, og:description, and og:image are all set correctly."}],"resultDescription":"A JSON object with two top-level keys: 'og' containing OpenGraph fields (type, image, title, description) and 'twitter' containing Twitter Card fields (card), extracted directly from the HTML's meta tags.","failureModes":["Missing or malformed HTML input causes parsing failure","HTML with no OpenGraph or Twitter Card tags returns empty og/twitter objects","Extremely large HTML documents may time out or be truncated","Non-UTF-8 encoded HTML may cause character parsing issues"],"whenToPreferThis":"Use this endpoint when you already have the raw HTML source of a page and need to extract structured social preview metadata (OpenGraph and Twitter Card) without making an additional HTTP request to fetch the URL. Prefer this over a full URL-fetching scraper when you want to minimize network calls or already have the HTML in memory.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:45:19.056Z","isFirstParty":false,"canonicalSlug":"fastx402-opengraph-extractor-3d2f16a9"}