{"uid":"cap_HJinQ-66gwoyVre1PeKqi","slug":"signalharness-heading-structure-audit-4a251dae","name":"SignalHarness Heading Structure Audit","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/heading_structure_audit/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","maxLength":65536,"minLength":1},"markdown":{"type":"string","maxLength":65536,"minLength":1}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"format":"html","status":"pass","outline":[{"id":"example","text":"Example caller-supplied content.","level":1,"ordinal":0}],"summary":{"h1Count":0,"failCount":0,"warnCount":0,"headingCount":0},"findings":[{"code":"empty_heading","ordinal":0,"severity":"warn"}]},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"heading_structure_audit","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"8d84614babda1c1bd530afa4959a19bfe4b54a572b11fbe18adfdbfe9612f1a6","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cuXZMbKfE9W9aQD5N6jPC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes HTML or Markdown content to audit heading hierarchy structure, detecting issues and generating a pass/fail report with an outline and findings.","exampleAgentPrompt":"Can you audit the heading structure of this HTML and tell me if there are any hierarchy issues or missing h1 tags? Here's the content: <html><body><h2>Section</h2><p>Some text</p></body></html>","exampleUseCases":[{"title":"CMS content accessibility check","prompt":"I just exported this article HTML from our CMS — can you run a heading structure audit on it and tell me if the headings are properly nested and if there's a valid h1?"},{"title":"Markdown documentation review","prompt":"Here's the markdown for our new docs page — can you audit the heading hierarchy and let me know if there are any skipped levels or structural problems?"},{"title":"Pre-publish SEO heading validation","prompt":"Before I publish this blog post, can you check the heading structure in this HTML to make sure there are no heading issues that could hurt SEO or accessibility?"}],"resultDescription":"Returns a JSON object with a status field (pass/fail), a heading outline array showing the document's heading hierarchy, a summary object with counts of h1 headings, total headings, failures, and warnings, and a findings array listing specific structural issues found. Also includes a receipt with payment and execution metadata.","failureModes":["Empty or missing html/markdown input returns validation error","Content exceeding 65536 characters is rejected","Malformed HTML may result in incomplete outline parsing","Network or payment processing failure returns error status","Invalid content type or schema mismatch returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a structured, machine-readable audit of HTML or Markdown heading hierarchy — particularly for accessibility compliance checks, SEO pre-publication validation, or CMS content quality pipelines. It is purpose-built for heading structure analysis rather than general HTML linting or full accessibility audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:31:18.955Z","isFirstParty":false}