{"uid":"cap_gOQZmqflTbeiWlP30zZYt","slug":"web-fetch-webpage-content-retrieval-1a25edc3","name":"Web Fetch — Webpage Content Retrieval","description":"Web Fetch — Fetches and structures the main content of any webpage. Essential for AI agents for search, reading, and analysis.","url":"https://agentdatum.com/api/v1/d/web-fetch","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":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"raw":{"url":"https://example.com","source":"web_fetch","status":200,"text_preview":"Example Domain body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{","content_length":559},"source":"web_fetch","data_type":"工具","collected_at":"2026-08-09T18:12:38Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pfRs3cD-OTNtURWXgW-aU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and returns the structured body content of any arbitrary webpage for AI agent reading, searching, and analysis.","exampleAgentPrompt":"Can you fetch the content of https://example.com/article and return the full body text so I can read and analyze it?","exampleUseCases":[{"title":"Read live news article","prompt":"Go fetch the article at https://techcrunch.com/2025/01/10/openai-latest-news and return the full body text so I can summarize it."},{"title":"Check competitor pricing page","prompt":"Retrieve the content from https://competitor.com/pricing using a GET request so I can see what plans and prices they're currently listing."},{"title":"Verify regulatory page content","prompt":"Fetch the page at https://sec.gov/rules/2024-update and return all the text so I can check whether the new compliance rules mention derivatives."}],"resultDescription":"Returns the structured body content of the requested webpage, including the main text and relevant page data, formatted for easy AI agent consumption and analysis.","failureModes":["URL is unreachable or returns a non-200 status — error returned with HTTP status code","Target page requires JavaScript rendering — static fetch may return incomplete content","Page is behind authentication or a paywall — only publicly accessible content is returned","Invalid or malformed URL provided — request rejected with validation error","Rate limiting or blocking by target server — fetch may fail or return partial content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read, analyze, or extract information from a live public webpage in real time. It is ideal for single-URL content retrieval tasks where the agent needs the full body text of a page — such as reading news articles, checking documentation, or verifying live web content — and is preferable to general search APIs when you already have the target URL and need the actual page content rather than a list of search results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:04.066Z","isFirstParty":false}