{"uid":"cap_pruheSdV9-8aFu8PD4x7r","slug":"hars-zero-signal-api-html-extraction-endpoint-ad026708","name":"HARS-Zero Signal API – HTML Extraction Endpoint","description":"Utility API for AI agents — fetch URLs, extract structured HTML,\nsummarize text, get live FX rates, and geocode addresses. Pay per call\nin USDC on Base or Solana via x402. No API keys, no subscriptions.\nSub-cent pricing optimized for high-volume agent loops.","url":"https://hars.cryptotavern.xyz/paid/extract","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["as_of","title"],"properties":{"as_of":{"type":"string","format":"date-time","description":"RFC3339 timestamp"},"links":{"type":"array","items":{"type":"object","required":["href","text"],"properties":{"rel":{"type":"string"},"href":{"type":"string"},"text":{"type":"string"}}}},"risks":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"images":{"type":"array","items":{"type":"object","required":["src"],"properties":{"alt":{"type":"string"},"src":{"type":"string"}}}},"favicon":{"type":"string"},"product":{"type":"string"},"evidence":{"type":"array","items":{"type":"string","format":"uri"},"description":"Polymarket order book / event / reference URLs"},"headings":{"type":"array","items":{"type":"object","required":["level","text"],"properties":{"text":{"type":"string"},"level":{"type":"integer"}}}},"language":{"type":"string"},"og_image":{"type":"string"},"canonical":{"type":"string"},"confidence":{"type":"number","maximum":1,"minimum":0,"description":"Model confidence 0.0-1.0"},"market_ids":{"type":"array","items":{"type":"string"},"description":"Polymarket slugs or ids referenced in this response"},"paragraphs":{"type":"array","items":{"type":"string"}},"source_url":{"type":"string"},"word_count":{"type":"integer"},"description":{"type":"string"},"read_minutes":{"type":"integer"},"next_best_action":{"type":"object","properties":{"why":{"type":"string"},"endpoint":{"type":"string"},"price_usd":{"type":"number"},"product_id":{"type":"string"}}}},"description":"HTML/URL -> structured fields (title/headings/links/paras)."},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["as_of","title"],"properties":{"as_of":{"type":"string","format":"date-time","description":"RFC3339 timestamp"},"links":{"type":"array","items":{"type":"object","required":["href","text"],"properties":{"rel":{"type":"string"},"href":{"type":"string"},"text":{"type":"string"}}}},"risks":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"images":{"type":"array","items":{"type":"object","required":["src"],"properties":{"alt":{"type":"string"},"src":{"type":"string"}}}},"favicon":{"type":"string"},"product":{"type":"string"},"evidence":{"type":"array","items":{"type":"string","format":"uri"},"description":"Polymarket order book / event / reference URLs"},"headings":{"type":"array","items":{"type":"object","required":["level","text"],"properties":{"text":{"type":"string"},"level":{"type":"integer"}}}},"language":{"type":"string"},"og_image":{"type":"string"},"canonical":{"type":"string"},"confidence":{"type":"number","maximum":1,"minimum":0,"description":"Model confidence 0.0-1.0"},"market_ids":{"type":"array","items":{"type":"string"},"description":"Polymarket slugs or ids referenced in this response"},"paragraphs":{"type":"array","items":{"type":"string"}},"source_url":{"type":"string"},"word_count":{"type":"integer"},"description":{"type":"string"},"read_minutes":{"type":"integer"},"next_best_action":{"type":"object","properties":{"why":{"type":"string"},"endpoint":{"type":"string"},"price_usd":{"type":"number"},"product_id":{"type":"string"}}}},"description":"HTML/URL -> structured fields (title/headings/links/paras)."},"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_BUWBpA8g6umHb0UJJyqZQ","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":"Fetches a URL and extracts structured HTML fields (title, headings, links, paragraphs, images, metadata) into a machine-readable JSON object","exampleAgentPrompt":"Can you fetch https://example.com/article and extract the structured content — title, headings, paragraphs, and all links — into a clean JSON object?","exampleUseCases":[{"title":"News article content extraction","prompt":"Pull the full structured content from this article URL — https://apnews.com/article/some-story — I need the title, all headings, paragraphs, and any outbound links, along with how long it would take to read."},{"title":"Competitor product page research","prompt":"Fetch https://competitor.com/product and extract all the headings, paragraphs, and links so I can analyze what they're emphasizing on their landing page."},{"title":"Research reference page parsing","prompt":"I need you to scrape https://en.wikipedia.org/wiki/Large_language_model and give me back the structured content — title, section headings, body paragraphs, and images — so I can summarize the key sections."}],"resultDescription":"A JSON object containing structured fields extracted from the fetched URL: page title, hierarchical headings (with level), body paragraphs, links (with href and anchor text), images (with src and alt), favicon, canonical URL, language, og_image, word count, estimated read time in minutes, a text description, a model confidence score (0–1), the source URL, a timestamp, and optionally a next_best_action suggestion pointing to a follow-up endpoint.","failureModes":["URL is unreachable or returns a non-200 HTTP status — extraction fails with an error response","Page is JavaScript-rendered only — static HTML extraction may return empty or incomplete content","Paywalled or bot-protected pages may return minimal or misleading HTML","Invalid or malformed URL input causes a validation error","Payment failure via x402 protocol (insufficient USDC balance) blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need to turn any arbitrary public URL into a structured JSON representation of its HTML content — especially in high-frequency agent loops where cost matters, since at $0.002 per call there is no subscription overhead. Prefer it over browser automation tools when you need lightweight, fast structured extraction rather than full JavaScript rendering. It is ideal for pipelines that need to parse articles, product pages, or reference documents into fields like headings, paragraphs, and links without building a custom scraper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:57.773Z","isFirstParty":false}