Also in docs/dev/quickstarts.md

Scrape a page to Markdown

Turn any public page into clean Markdown for an LLM or a search index. About 1 minute.

You need:

  • An API key in PYROSYNC_API_KEY and the deployment URL in PYROSYNC_URL (for example https://app.example.com).

1. Scrape the page

POST /api/v1/scrape

curl -sS -X POST "$PYROSYNC_URL/api/v1/scrape" \
  -H "X-API-Key: $PYROSYNC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com",
  "formats": [
    "markdown"
  ],
  "onlyMainContent": true
}'

The Markdown is in data.markdown.

Result: The page body as Markdown, with metadata (title, status code, source URL).

Cost: One fresh scrape credit per page; screenshots, PDFs, extraction and stealth proxies add more.