{"uid":"cap_LZ731gfPc6SDP6uHpGuU_","slug":"definition-descriptions-element-count-b2f4b470","name":"Definition Descriptions — Element Count","description":"Definition descriptions — Element count: Element count for Definition descriptions. 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-definition-text-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><dd id=\"sample\" data-kind=\"example\">Example product guide</dd></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_51knPlrQNNl6dzlx9jgu0","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 definition description (<dd>) elements on a web page or supplied HTML that match a given term and optional attribute filter.","exampleAgentPrompt":"Count how many definition description elements on https://example.com/glossary contain the term 'product' and have the attribute 'id' equal to 'sample'.","exampleUseCases":[{"title":"Glossary term frequency check","prompt":"Go to https://docs.example.com/glossary and count how many dd elements contain the term 'authentication' — I want to know how many definitions cover that topic."},{"title":"Attribute-filtered element audit","prompt":"I have this HTML snippet — can you count how many dd elements have the attribute 'data-kind' set to 'example' and contain the word 'guide'?"},{"title":"Content change monitoring baseline","prompt":"Count the number of definition description elements on https://mysite.com/faq that mention 'shipping' so I can track if that number changes over time."}],"resultDescription":"Returns a bounded integer count of how many <dd> (definition description) HTML elements on the target page or supplied HTML match the specified term and optional attribute/attribute-value filter. One result per call at $0.01 USDC.","failureModes":["URL is unreachable or returns non-200 status — count result will be zero or error","JavaScript-rendered content is not counted — only static HTML is parsed","HTML exceeds 100,000 character limit — request rejected","Attribute pattern doesn't match schema regex — validation error","Term is empty or missing — request rejected (minLength:1)","Page requires login or access bypass — content not accessible, count may be zero"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) static count of HTML definition description elements matching a term and optional attribute filter on a public page or supplied HTML. Prefer it over full-page scrapers when you only need an element count, not full content extraction. Not suitable for JavaScript-rendered pages, authenticated pages, or non-dd HTML elements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:35.913Z","isFirstParty":false,"canonicalSlug":"definition-descriptions-element-count-b2f4b470"}