# SAN Foundation Web Extract

> SAN Foundation Web Extract is a paid API for AI agents from gateway.sanfoundation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a URL and returns its readable content including title, publish date, relevant excerpts, and full text

## Facts

- Endpoint: POST https://gateway.sanfoundation.com/x402/v1/web-extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/san-foundation-web-extract-fbb86b20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WZWV8lApnBW-sk_SXVvFX

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 san-foundation-web-extract-fbb86b20 -d '<json body>'
```

Example prompt: Can you fetch the article at https://techcrunch.com/2024/05/01/openai-news and extract the readable content, focusing on the parts about funding?

## When to prefer this

Choose this endpoint when you need clean, readable text from a specific known URL rather than a web search. It is ideal when you already have a URL and want article body text, excerpts focused on a particular topic, and metadata like publish date. Prefer it over a search endpoint when you don't need discovery — just extraction from a known source. The optional objective parameter makes it especially useful for focused research where you want relevance-ranked excerpts rather than the full dump.

## Known failure modes

- URL is behind a login or paywall — returns empty or partial content
- URL is invalid or unreachable — returns a fetch error
- Page has no extractable readable content (e.g. pure JavaScript SPA) — full_content may be empty
- Publish date not available — publish_date field returns null
- Payment not processed — 402 response before content is returned

## How this service works

Fetch and extract the readable content of a single URL. Returns the page title, publish date when known, the most relevant excerpts (optionally focused by an `objective`), and the full readable text of the page.

## Output

A JSON object containing the page URL, title, publish date (when available), an array of the most relevant text excerpts (optionally focused by the provided objective), and the full readable text of the page with boilerplate and navigation stripped away.

## 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": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Absolute http(s) URL to fetch and extract."
      },
      "objective": {
       "type": "string",
       "description": "Optional natural-language objective used to bias the excerpt selection."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "excerpts": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "full_content": {
       "type": "string"
      },
      "publish_date": {
       "type": "string",
       "nullable": true
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/san-foundation-web-extract-fbb86b20/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.sanfoundation.com](https://www.zero.xyz/host/gateway.sanfoundation.com/llms.txt)
