# agent402.tools Article Extractor

> agent402.tools Article Extractor is a paid API for AI agents from agent402.tools, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Extracts the main article content from any public URL and returns it as clean markdown with metadata

## Facts

- Endpoint: POST https://agent402.tools/api/extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-article-extractor-6bf07a6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LXtUAE6PA8UU_I6O5lBK2

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 agent402-tools-article-extractor-6bf07a6e -d '<json body>'
```

Example prompt: Can you pull the main article content from https://www.nytimes.com/2024/05/01/technology/ai-agents.html and give it to me as clean markdown with the title and author?

## When to prefer this

Choose this endpoint when you need to extract readable article content from a public URL and want clean markdown output with structured metadata (title, byline, excerpt, word count). Ideal for agents that need to read, summarize, or process web articles without dealing with raw HTML parsing.

## Known failure modes

- URL is not publicly accessible (paywalled, login-required) — extraction may fail or return incomplete content
- URL points to a non-article page (homepage, search results) — may return low-quality or empty content
- URL is malformed or unreachable — returns an error
- Dynamic JavaScript-rendered pages may not be fully extracted
- Rate limiting or network errors from the target site

## How this service works

Read one known URL: the main article content as clean markdown with title, byline, excerpt and word count, boilerplate removed. Use it when an agent already has a URL and needs the text; for JavaScript-rendered pages that return an empty shell, use a browser render instead.

## Output

Returns the article title, byline (author), excerpt, word count, and the full article body as clean markdown — stripped of navigation, ads, and other page boilerplate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public http(s) URL to extract"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://agent402.tools/guides/x402-in-5-minutes",
  "title": "x402 in 5 minutes",
  "byline": null,
  "excerpt": "Short summary…",
  "markdown": "# x402 in 5 minutes\n\nBody…",
  "wordCount": 850,
  "untrustedContent": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-article-extractor-6bf07a6e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
