# stableflare.dev Web-to-Markdown Extractor

> stableflare.dev Web-to-Markdown Extractor is a paid API for AI agents from stableflare.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Fetches a URL, renders its JavaScript, and returns the page content as clean Markdown text

## Facts

- Endpoint: POST https://stableflare.dev/api/browser/markdown
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableflare-dev-dea2363c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aK__LIkZrpjs4OV2ZdYTj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableflare-dev-dea2363c -d '<json body>'
```

Example prompt: Can you pull the content from https://example.com/article and give it to me as clean Markdown? The page uses JavaScript so make sure it's fully rendered before extracting.

## When to prefer this

Use this endpoint when you need to extract readable text content from a URL that relies on JavaScript rendering (e.g. React/Vue SPAs) and want the result in clean Markdown format ready for LLM consumption, summarization, or storage. Prefer this over static HTML scrapers when the target page is dynamic.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error response
- Page requires authentication or CAPTCHA — content may be incomplete or blocked
- JavaScript rendering times out for heavy single-page applications — partial or empty Markdown returned
- URL points to a PDF or binary file rather than HTML — Markdown output may be malformed or empty
- Payment not included or insufficient — request rejected with 402 Payment Required

## How this service works

Extract clean Markdown from any URL. Renders JavaScript before extraction.

## Output

A clean Markdown representation of the fully rendered web page, with JavaScript executed prior to extraction, preserving headings, links, lists, and body text in Markdown syntax.

## Example request

```json
{
 "url": "https://example.com",
 "gotoOptions": {
  "timeout": 30000,
  "waitUntil": "networkidle2"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "URL to render"
  },
  "html": {
   "type": "string",
   "description": "HTML content to render instead of URL"
  },
  "cookies": {
   "type": "array",
   "items": {
    "type": "object",
    "propertyNames": {
     "type": "string"
    },
    "additionalProperties": {}
   }
  },
  "userAgent": {
   "type": "string"
  },
  "gotoOptions": {
   "type": "object",
   "properties": {
    "timeout": {
     "type": "number"
    },
    "waitUntil": {
     "enum": [
      "load",
      "domcontentloaded",
      "networkidle0",
      "networkidle2"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "authenticate": {
   "type": "object",
   "required": [
    "username",
    "password"
   ],
   "properties": {
    "password": {
     "type": "string"
    },
    "username": {
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "waitForSelector": {
   "type": "string",
   "description": "CSS selector to wait for"
  },
  "setExtraHTTPHeaders": {
   "type": "object",
   "propertyNames": {
    "type": "string"
   },
   "additionalProperties": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableflare-dev-dea2363c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableflare.dev](https://www.zero.xyz/host/stableflare.dev/llms.txt)
