{"uid":"cap_FSAuAOmyIYPA238zGe5Ub","slug":"page-titles-html-fragment-extraction-59a28b25","name":"Page Titles — HTML Fragment Extraction","description":"Page titles — HTML fragment extraction: HTML fragment extraction for Page titles. 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 html fragment extraction result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-title-html?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><title id=\"sample\">Example product guide</title></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_hHEpxXZa7LArwwWF4bjXx","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 the page title HTML fragment from a public URL or supplied HTML using static parsing with attribute-based targeting.","exampleAgentPrompt":"Can you extract the page title HTML fragment from https://example.com/product-guide — look for the element with id 'main-title' and skip anything matching 'Old Title'?","exampleUseCases":[{"title":"SEO title audit for a product page","prompt":"Pull the title HTML fragment from https://shop.acme.com/widgets — find the element with the attribute id equal to 'page-title' and tell me what it says, ignoring any older titles like 'Legacy Widget Page'."},{"title":"Extract title from pasted HTML snippet","prompt":"I have this HTML snippet and I need you to extract the title element — the tag has an id of 'sample' and the search term is 'product'. Here's the HTML: <!doctype html><html><head></head><body><title id=\"sample\">Example product guide</title></body></html>"},{"title":"Competitive page title monitoring","prompt":"Fetch the page title fragment from https://competitor.io/landing and find the element with attribute id set to 'hero-title', searching for the term 'solution', so I can track how they're positioning their product."}],"resultDescription":"Returns a bounded HTML fragment containing the matched title element found by static parsing of the supplied URL or HTML. The result includes the extracted text of the element matching the given attribute and value, suitable for further processing or display.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with no result","Page requires JavaScript rendering to display content — static parser returns empty or incomplete fragment","Attribute or attribute_value does not match any element in the HTML — returns empty result","Supplied HTML exceeds 100,000 character limit — request rejected","URL exceeds 2,048 character limit — request rejected","Login-protected or access-restricted pages cannot be accessed — no bypass is attempted"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight static extraction of a page title HTML fragment from a public URL or raw HTML string, without JavaScript rendering. It is ideal for SEO audits, metadata collection, or content monitoring on publicly accessible static pages. Prefer it over full browser-based scraping tools when the page title is rendered server-side and no authentication is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:25.042Z","isFirstParty":false,"canonicalSlug":"page-titles-html-fragment-extraction-59a28b25"}