{"uid":"cap_U9nCiZxV27kf6WViZinGp","slug":"web-page-structured-data-extractor-5c404d8d","name":"Web Page Structured Data Extractor","description":"Read a public web page and extract structured data from it according to a JSON Schema you provide, via Claude Haiku 4.5 — combines page fetching, readability extraction, and structured extraction in one call. Body: {url: string (http/https), schema: object (JSON Schema describing the fields to extract, page content truncated to 8000 chars)}.","url":"https://x402-seller-0ay3.onrender.com/api/web/extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL of the page to read and extract from."},"schema":{"type":"object","description":"JSON Schema describing the fields to extract."}}},"responseSchema":{"type":"json","example":{"url":"https://en.wikipedia.org/wiki/HTTP_402","data":{"title":"HTTP 402","first_paragraph":"The HTTP 402 Payment Required..."},"title":"HTTP 402","fetched_at":"2026-09-01T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_18-x3bSaFBmQmpkUYMCXx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public web page, extracts its readable content, and returns structured JSON fields defined by a caller-provided JSON Schema, powered by Claude Haiku 4.5","exampleAgentPrompt":"Go to https://en.wikipedia.org/wiki/HTTP_402 and extract the page title, the first paragraph, and a list of any related status codes mentioned — return it as structured JSON.","exampleUseCases":[{"title":"Product price and spec extraction","prompt":"Fetch https://store.example.com/products/widget-pro and extract the product name, price, key specs, and availability into structured fields."},{"title":"Job posting details extractor","prompt":"Read the job listing at https://jobs.lever.co/acme/1234 and pull out the job title, location, salary range, required skills, and application deadline as structured JSON."},{"title":"News article metadata harvesting","prompt":"Go to https://techcrunch.com/2024/01/15/some-article and extract the headline, author name, publication date, and article summary into a JSON object."}],"resultDescription":"A JSON object containing the URL that was fetched, a `data` field holding the extracted fields matching the caller-provided JSON Schema, the page title, and a `fetched_at` ISO timestamp indicating when the page was retrieved.","failureModes":["URL is not publicly accessible or returns a non-200 status — extraction fails with an error","Page content exceeds 8000 characters and gets truncated, potentially missing fields near the end","Requested fields in the JSON Schema are not present or ambiguous on the page — fields may return null or empty","Page is JavaScript-rendered (SPA) and readability extraction returns minimal content","Malformed JSON Schema provided — may cause extraction errors or unexpected output","Rate limiting or blocking by the target website returns no content"],"whenToPreferThis":"Choose this endpoint when you need to fetch a specific public web page AND extract structured, schema-defined fields from it in a single API call. It is ideal when you know exactly which fields you want (product name, price, author, etc.) and want them returned as clean JSON without writing a custom parser. Prefer this over a plain page-reader endpoint when structured extraction is the goal, and over a generic LLM prompt when you want schema-enforced output. Not suited for JavaScript-heavy SPAs, login-gated pages, or full-site crawls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:32.036Z","isFirstParty":false}