# GEDX402 Browser Article Extractor

> GEDX402 Browser Article Extractor is a paid API for AI agents from browser.gedx402.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Fetches a URL or renders raw HTML in a headless browser and extracts the main article content as structured HTML

## Facts

- Endpoint: GET https://browser.gedx402.com/v1/browser/extract/article
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-browser-article-extractor-96d31aeb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jnEIiyidfwBjdD2Tb8a9Y

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 gedx402-browser-article-extractor-96d31aeb
```

Example prompt: Can you extract the main article content from this page: https://www.nytimes.com/2025/01/15/technology/ai-agents.html — I just need the article HTML, no ads or nav.

## When to prefer this

Use this endpoint when you need to extract the main article body from a live webpage or raw HTML using a real headless browser, especially for JavaScript-rendered pages. Prefer this over simple HTTP fetch tools when the page requires JS execution or when you specifically need article-focused extraction rather than full-page scraping. Best for one-off article reads paid per-call with no API key setup via x402/USDC.

## Known failure modes

- Invalid or unreachable URL returns an error or empty HTML
- Payment failure via x402 if USDC balance is insufficient or network unsupported
- Timeout if the page takes too long to load or renders JS-heavy content
- CSS selector not found returns empty result
- Paywalled or bot-blocked pages may return login/CAPTCHA pages instead of article content

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

Returns a JSON object containing the extracted article HTML from the rendered page, specifically the main article body stripped of surrounding boilerplate, navigation, and ads.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "HTTPS URL to load (required unless html is set)."
  },
  "html": {
   "type": "string",
   "description": "Raw HTML to render instead of fetching a URL."
  },
  "prompt": {
   "type": "string",
   "description": "Natural-language extraction prompt (for /json)."
  },
  "elements": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Scrape selectors (for /scrape)."
  },
  "selector": {
   "type": "string",
   "description": "CSS selector for element capture or scrape."
  },
  "viewport": {
   "type": "object",
   "description": "Browser viewport width/height/deviceScaleFactor."
  },
  "pdfOptions": {
   "type": "object",
   "description": "PDF print options."
  },
  "gotoOptions": {
   "type": "object",
   "description": "Puppeteer goto options (e.g. waitUntil: networkidle0)."
  },
  "response_format": {
   "type": "object",
   "description": "JSON schema for structured /json extraction."
  },
  "screenshotOptions": {
   "type": "object",
   "description": "fullPage, type, omitBackground, etc."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "html": "<html>...</html>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-browser-article-extractor-96d31aeb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from browser.gedx402.com](https://www.zero.xyz/host/browser.gedx402.com/llms.txt)
