Markdown From URL API1.0.0
Fetches the page at a URL and returns it as Markdown. This console is generated from the API description; every operation can be tried from here.
Show/Hide | List Operations | Expand Operationsmarkdown : Convert a page
Show/Hide | List Operations | Expand Operationsnotes : Implementation Notes
Markdown From URL: Markdown from any URL, over a small HTTP API. No key, no sign-up.
Put the address after the slash, or in url=. The answer is the page as
Markdown:
https://www.markdownfromurl.com/api/markdown/https://example.com/some/article
https://www.markdownfromurl.com/api/markdown?url=https://example.com/some/article
From a shell:
curl https://www.markdownfromurl.com/api/markdown/https://example.com/some/article
curl -G https://www.markdownfromurl.com/api/markdown \
--data-urlencode 'url=https://example.com/page?a=1&b=2'
Other formats: text without the marks,
cleaned-up HTML, or JSON with the title, the final address, the status
and the content:
https://www.markdownfromurl.com/api/markdown?format=text&url=https://example.com/
https://www.markdownfromurl.com/api/markdown?format=html&url=https://example.com/
https://www.markdownfromurl.com/api/markdown?format=json&url=https://example.com/
curl -H 'Accept: application/json' \
https://www.markdownfromurl.com/api/markdown/https://example.com/
Put url last, or percent-encode it: an address written out as it is
runs to the end of the line, with its own ? and & in it.
Redirects are followed and X-Source-Url says where the page came from.
Images are left out; images=1 keeps them as links. A long page is cut
at 400 kB and X-Incomplete says so. HTML, plain text, Markdown, JSON and
XML are read; PDFs and other files are not.
Show/Hide | List Operations | Expand Operationsbatch : Convert many pages (not implemented)
[ base url: https://www.markdownfromurl.com/api , api version: 1.0.0 ] Contact the developer: TODO