Skip to content
Skip to Content

Get page as markdown

Any page of the site as markdown, at its own URL: send Accept: text/markdown. Use it to read a niche, format, brand or ad page without parsing HTML. Lists show the signed-out view. Unknown paths answer 404 in markdown. A client that accepts neither markdown nor HTML gets 406. Enumerate paths from /sitemap.xml.

get/{path}

Authentication

None: anyone may call it.

Path parameters

  • pathstringrequired

    A page path without the leading slash, e.g. niches/beauty.

Headers

  • Acceptconstrequired

    text/markdown. q-values count (RFC 9110). A tie with text/html goes to HTML. Always text/markdown.

Responses

  • 200

    The page as markdown.

  • 404

    No page at that path; the body says where to look instead.

  • 406

    Neither text/markdown nor text/html is acceptable.