# FetchWeb Extract

> FetchWeb Extract is a paid API for AI agents from fetchweb.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Extracts structured content from a single web page, returning title, description, headings, clean text, markdown, links, and images.

## Facts

- Endpoint: GET https://fetchweb.net/api/public/extract?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fetchweb-extract-61160f3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EKfFeh7_v5iskjz0eTftg

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 fetchweb-extract-61160f3a
```

Example prompt: Can you fetch https://example.com/article and give me the title, main text, and all the links on the page as structured JSON?

## When to prefer this

Choose this endpoint when you need structured, multi-field extraction from a single URL — specifically when you want title, description, headings, clean text, markdown, links, and images all in one call. Prefer it over a raw fetch when you need clean, parsed content rather than raw HTML, and when token-budget fitting is not yet a concern (see the sibling token-budget endpoint for that use case). Ideal for article ingestion, link auditing, page summarization pipelines, and any workflow that needs webpage content in a structured format.

## Known failure modes

- URL is unreachable or returns non-200 HTTP status — extraction fails with an error
- Page is JavaScript-rendered and content is not available in static HTML — text/headings may be empty or incomplete
- Paywalled or login-protected pages return only gate content, not the article body
- Malformed or non-HTML URLs (PDFs, binary files) may yield empty or garbled text fields
- Network timeout if the target page is slow to respond

## How this service works

Structured extraction of one web page: title, description, headings, clean main text, markdown, links and images.

## Output

A JSON object containing the page URL, title, meta description, array of headings, clean main text, full markdown rendition of the page, array of links (href + text), and array of image URLs found on the page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "format": {
       "enum": [
        "json",
        "text",
        "markdown"
       ],
       "type": "string",
       "default": "json"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "text": {
       "type": "string"
      },
      "links": {
       "type": "array"
      },
      "title": {
       "type": "string"
      },
      "images": {
       "type": "array"
      },
      "headings": {
       "type": "array"
      },
      "markdown": {
       "type": "string"
      },
      "description": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "links": {
   "type": "array"
  },
  "title": {
   "type": "string"
  },
  "images": {
   "type": "array"
  },
  "headings": {
   "type": "array"
  },
  "markdown": {
   "type": "string"
  },
  "description": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fetchweb-extract-61160f3a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fetchweb.net](https://www.zero.xyz/host/fetchweb.net/llms.txt)
