Contents · Overview
Contents
Render and extract clean text from any public URL — the same pipeline that powers our Search results.
Endpoint
POST
https://chat-api.you.com/contentsOutput formats
- markdown — main-content extraction in clean Markdown.
- html — sanitized HTML with scripts stripped.
- text — plain text body.
Example
Python
res = you.contents.fetch(url="https://example.com/article", format="markdown")
print(res.markdown)