{"uid":"cap_aARhisLSJoFVy3cQqrvSx","slug":"page-metadata-extractor-x402-699a09a0","name":"Page Metadata Extractor (x402)","description":"Paid deterministic utility APIs settled in native USDC on Base.","url":"https://x402-url-evidence.vercel.app/api/page-metadata","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","description":"Credential-free public HTTP(S) page to inspect"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"title":"Example Domain","jsonLd":{"types":[],"blocks":0,"parseableBlocks":0},"status":200,"finalUrl":"https://example.com/","linkCount":1,"openGraph":{"image":null,"title":null,"description":null},"truncated":false,"description":null,"sourceBytes":1256,"canonicalUrl":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_KDqRK27dx5Xni-dO4TEne","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 returns structured metadata from a public HTTP(S) webpage, including title, description, Open Graph tags, JSON-LD, canonical URL, and link count, paid via USDC on Base.","exampleAgentPrompt":"Can you fetch the page metadata for https://openai.com — I want the title, description, Open Graph image, and canonical URL?","exampleUseCases":[{"title":"Link preview card generation","prompt":"Pull the title, og:image, and og:description from https://stripe.com/blog/payments-infrastructure-future so I can render a link preview card for it."},{"title":"SEO audit for canonical URL","prompt":"Check https://www.nytimes.com/2024/01/01/technology/ai-future.html and tell me what its canonical URL is and whether there's any JSON-LD structured data on the page."},{"title":"Redirect chain resolution","prompt":"I need to know the final URL that https://bit.ly/3xampleLink resolves to — can you fetch its metadata and tell me the final destination and HTTP status?"}],"resultDescription":"Returns a JSON object containing the page title, meta description, HTTP status code, final URL (after redirects), canonical URL, link count, Open Graph fields (image, title, description), JSON-LD block count and parseability, source byte size, and a truncation flag.","failureModes":["Non-public or credential-gated URLs return empty or partial metadata","Pages behind CAPTCHAs or bot-detection may return unexpected content","Very large pages may be truncated (truncated: true in response)","Invalid or malformed URLs cause request failure","Pages returning non-200 status codes still return metadata but with the actual status code reflected"],"whenToPreferThis":"Choose this endpoint when you need lightweight, deterministic page metadata (title, description, OG tags, JSON-LD, canonical URL) from a public webpage without running a full browser or scraping the full HTML. It is ideal for link preview generation, SEO audits, structured data inspection, and redirect resolution. Prefer it over full-page scrapers when you only need head-level metadata and want a fast, cheap, reproducible result settled with micro-payments in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:48.708Z","isFirstParty":false}