{"uid":"cap_va_P9mxPxOTsU4mASLcTy","slug":"veritonhtmljson-fa6bf5dc","name":"VeritonHTMLJSON","description":"Extract structured JSON from an HTML string for agents (title, meta, headings, links, images, optional CSS selector). $0.02 USDC/call on Base.","url":"https://veriton-html-json-api.netlify.app/v1/html-to-json","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"Raw HTML document or fragment"},"limit":{"type":"integer","default":40,"description":"Max matches"},"selector":{"type":"string","description":"Optional CSS selector"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6KlNvKGky4bE0-eHFlSzw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured JSON (title, meta, headings, links, images) from a raw HTML string, with optional CSS selector filtering.","exampleAgentPrompt":"Parse this HTML and give me all the headings, links, and images as structured JSON — and only return up to 20 results for each category.","exampleUseCases":[{"title":"Extract product links from page HTML","prompt":"I have the raw HTML of an e-commerce category page — can you pull out all the anchor links, page title, and meta description as structured JSON, up to 50 results?"},{"title":"Scrape article headings for SEO audit","prompt":"Here's the full HTML of a blog post — extract all the H1, H2, and H3 headings along with the page title and meta tags so I can review the SEO structure."},{"title":"Filter images by CSS selector","prompt":"From this HTML snippet I grabbed, use the selector '.product-gallery img' to pull out just the images and return them as structured JSON, limit to 10 results."}],"resultDescription":"A structured JSON object containing the page title, meta tag data, headings (h1-h6), all links (href + anchor text), and image URLs found in the HTML, filtered to the specified CSS selector and capped at the given limit.","failureModes":["Malformed or empty HTML input returns an error or empty fields","CSS selector that matches nothing returns empty arrays for that category","Limit of 0 or negative integer may return empty or error response","Extremely large HTML documents may time out or hit size limits","Invalid selector syntax may cause a parsing error"],"whenToPreferThis":"Use this endpoint when you already have raw HTML in hand and need it quickly decomposed into structured JSON fields — especially when you want to filter by a specific CSS selector rather than extracting everything. It is purpose-built for agent pipelines that receive HTML from a fetch/scrape step and need structured metadata without running a full browser.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:34:31.007Z","isFirstParty":false}