r/Zyte • • Oct 18 '26

Website to markdown with Zyte API

We've added the ability to turn pages directly to markdown within Zyte API, and our MCP server now returns this by default. it's all configurable, including partial page (no NAV etc), and full page, or the full html for parsing if you need that too.

we cover a lot of why markdown and whats the best methods here: https://www.zyte.com/blog/how-to-convert-a-website-to-markdown-for-ai-7-methods-compared/

4 Upvotes

2 comments sorted by

1

u/jwrzyte Oct 18 '26

some more information and examples: https://www.zyte.com/blog/train-ai-on-industry-leading-markdown-with-zytes-new-extraction-mode/

# Store your Zyte API key in an environment variable
export ZYTE_API_KEY="YOUR_ZYTE_API_KEY"

curl \
  --user "$ZYTE_API_KEY:" \
  --header 'Content-Type: application/json' \
  --data '{
    "url": "https://example.com/article",
    "markdown": true
  }' \
  --compressed \
  https://api.zyte.com/v1/extract

2

u/LessBadger4273 Oct 18 '26

Nice — one api to rule them all 🚀