{"uid":"cap_WuxszkNsrZlXuIwpmD4UU","slug":"pocket-network-structured-web-extraction-68027012","name":"Pocket Network Structured Web Extraction","description":"Fetch a web page and return structured data: standard fields (title, description, language, h1, OpenGraph, author, published), headings, JSON-LD and a text excerpt. Optional schema picks named fields or applies regexes to the HTML. POST /v1/url with {url}. JavaScript is not executed; pages are cached for 10 minutes. Pay per request in USDC; no account, no API key.","url":"https://agent.pocket.network/v1/structured-web-extraction?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The page URL (http or https)."},"schema":{"description":"Optional: a list of field names, a JSON Schema, or {fields: {name: regex}}."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6_iUB8UpDxv2iV0jMjeni","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page and returns structured metadata fields, headings, JSON-LD, and a text excerpt, with optional regex or schema-based field extraction.","exampleAgentPrompt":"Can you fetch the page at https://example.com/article and pull out the title, author, published date, and a text excerpt from it?","exampleUseCases":[{"title":"Article metadata for content pipeline","prompt":"Grab the title, author, publish date, and OpenGraph image from this article URL https://techcrunch.com/2024/05/01/some-article and give me the structured data."},{"title":"JSON-LD extraction for SEO audit","prompt":"Fetch the page at https://myshop.com/product/widget and extract all the JSON-LD structured data so I can check what schema markup they're using."},{"title":"Custom field scraping with regex","prompt":"Pull the page at https://news.ycombinator.com and extract the top post titles by applying a regex that matches the story link text — give me those as named fields."}],"resultDescription":"Returns a structured JSON object containing standard fields (title, description, language, h1, OpenGraph metadata, author, published date), a list of headings, any JSON-LD blocks found on the page, a plain-text excerpt, and any custom fields defined by the optional schema parameter. Pages are cached for 10 minutes.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","JavaScript-rendered content is not returned since JS is not executed","Paywalled or login-gated pages return only visible pre-auth HTML","Regex patterns in optional schema that don't match return empty custom fields","Malformed URL input results in a validation error","Cache may return slightly stale data up to 10 minutes old"],"whenToPreferThis":"Choose this endpoint when you need fast, structured metadata extraction from a public web page without executing JavaScript, and you want to pay per call in USDC with no account or API key setup. It is ideal for one-off or agent-driven scraping tasks where you need standard fields like title, author, OpenGraph, and JSON-LD plus optional custom regex extraction. Prefer alternatives if the target page requires JavaScript rendering, authentication, or full-page crawling beyond a single URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:33:59.609Z","isFirstParty":false,"canonicalSlug":"pocket-network-structured-web-extraction-68027012"}