{"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?://","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"],"properties":{"url":{"type":"string"},"lang":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"finalUrl":{"type":"string"},"siteName":{"type":"string"},"redirects":{"type":"array","items":{}},"truncated":{"type":"boolean"},"contentType":{"type":"string"},"description":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"url":"https://developer.mozilla.org/en-US/","lang":"en-US","type":null,"cache":"miss","feeds":[{"href":"https://developer.mozilla.org/en-US/blog/rss.xml","type":"application/rss+xml","title":"MDN Blog RSS Feed"}],"icons":[{"rel":"icon","href":"https://developer.mozilla.org/favicon.ico","sizes":"32x32"}],"image":"https://developer.mozilla.org/mdn-social-image.46ac2375.png","notes":["Parsed from the first 512 KiB of the page; JavaScript is not executed."],"title":"MDN Web Docs","author":null,"robots":null,"status":200,"favicon":"https://developer.mozilla.org/favicon.ico","twitter":{"card":"summary","creator":"MozDevNet"},"finalUrl":"https://developer.mozilla.org/en-US/","keywords":[],"siteName":"MDN Web Docs","canonical":"https://developer.mozilla.org/en-US/","generator":null,"headingH1":"Resources for Developers, by Developers","openGraph":{"url":"https://developer.mozilla.org/en-US/","title":"MDN Web Docs","locale":"en_US","description":"The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps."},"redirects":[],"truncated":false,"alternates":[],"themeColor":null,"contentType":"text/html","description":"The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.","jsonLdTypes":[],"modifiedTime":null,"publishedTime":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-12-01T07:39:30.044Z","isFirstParty":false,"canonicalSlug":"1gateway-web-metadata-extractor-5c460f99"}