# Page Metadata Extractor (x402)

> Page Metadata Extractor (x402) is a paid API for AI agents from scrooge-x402-tool-mill.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Fetches a public web page and returns its title, meta description, canonical URL, Open Graph image, language, and a ~500-character plaintext excerpt.

## Facts

- Endpoint: GET https://scrooge-x402-tool-mill.vercel.app/v1/page-meta?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-metadata-extractor-x402-7e5a3eea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ITlUZTdHhSejW5BPqz32

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 page-metadata-extractor-x402-7e5a3eea
```

Example prompt: Can you grab the page metadata for https://www.theverge.com — I want the title, description, og:image, and a short text excerpt from it?

## When to prefer this

Choose this endpoint when you need lightweight, structured metadata from a public webpage without full HTML scraping — ideal for link previews, SEO audits, content pipelines, or any agent workflow that needs a quick title/description/image snapshot of a URL. It requires no API key and uses pay-per-call x402 micropayment ($0.02 USDC on Base), making it suitable for low-volume or one-off extractions without subscription overhead.

## Known failure modes

- Private or link-local URLs are blocked (SSRF protection) and will be rejected
- Non-public URLs (e.g. localhost, internal IPs) will fail with an error
- Pages that return non-HTML content (e.g. PDFs, images) may return null for most fields
- Pages with no meta tags will return null for description, ogImage, and canonical
- Payment failure or insufficient USDC balance will prevent the request from completing
- Timeouts or network errors fetching the target page may result in a failure response

## How this service works

Extract public HTML page metadata for agents: title, description, canonical URL, Open Graph image, language, and a ~500-character plaintext excerpt. POST JSON {"url":"https://example.com"}. Public http(s) only. $0.02 USDC on Base (eip155:8453). No API key.

## Output

A JSON object containing: title (string or null), description (string or null), canonical (absolute URL string or null), ogImage (absolute image URL or null), language (language code string or null), and excerpt (whitespace-collapsed plaintext up to ~500 characters, with ellipsis if truncated, or null).

## 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": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public http(s) URL to fetch (SSRF-safe; private/link-local blocked)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "title",
      "description",
      "canonical",
      "ogImage",
      "language",
      "excerpt"
     ],
     "properties": {
      "title": {
       "type": [
        "string",
        "null"
       ],
       "description": "HTML title, or null"
      },
      "excerpt": {
       "type": [
        "string",
        "null"
       ],
       "description": "Whitespace-collapsed plaintext excerpt (~500 characters; ellipsis if truncated), or null"
      },
      "ogImage": {
       "type": [
        "string",
        "null"
       ],
       "description": "Absolute Open Graph or Twitter image URL, or null"
      },
      "language": {
       "type": [
        "string",
        "null"
       ],
       "description": "html lang or content-language, or null"
      },
      "canonical": {
       "type": [
        "string",
        "null"
       ],
       "description": "Absolute canonical URL, or null"
      },
      "description": {
       "type": [
        "string",
        "null"
       ],
       "description": "Meta description, or null"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/page-metadata-extractor-x402-7e5a3eea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrooge-x402-tool-mill.vercel.app](https://www.zero.xyz/host/scrooge-x402-tool-mill.vercel.app/llms.txt)
