{"uid":"cap_ivh6dODKW-lGDqVtSUhRM","slug":"articles-attribute-extraction-9d1ef0be","name":"Articles — Attribute Extraction","description":"Articles — Attribute extraction: Attribute 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 attribute extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-articles-attributes?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_8YahBl5C6fUaeYoihnv32","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 a specific HTML attribute value from article elements on a given web page or supplied HTML, using static parsing without JavaScript rendering.","exampleAgentPrompt":"Can you extract the 'data-kind' attribute from all article elements on https://example.com/news — search for elements matching the term 'product' and tell me the attribute values you find?","exampleUseCases":[{"title":"Extract article IDs from news page","prompt":"Go to https://techcrunch.com/category/startups and extract the 'id' attribute from all article elements — I want to find which articles match the term 'startup'."},{"title":"Scrape data attributes from supplied HTML","prompt":"Here's some HTML I have: <article data-category=\"finance\" id=\"art-42\">Market update</article> — can you extract the 'data-category' attribute from the article element with term 'market'?"},{"title":"Find specific article element by attribute value","prompt":"On the page https://blog.example.com/posts, look for article elements where the 'class' attribute equals 'featured' and the term is 'guide' — what attribute value does it have?"}],"resultDescription":"Returns a bounded attribute extraction result containing the value of the specified HTML attribute found on matching article elements from the provided URL or HTML content, parsed statically without JavaScript execution.","failureModes":["URL is behind a login or paywall — static parser cannot bypass authentication","Page requires JavaScript rendering — content invisible to static parser","Attribute name pattern does not match regex (must start with a letter, alphanumeric/colon/underscore/hyphen, max 50 chars)","No article element matching the given term is found on the page","URL is unreachable or returns a non-200 HTTP status","HTML payload exceeds 100,000 character limit","URL exceeds 2,048 character limit"],"whenToPreferThis":"Choose this endpoint when you need to extract a specific HTML attribute from article elements on a public, statically-served webpage or a known HTML snippet, without needing JavaScript rendering, login bypass, or full-page crawling. It is ideal for structured metadata extraction (IDs, data-* attributes, class names) from article tags specifically, at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:27.867Z","isFirstParty":false,"canonicalSlug":"articles-attribute-extraction-9d1ef0be"}