{"uid":"cap_DJl-hUuDtEGavg34QoNbP","slug":"fetchweb-metadata-api-9af8421e","name":"FetchWeb Metadata API","description":"FetchWeb provides pay-per-call web metadata for AI agents. Use FetchWeb to quickly inspect a URL — title, description, canonical URL, language and estimated token size — before performing web extraction, web research or LLM processing, so an agent can judge whether a page is relevant.","url":"https://fetchweb.net/api/public/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"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL."}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lang":{"type":["string","null"]},"title":{"type":"string"},"charged":{"type":"boolean"},"wordCount":{"type":"number"},"description":{"type":"string"},"canonicalUrl":{"type":"string"},"estimatedTokens":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qt53tdSlHHUWK4ddzzAaO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns lightweight page metadata — title, description, canonical URL, language, and estimated token count — for any given URL without full content extraction.","exampleAgentPrompt":"Before I scrape the full article, can you do a cheap metadata check on https://example.com/article — just grab the title, description, language, and an estimate of how many tokens it would take to process?","exampleUseCases":[{"title":"Pre-filter URLs before deep scrape","prompt":"I have a list of 50 URLs I might want to scrape, but I only want the English ones about climate change. Can you fetch the metadata for https://reuters.com/environment/story-123 to check the title, description, and language before I commit to a full extraction?"},{"title":"Token budget estimation before LLM call","prompt":"I'm about to send a webpage into my LLM pipeline — can you first check https://techcrunch.com/2024/05/some-article and tell me roughly how many tokens it would use so I can decide if it fits within my context window?"},{"title":"Canonical URL resolution for deduplication","prompt":"I think I have duplicate pages in my crawl — can you pull the metadata for https://example.com/page?utm_source=twitter and tell me what the canonical URL is so I can check if it's already in my index?"}],"resultDescription":"Returns a JSON object containing the page title, meta description, canonical URL, detected language (or null), word count, estimated token count, and a boolean indicating whether a charge was applied.","failureModes":["URL is unreachable or returns a non-200 status — likely returns an error or empty fields","Page has no meta description or title — fields may be empty strings","Paywalled or bot-blocked pages may return incomplete or misleading metadata","Language detection may be null for very short or binary pages","Network timeout on slow-loading pages"],"whenToPreferThis":"Use this endpoint when you need to quickly triage or filter URLs before committing to more expensive full-page extraction. It is ideal for relevance checks, token budget estimation, deduplication via canonical URLs, and language filtering. Prefer it over full-extraction sibling endpoints when you don't yet need the page body, headings, or markdown — just the signals needed to decide whether deeper processing is worthwhile.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:33:31.256Z","isFirstParty":false,"canonicalSlug":"fetchweb-metadata-api-9af8421e"}