{"uid":"cap_j_m4R5-wTDDVSin3RpUMh","slug":"articles-element-count-db2903f2","name":"Articles Element Count","description":"Articles — Element count: Element count 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 element count result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-articles-count?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_2XFjFY9HqaV6AdeU2Vswd","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":"Counts HTML elements within article content on a public webpage or supplied HTML, using a configurable term and attribute filter.","exampleAgentPrompt":"Count how many article elements with the attribute 'data-kind' equal to 'example' appear on https://example.com/blog — use static HTML parsing, no JavaScript rendering needed.","exampleUseCases":[{"title":"Count product cards on a listing page","prompt":"Parse https://shop.example.com/products and count how many elements have the attribute 'data-kind' with the value 'product-card' — I want to know how many product listings are on that page."},{"title":"Audit article count from supplied HTML","prompt":"Here's the HTML of our CMS output — count how many article elements have the id attribute set to 'main-post' in this markup: <!doctype html><html><body><article id=\"main-post\">First</article><article id=\"main-post\">Second</article></body></html>"},{"title":"Monitor blog post element frequency","prompt":"Check https://news.example.com/articles and tell me how many elements with the attribute 'class' equal to 'news-item' are present on that page right now."}],"resultDescription":"Returns a single bounded integer count representing the number of HTML elements on the parsed page or supplied HTML that match the specified term, attribute, and attribute value filters. No JavaScript rendering is performed; parsing is static only.","failureModes":["URL is not publicly accessible or returns a non-200 status — count result may be zero or an error is returned","Page requires JavaScript rendering to load content — elements added dynamically will not be counted","Supplied HTML exceeds 100,000 character limit — request rejected","Term or attribute pattern does not match schema constraints — validation error returned","URL redirects to a login page or paywalled content — parsed HTML will not contain expected elements"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, fast, static count of HTML elements on a public webpage or known HTML string, filtered by attribute and value. It is ideal for monitoring element counts, auditing CMS output, or checking page structure without needing full JavaScript rendering or dynamic content support. At $0.01 USDC per call it is cost-effective for frequent or batch checks against static HTML content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:32.059Z","isFirstParty":false,"canonicalSlug":"articles-element-count-db2903f2"}