Extract

Markdown Extraction

Convert any webpage into clean, semantic GitHub-Flavored Markdown (GFM). Preserves headings, lists, tables, code blocks, links, and image references. Ideal for feeding LLM agents and RAG pipelines.

POST/v1/extract/markdownCost: 2 Credits

Code Example

curl -X POST https://api-rendernest.duckdns.org/v1/extract/markdown \
  -H "Authorization: Bearer wf_live_xxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/docs"
  }'

Response Example

{
  "success": true,
  "request_id": "req_1725432150_2a1b9c",
  "data": {
    "url": "https://example.com/docs",
    "title": "Documentation Overview",
    "description": "Getting started guide",
    "markdown": "# Documentation Overview\n\nWelcome to the documentation...\n\n| Feature | Status |\n| --- | --- |\n| API | Operational |",
    "word_count": 420,
    "links_count": 18,
    "images_count": 3
  }
}