Extract

Extract Markdown

POST
/extract/markdown

Fetches a URL and converts its HTML content to clean Markdown format with optional metadata extraction

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token for API authentication

In: header

Request Body

application/json

Request body

content?string

Content scope. "main" (default) returns the main article content; "full" returns the whole page, including navigation, footer, and links.

Default"main"

Value in

  • "main"
  • "full"
effort?string

Fetch effort level controlling speed vs. capability tradeoff. "min": fastest, no fallback (1-5s). "standard": balanced with enhanced reliability (default, 3-15s). "max": full browser rendering for JS-heavy sites (15-60s).

Default"standard"

Value in

  • "min"
  • "standard"
  • "max"
geo_target?

Optional geotargeting parameters for proxy requests

metadata?boolean

Include extracted metadata (Open Graph and HTML metadata) as a separate field in the response

Defaultfalse
nocache?boolean

Bypass cache and force fresh data retrieval

Defaultfalse
url*string

URL to fetch and convert to markdown

Formaturi

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/extract/markdown" \  -H "Content-Type: application/json" \  -d '{    "url": "https://example.com/blog/article"  }'

{  "content": "# Example Article Title\n\nThis is the article content converted to markdown...",  "metadata": {    "author": "Example Author",    "description": "This is an example article description",    "image": "https://example.com/images/article.jpg",    "publisher": "Example Publisher",    "site_name": "Example Blog",    "title": "Example Article Title",    "type": "article",    "url": "https://example.com/blog/article"  },  "url": "https://example.com/blog/article"}