Generate web page markdown
Convert a web page into clean markdown.
Operation
/v1/web/markdownHeaders
API key (`sfk_...`)
Parameters
Absolute http or https URL to fetch.
min 1 chars · max 2083 chars
Content filter strategy for markdown extraction.
one of: fit, raw, bm25
Optional query string used by the bm25 filter to rank relevant content.
max 500 chars
Cache behavior: enabled (read/write cache), bypass (skip cache), or write_only.
one of: enabled, bypass, write_only
Response fields
Endpoint-specific response payload.
URL that was fetched.
HTTP status code reported for the page fetch.
Markdown content extracted from the page.
Primary markdown text extracted from the page.
Filtered markdown optimized for LLM consumption.
Markdown with numbered citations for outbound links.
Reference list for cited links in the markdown output.
Page metadata such as title when available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
Responses
Markdown extraction result.
Error codes