šŸ“„
AI

Markdown converter

The markdown actor combines a smart fetch (HTTP fast-path when possible, full browser when needed) with a Readability-style extraction. The output is clean markdown — headings, paragraphs, links, code blocks — sized for direct embedding or for handing to a language model as context. Typical output is 80-95 percent smaller than the source HTML while preserving meaningful structure.

POST /v1/actors/markdown

Fields returned

Field Type Example
title string The State of the Web in 2026
markdown string # The State of the Web in 2026\n\n…
word_count number 3873
reading_time_min number 16

Sample response

{
  "status": "success",
  "url": "https://example.com/article",
  "time_ms": 480,
  "data": {
    "title": "The State of the Web in 2026",
    "markdown": "# The State of the Web in 2026\n\nIn the last year...",
    "word_count": 3873,
    "reading_time_min": 16
  }
}

Quickstart

curl -X POST https://api.datasonar.dev/v1/actors/markdown \
  -H "Authorization: Bearer osk_..." \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.example.com/article"}'

Markdown converter questions

How accurate is the Markdown converter actor? ā–¾
For pages that return a normal response, the actor extracts every documented field reliably. For pages that hit anti-bot defenses, the actor returns a clear error rather than guessing at incomplete data — your pipeline can decide whether to retry with a residential proxy.
How much does each markdown converter call cost? ā–¾
Every actor call counts as a single request against your monthly quota — same as every other endpoint. There are no per-vertical surcharges.
What happens if Markdown changes their page structure? ā–¾
We monitor structural changes on every site we support and update the actor before customer pipelines notice. Subscribe to the changelog to be notified when a vertical actor gets a new field or fix.
Can I request a custom field? ā–¾
Yes. Business and Enterprise customers can request additional fields on any actor. We typically ship within one to two weeks of a clear specification.

Try the markdown converter actor free.

1,000 requests every month, every endpoint, no credit card.