{"uid":"cap_1viqIXNiuQzz9ggUycPFB","slug":"articles-structured-extraction-2214e5ea","name":"Articles — Structured Extraction","description":"Articles — Structured extraction: Structured extraction for Articles. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded structured extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-articles-items?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","default":"","maxLength":2048},"html":{"type":"string","default":"<!doctype html><html><head></head><body><article id=\"sample\" data-kind=\"example\">Example product guide</article></body></html>","maxLength":100000},"term":{"type":"string","default":"product","maxLength":100,"minLength":1},"attribute":{"type":"string","default":"id","pattern":"^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$","maxLength":50},"previous_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["Older example"],"maxItems":200,"minItems":0},"attribute_value":{"type":"string","default":"sample","maxLength":200}}},"responseSchema":null,"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_hSTkEVx7xDPHtUuG3BurT","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":"Extracts structured data from a web article page or supplied HTML by matching elements against a specified term, attribute, and attribute value.","exampleAgentPrompt":"Can you extract the article content from https://example.com/news/story and find elements with the attribute 'data-kind' equal to 'body', searching for the term 'article'?","exampleUseCases":[{"title":"News article body extraction","prompt":"Pull the main article text from https://techcrunch.com/2024/01/15/ai-startup-raises-funding — look for elements with the attribute 'class' equal to 'article-body' using the term 'story'."},{"title":"Product guide content parsing","prompt":"I have this HTML from a product documentation page — can you extract the section where the attribute 'id' equals 'overview' and the term is 'product'? Here's the HTML: <!doctype html><html><body><article id='overview'>Our product does X...</article></body></html>"},{"title":"Deduplication with prior content","prompt":"Extract the article content from https://example.com/blog/post-42, looking for elements with attribute 'data-type' equal to 'content' and the term 'blog', but skip anything that matches these previously seen texts: ['Last week we covered...', 'In our previous post...']."}],"resultDescription":"Returns one bounded structured extraction result containing the matched HTML element data (text, attributes, context) from the provided URL or HTML, filtered by the specified term, attribute name, and attribute value. Results are statically parsed with no JavaScript rendering or login bypass.","failureModes":["URL is behind authentication or a paywall — endpoint cannot bypass login","Page requires JavaScript rendering to load content — static parser returns empty or incomplete results","URL is unreachable or returns a non-200 HTTP status","HTML input exceeds 100,000 character limit","No elements match the given attribute/attribute_value/term combination — empty extraction result","Malformed HTML input causes parsing errors","attribute parameter does not match the required pattern (must start with a letter, alphanumeric+special chars only)"],"whenToPreferThis":"Choose this endpoint when you need to extract structured content from a single, publicly accessible article page or known HTML snippet using attribute-based element targeting. It is best suited for static pages that do not require JavaScript rendering or authentication. Prefer this over general-purpose scrapers when you need fine-grained control via attribute name and value matching, and when you want a bounded, cost-predictable single-extraction result at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:10.513Z","isFirstParty":false,"canonicalSlug":"articles-structured-extraction-2214e5ea"}