- Takes: URL
- Active: contacts the target
The target URL goes directly after /md/ and may keep its own query string; ?url= also works. Default output is Markdown with a YAML header. With Accept: application/json the response is JSON. Truncation at 100,000 characters is flagged in the header. The docs do not list specific HTTP status codes or a full JSON schema.
Path parameters
urlThe full address of the page to convert
Headers
AcceptSend application/json to receive JSON instead of Markdown
Response fields · 4ShowHide
title
Page title
content
The page text as Markdown
tokensEstimate
Estimated token count of the content
status
Status of the fetch of the target page
curl 'https://tools.yukai.uk/md/https%3A%2F%2Fexample.com%2F'{
"title": "Example Domain",
"content": "# Example Domain\n\nThis domain is for use in illustrative examples.",
"tokensEstimate": 18,
"status": 200
}