{"uid":"cap_U5omCRQaa9VEKfHtDSEl9","slug":"fetchwerk-structured-web-extraction-f18473f3","name":"fetchwerk Structured Web Extraction","description":"Fill a caller supplied JSON Schema from one web page and report source and confidence for every field.","url":"https://fetch.halowerk.com/structured?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Absolute http or https URL to read."},"schema":{"type":"object","description":"Target JSON Schema, draft 2020-12. Only the types object, array, string, number, integer, boolean and null are accepted; composition keywords such as $ref, oneOf, anyOf, allOf and if/then are refused. At most 200 fields and no deeper than max_depth. The root must describe an object."},"strict":{"type":"boolean","default":true,"description":"true rejects the call with 422 when the result violates the submitted schema, so no partial data is returned and nothing is charged. false returns the partial data with the error list."},"max_depth":{"type":"integer","default":3,"maximum":4,"minimum":1,"description":"Maximum nesting depth the submitted schema may use. A deeper schema is refused before payment."}}},"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_xvyNjzPPX3sEOcPRcZngU","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 single web page and populates a caller-supplied JSON Schema with extracted data, returning a source citation and confidence score for every field.","exampleAgentPrompt":"Go to https://en.wikipedia.org/wiki/OpenAI and extract the fields foundingDate (string), headquarters (string), and numberOfEmployees (integer) — use strict mode so I only get a result if all fields are valid.","exampleUseCases":[{"title":"Extracting job listing details","prompt":"Fetch https://jobs.example.com/posting/12345 and pull out the job title, salary range, required skills as an array of strings, and application deadline into a structured object — reject the result if anything is missing or wrong."},{"title":"Pulling company info from a directory page","prompt":"Go to https://www.crunchbase.com/organization/stripe and extract the company name, founding year, total funding amount, and CEO name into my schema fields — I want confidence scores on each field so I know how reliable the data is."},{"title":"Structured data from a news article","prompt":"Scrape https://www.bbc.com/news/technology-12345678 and fill in these fields: headline (string), publishedAt (string), author (string), and summary (string) — return partial data even if some fields are missing, don't reject the whole call."}],"resultDescription":"A JSON object conforming to the submitted schema, where each field is populated with data extracted from the target page. Every field includes a source reference (e.g. XPath or text snippet) and a numerical confidence score. If strict mode is on and the result violates the schema, the call returns a 422 with an error list and no charge is applied. If strict mode is off, partial data is returned alongside any validation errors.","failureModes":["422 Unprocessable Entity — submitted schema uses unsupported keywords ($ref, oneOf, anyOf, allOf, if/then) or exceeds 200 fields or max_depth 4","422 Unprocessable Entity — extracted data violates schema in strict=true mode; no charge applied","URL is unreachable or returns non-200 status — extraction fails with an error","Page content is too sparse or ambiguous for the model to map fields — low confidence scores or missing values returned in strict=false mode","Schema root is not an object type — call is refused before payment"],"whenToPreferThis":"Choose this endpoint when you have a precise, caller-defined schema and need per-field provenance and confidence alongside the extracted values. It is ideal for agentic workflows that require schema validation guarantees (strict mode) or partial-data fallback (strict=false) and need traceability of where each datum came from. Prefer this over generic scraping endpoints when you own the schema definition and correctness guarantees matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:39:34.011Z","isFirstParty":false,"canonicalSlug":"fetchwerk-structured-web-extraction-f18473f3"}