{"uid":"cap_soS5DcWthLYpZo1zcmjnM","slug":"agentshelf-html-tag-regex-extractor-04f1a2b1","name":"AgentShelf HTML Tag Regex Extractor","description":"Call when an agent needs HTML tags extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/regex-html-tag first.","url":"https://agentshelf.syntexa.ch/v1/regex-html-tag?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["<p>"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q8JF8DwaGUXFRV3F5ds_x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts up to 20 HTML tag matches from input text using regex, returning matched tags as a list.","exampleAgentPrompt":"Can you extract all the HTML tags from this text for me: '<div class=\"header\"><h1>Hello</h1><p>World</p></div>'?","exampleUseCases":[{"title":"Audit HTML structure in content","prompt":"I have this raw HTML snippet and I need to know what HTML tags are being used in it — can you extract all the tags from this text: '<section><h2>About Us</h2><p>We are a team of <strong>experts</strong>.</p></section>'?"},{"title":"Detect forbidden tags in user input","prompt":"A user submitted this content and I need to check whether it contains any HTML tags — can you scan this text and list all HTML tags found: 'Hello <script>alert(1)</script> world <b>bold</b>'?"},{"title":"Inventory tags in a template string","prompt":"I'm working with an email template and I need a list of every HTML tag it uses. Can you extract the HTML tags from this string: '<table><tr><td><a href=\"#\">Click here</a></td></tr></table>'?"}],"resultDescription":"A list of up to 20 matched HTML tag strings found within the input text, extracted via regex. If no HTML tags are present, an empty match list is returned. Note: an empty result is still billed at $0.002 USDC.","failureModes":["Empty match list returned when no HTML tags are found in the input (still billed)","Input text exceeds 100,000 character limit — request rejected","Match count capped at 20 — only first 20 HTML tags returned even if more exist","Malformed or non-HTML input may yield zero matches without error"],"whenToPreferThis":"Use this endpoint when you need a quick, lightweight regex-based extraction of HTML tags from a text string without setting up a full HTML parser. Ideal for agents that need to detect, audit, or inventory HTML tags in snippets or user-supplied content. If cost is a concern and a free sandbox alternative exists at POST /v1/sandbox/regex-html-tag, prefer that first. Not suitable for structured DOM traversal or attribute extraction beyond tag names.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:28.405Z","isFirstParty":false,"canonicalSlug":"agentshelf-html-tag-regex-extractor-04f1a2b1"}