Skip to main content

GET /sites//markdown/export

This endpoint generates and returns a markdown export of all the site’s URLs and their content. Available only for paid plans.
This feature requires a paid subscription. Free tier users will receive an error.

Path Parameters

string
required
The ID of the site to export.

Query Parameters

string
default:"individual"
Export format:
  • individual: Returns JSON with separate markdown for each URL
  • combined: Returns a single combined markdown file
boolean
default:"false"
If true, fetches fresh content instead of using cached markdown.

Response

For format=individual, returns JSON:
boolean
Whether the export was successful.
string
The format of the export (individual).
array
Array of markdown file objects.
For format=combined, returns plain markdown text with Content-Disposition header for download.