# fold · x402 – URL Content Extraction

> fold · x402 – URL Content Extraction is a paid API for AI agents from x402.fold.computer, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Extracts machine-readable content (title, highlights, full text, published date) from up to 5 URLs, optimized for onchain agents paying via x402.

## Facts

- Endpoint: POST https://x402.fold.computer/extract
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fold-x402-url-content-extraction-d698462c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oaVoMc9xYth9GzuriEdmM

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 fold-x402-url-content-extraction-d698462c -d '<json body>'
```

Example prompt: Extract the title, published date, highlights, and full text from these URLs: https://example.com/article1 and https://example.com/article2 — I need the structured content for my onchain research agent.

## When to prefer this

Use this endpoint when an AI agent needs to extract structured, machine-readable content from web pages and is operating in an x402-compatible payment environment. Ideal for onchain agents that need article text, titles, publication dates, and highlights from a small batch of URLs (up to 5) without building a custom scraper. Prefer this over generic scraping services when you need a pay-per-call model with crypto micropayments and structured output optimized for agent consumption.

## Known failure modes

- URL unreachable or returns non-200 — partial results or error status for that entry
- More than 5 URLs submitted — request may be rejected or truncated
- Paywalled or bot-blocked pages — content may be empty or incomplete
- x402 payment failure — request not processed, 402 returned
- Malformed URL in array — extraction fails for that URL with an error entry

## How this service works

Machine-readable market intelligence for onchain agents, served over x402.

## Output

A JSON object with a status field and a data object containing per-URL results including title, url, publishedDate, highlights, and optionally full page text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "urls"
 ],
 "properties": {
  "text": {
   "type": "boolean",
   "description": "include full text (default true)"
  },
  "urls": {
   "type": "array",
   "description": "URLs to extract (up to 5)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "description": "results: title, url, publishedDate, highlights"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fold-x402-url-content-extraction-d698462c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.fold.computer](https://www.zero.xyz/host/x402.fold.computer/llms.txt)
