{"uid":"cap_W0ITHcpeXXFtkgXBIYC3q","slug":"1gateway-web-metadata-extractor-5c460f99","name":"1gateway Web Metadata Extractor","description":"Use when an agent needs to know what a URL is before reading it, or to build a link preview or citation. Input: url (public http/https). Output: JSON with final URL after redirects, HTTP status, content type, title, description, site name, language, canonical, preview image, favicon, Open Graph and Twitter tags, RSS/Atom feeds, hreflang alternates, JSON-LD types, robots, first H1. No JavaScript is run. Example: ?url=https://developer.mozilla.org/en-US/","url":"https://1gateway.dev/v1/web/metadata?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":["url"],"properties":{"url":{"type":"string","pattern":"^https?://","examples":["https://developer.mozilla.org/en-US/"],"maxLength":2048,"description":"Public http(s) URL; private/internal addresses → 400 (not charged)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","finalUrl","status","contentType","redirects","truncated","title","description","siteName","lang","canonical","image","favicon","type","author","publishedTime","modifiedTime","keywords","robots","themeColor","generator","openGraph","twitter","icons","feeds","alternates","jsonLdTypes","headingH1","cache","notes"],"properties":{"url":{"type":"string"},"lang":{"type":"string"},"type":{"type":"null"},"cache":{"type":"string"},"feeds":{"type":"array","items":{"type":"object","properties":{"href":{"type":"string"},"type":{"type":"string"},"title":{"type":"string"}}}},"icons":{"type":"array","items":{"type":"object","properties":{"rel":{"type":"string"},"href":{"type":"string"},"sizes":{"type":["string","null"]}}}},"image":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"author":{"type":"null"},"robots":{"type":"null"},"status":{"type":"integer"},"favicon":{"type":"string"},"twitter":{"type":"object","additionalProperties":{"type":"string"}},"finalUrl":{"type":"string"},"keywords":{"type":"array","items":{}},"siteName":{"type":"string"},"canonical":{"type":"string"},"generator":{"type":"null"},"headingH1":{"type":"string"},"openGraph":{"type":"object","additionalProperties":{"type":"string"}},"redirects":{"type":"array","items":{}},"truncated":{"type":"boolean"},"alternates":{"type":"array","items":{}},"themeColor":{"type":"null"},"contentType":{"type":"string"},"description":{"type":"string"},"jsonLdTypes":{"type":"array","items":{}},"modifiedTime":{"type":"null"},"publishedTime":{"type":"null"}}}}}}},"responseSchema":null,"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_fMQU3-BvD1PAeqonn2iGA","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":"Fetches and parses metadata from any public URL — returning title, description, Open Graph tags, favicon, feeds, JSON-LD, and more without executing JavaScript.","exampleAgentPrompt":"Before I share this link in my newsletter, can you pull the metadata for https://developer.mozilla.org/en-US/ — I want to know the title, description, preview image, and where the canonical URL points?","exampleUseCases":[{"title":"Link preview card for shared URL","prompt":"I'm about to post https://openai.com/blog/gpt-4o in our Slack — can you grab the title, description, and preview image so I can build a proper link card?"},{"title":"Citation metadata for research notes","prompt":"I need to cite https://www.nature.com/articles/s41586-024-07612-z in my report — pull the title, author, published date, site name, and canonical URL for me."},{"title":"Redirect chain and final destination check","prompt":"Someone sent me this suspicious short link https://bit.ly/3xYzABC — can you check where it actually resolves to, what the final URL is, and what kind of content it serves?"}],"resultDescription":"A JSON object containing: final URL after any redirects, HTTP status code, content type, page title, meta description, site name, language, canonical URL, preview image URL, favicon URL, Open Graph key-value pairs, Twitter card key-value pairs, RSS/Atom feed links, hreflang alternate links, JSON-LD types found on the page, robots meta, first H1 heading, redirect chain, and cache/notes fields. No JavaScript is executed — only static HTML is parsed.","failureModes":["Private or internal IP addresses return 400 and are not charged","URLs that return non-200 status codes still return the status but may have empty metadata fields","Pages with no meta tags return empty/null fields for title, description, image, etc.","Very large pages may be truncated (truncated field set to true)","Non-HTML content types (PDF, images) return content type but minimal metadata","Network timeouts or unreachable hosts return an error response"],"whenToPreferThis":"Choose this endpoint when you need lightweight, structured metadata from a public URL without executing JavaScript — ideal for link previews, citation generation, redirect resolution, SEO inspection, and content-type checks. It is faster and cheaper than a full browser-based scraper and returns a rich, normalized set of fields in one call. Prefer it over full-page scrapers when you only need head-level metadata, Open Graph tags, or feed discovery rather than the full page body.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:33:49.563Z","isFirstParty":false,"canonicalSlug":"1gateway-web-metadata-extractor-5c460f99"}