# Webpage Snippet

> Webpage Snippet is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a lightweight preview of any web page including title, meta description, canonical URL, language, first 500 characters of body text, and word count.

## Facts

- Endpoint: GET https://intel.rallylive.ca/page-snippet
- 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/webpage-snippet-ff085510
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s_RvK6zDOfqgPGOQJnGcm

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 webpage-snippet-ff085510
```

Example prompt: Can you give me a quick snippet of what this page is about — title, description, and the first bit of readable text — without loading the whole thing? The URL is https://example.com/article/ai-trends-2025.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01) preview of a URL's content without the overhead of a full page fetch or rendering pipeline. Ideal for relevance filtering, link enrichment, language detection, or classifying links at scale before deciding whether to process them further. Prefer this over a full scrape or headless browser when static HTML metadata is sufficient and latency/cost matters.

## Known failure modes

- URL is unreachable or returns non-200 HTTP status — snippet fields may be null or empty
- Page uses JavaScript rendering — static fetch may miss dynamically loaded content
- No meta description present — field returns empty or null
- Page blocks crawlers via robots.txt or rate limiting — may return error or empty body
- Redirect loop or invalid URL format — returns error with no data
- Non-HTML content type (PDF, binary) — body text snippet may be empty or malformed

## How this service works

Lightweight web page snippet: title, meta description, canonical/final URL, language, the first 500 characters of readable body text and word count. The fastest way for an agent to preview or classify a link before fetching the whole page. Link previews, search result enrichment, relevance filtering. $0.01 per URL.

## Output

Returns the page title, meta description, canonical and final (after redirects) URL, detected language code, the first 500 characters of readable body text stripped of HTML, and total word count of the page body.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webpage-snippet-ff085510/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
