{"uid":"cap_iQoDFca9O8al8NRfTOxLi","slug":"link-labels-attribute-extraction-14daec0b","name":"Link Labels — Attribute Extraction","description":"Link labels — Attribute extraction: Attribute extraction for Link labels. 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-links-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><a href=\"https://www.iana.org/\" id=\"sample\">Example product guide</a></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_RbOZPvgHQGkRrWD_vn-PI","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 anchor tags on a web page or supplied HTML, filtered by link label text matching a search term.","exampleAgentPrompt":"On the page at https://example-store.com/products, find the anchor tag whose label matches 'product guide' and return its id attribute value.","exampleUseCases":[{"title":"Extract download link href by label","prompt":"Look at https://software-vendor.com/downloads and find the link labeled 'Windows installer' — what is its href attribute?"},{"title":"Find tracking ID on affiliate link","prompt":"In this HTML snippet I'll paste, find the anchor tag whose text matches 'buy now' and extract its data-affiliate-id attribute: <!doctype html><html><body><a href='https://shop.com/item' data-affiliate-id='AFF123'>Buy now</a></body></html>"},{"title":"Locate anchor ID for deep linking","prompt":"On the page https://docs.example.com/guide, find the link labeled 'API reference' and tell me the value of its id attribute so I can deep-link to it."}],"resultDescription":"Returns the extracted attribute value from the first matching anchor element whose label text matches the supplied term, based on static HTML parsing of the provided URL or HTML string. Result is bounded to one attribute extraction per call.","failureModes":["URL is not publicly accessible or returns a non-200 status","Page requires JavaScript rendering which is not supported","No anchor tag label matches the supplied term","Specified attribute does not exist on matching anchor elements","HTML content exceeds 100,000 character limit","Attribute name does not match the required pattern (must start with a letter, alphanumeric/colon/underscore/hyphen, max 50 chars)","Term parameter is empty or missing"],"whenToPreferThis":"Use this endpoint when you need to extract a specific HTML attribute (e.g. href, id, data-*, class) from a hyperlink whose label text is known, on a publicly accessible static web page or a known HTML fragment. Prefer this over general-purpose scrapers when you only need a single bounded attribute result from a link element and want a low-cost ($0.01), deterministic, static-parse solution without JavaScript rendering overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:22.491Z","isFirstParty":false,"canonicalSlug":"link-labels-attribute-extraction-14daec0b"}