{"uid":"cap_wWDiR5kGslPdZGm75SdfF","slug":"sparks-re-api-web-page-to-markdown-extractor-823e45f9","name":"Sparks RE API — Web Page to Markdown Extractor","description":"AI-powered real estate tools for property normalization, FHA compliance scanning, and investor metrics calculation. Powered by x402 micropayments.","url":"https://sparks-re-api.sparksdigital-re.workers.dev/utilities/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public webpage URL to fetch and convert to clean Markdown"},"html":{"type":"string","description":"Optional raw HTML string to parse directly"},"max_chars":{"type":"number","description":"Maximum Markdown length (default 16000)"}}},"responseSchema":{"type":"json","example":{"title":"Example Domain","headings":["H1: Example Domain"],"markdown":"# Example Domain\n\nThis domain is for use in illustrative examples in documents.","source_url":"https://example.com","word_count":28,"description":"","links_count":1}},"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_OZUXlFh4ciT4-rSmVCIGG","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":"Fetches a public webpage URL or raw HTML and converts it to clean, structured Markdown with extracted title, headings, links, and word count","exampleAgentPrompt":"Fetch the listing at https://www.zillow.com/homedetails/123-main-st/ and convert it to clean Markdown so I can analyze the property details — limit the output to 8000 characters.","exampleUseCases":[{"title":"Scrape listing page for AI analysis","prompt":"Grab the content from this Zillow listing page https://www.zillow.com/homedetails/456-oak-ave/ and convert it to Markdown — keep it under 12000 characters so I can run FHA compliance checks on it."},{"title":"Parse raw MLS HTML into readable text","prompt":"I have this raw HTML from an MLS listing page, can you parse it into clean Markdown so I can extract the property specs from it?"},{"title":"Extract article content from real estate blog","prompt":"Pull the content from https://www.inman.com/2024/05/market-trends and convert it to Markdown with the title and headings so I can summarize it for my newsletter."}],"resultDescription":"Returns a JSON object containing the page title, an array of headings, the full Markdown-formatted content, the source URL, total word count, meta description, and count of links found on the page.","failureModes":["URL is not publicly accessible or behind a login wall — returns empty or partial markdown","Malformed URL input — returns a validation error","Page content exceeds max_chars limit — content is truncated at the specified character count","Network timeout fetching the remote URL — returns a fetch error","HTML is heavily JavaScript-rendered and static scrape yields minimal content"],"whenToPreferThis":"Choose this endpoint when you need to convert a live public webpage or raw HTML into clean, structured Markdown for downstream text analysis, AI processing, or content extraction — particularly within the Sparks RE workflow where subsequent steps (FHA compliance scan, property normalization) expect Markdown or plain text input. Prefer this over a generic scraper when you want pre-extracted metadata like headings, word count, and link count alongside the content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:35:55.599Z","isFirstParty":false,"canonicalSlug":"sparks-re-api-web-page-to-markdown-extractor-823e45f9"}