{"uid":"cap_-XIna2Wo9OCkjAo-20vJf","slug":"agentreader-structured-data-extraction-c4639f1f","name":"AgentReader Structured Data Extraction","description":"AI structured-data extraction: turn any web page, text or HTML into JSON matching YOUR schema. Send JSON with one of url/text/html plus 'schema' (a JSON Schema object) and optional 'instructions'. Returns validated JSON. Powered by Claude with guaranteed schema conformance.","url":"https://agentreader.dev/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to fetch and extract from (or use text/html)"},"html":{"type":"string","description":"Raw HTML to extract from"},"text":{"type":"string","description":"Raw text to extract from"},"schema":{"type":"object","description":"JSON Schema (root type object) describing the desired output"},"instructions":{"type":"string","description":"Optional extraction guidance"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Oqg1y3tCUkFP5KruagIU9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON from any web page, HTML, or text by applying a caller-supplied JSON Schema, powered by Claude with guaranteed schema conformance.","exampleAgentPrompt":"Fetch the product page at https://example.com/product/123 and extract the product name, price, availability, and list of features into a JSON object matching this schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"price\":{\"type\":\"number\"},\"available\":{\"type\":\"boolean\"},\"features\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}","exampleUseCases":[{"title":"Job listing data pipeline","prompt":"Scrape this job posting at https://jobs.example.com/eng-456 and give me back a JSON object with fields for jobTitle, company, location, salaryRange, requiredSkills (as an array), and applicationDeadline — use this schema: {\"type\":\"object\",\"properties\":{\"jobTitle\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"salaryRange\":{\"type\":\"string\"},\"requiredSkills\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"applicationDeadline\":{\"type\":\"string\"}}}"},{"title":"E-commerce product catalog enrichment","prompt":"I have this raw HTML from a product listing page — can you extract the product name, SKU, price, description, and all available sizes into a structured JSON record? Here's the HTML: <html>...</html>. Schema: {\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"sku\":{\"type\":\"string\"},\"price\":{\"type\":\"number\"},\"description\":{\"type\":\"string\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}"},{"title":"News article metadata extraction","prompt":"Pull the article at https://techcrunch.com/2024/01/15/some-story and extract the headline, author name, publication date, summary, and list of mentioned companies into JSON matching this schema: {\"type\":\"object\",\"properties\":{\"headline\":{\"type\":\"string\"},\"author\":{\"type\":\"string\"},\"publishedAt\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"mentionedCompanies\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}"}],"resultDescription":"Returns a validated JSON object whose structure exactly matches the JSON Schema provided by the caller. All fields conform to the schema's types, required fields, and constraints. The response is guaranteed to be parseable JSON that passes schema validation, making it safe to use directly in downstream data pipelines without further normalization.","failureModes":["URL is unreachable or returns non-200 — extraction cannot proceed, error returned","Caller-provided JSON Schema is malformed or has unsupported constructs — validation error","Target page requires JavaScript rendering or authentication — content may be incomplete or empty","Requested schema fields are not present in source content — fields may be null or missing in output","Input text/HTML is too long for the underlying model context window — truncation or error","Rate limiting or payment failure via x402 — 402 response with payment details"],"whenToPreferThis":"Choose this endpoint when you need to extract structured, schema-validated JSON from arbitrary web content and you already know the exact shape of the output you want. It is ideal over generic scraping APIs when schema conformance is critical — e.g. feeding data directly into a typed database or a strictly-typed downstream service. Prefer it over general-purpose LLM calls when you want guaranteed JSON structure without writing your own extraction prompt engineering. It is especially useful when the source is unstructured prose, mixed HTML, or a public web page that would otherwise require custom parsing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:33:43.880Z","isFirstParty":false,"canonicalSlug":"agentreader-structured-data-extraction-c4639f1f"}