# Wealth Agent URL Metadata Extractor

> Wealth Agent URL Metadata Extractor is a paid API for AI agents from wealth-agent.wealthagent-app.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Fetches and extracts metadata (title, description, link count, text length) from a given public URL

## Facts

- Endpoint: GET https://wealth-agent.wealthagent-app.workers.dev/api/x402/url-meta?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wealth-agent-url-metadata-extractor-800adf73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oKCZeewi3L3IliMdJPBUB

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 wealth-agent-url-metadata-extractor-800adf73
```

Example prompt: Can you fetch the metadata for https://x402.org — I want to know the page title, description, and how many links are on it?

## When to prefer this

Use this endpoint when you need a fast, lightweight extraction of page-level metadata (title, description, link count) from a public URL without needing full HTML parsing or deep content analysis. Prefer this over full-scraping endpoints when you only need summary-level signals.

## Known failure modes

- URL is not publicly accessible or behind authentication — returns error with ok:false
- Invalid or malformed URL provided — request rejected at validation
- Target page returns non-200 HTTP status — status code reflected in response
- Page takes too long to load — timeout error returned
- URL resolves to non-HTML content (e.g. PDF, image) — may return empty or partial metadata

## How this service works

Fetch one public URL and return machine-readable page metadata: HTTP status, title, meta/og description, canonical URL, language, link count and a short text sample. Honest 4xx/5xx statuses are returned as data, not as errors. Use it for link previews, source triage and citation checks.

## Output

Returns a JSON object with the page kind ('url-meta'), HTTP status code, page title, description, number of links found on the page, total text character count, and response time in milliseconds.

## 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Absolute http(s) URL of a public page"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "resource",
      "status",
      "deliverable"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tx": {
       "type": [
        "string",
        "null"
       ]
      },
      "note": {
       "type": "string"
      },
      "error": {
       "type": [
        "string",
        "null"
       ]
      },
      "job_id": {
       "type": [
        "string",
        "null"
       ]
      },
      "status": {
       "enum": [
        "delivered",
        "paid_not_delivered"
       ],
       "type": "string"
      },
      "resource": {
       "type": "string"
      },
      "receipt_id": {
       "type": [
        "string",
        "null"
       ]
      },
      "deliverable": {
       "type": [
        "object",
        "null"
       ],
       "required": [
        "kind",
        "summary"
       ],
       "properties": {}
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "url-meta",
  "title": "x402",
  "status": 200,
  "took_ms": 240,
  "text_chars": 1830,
  "description": "Payment standard for the internet",
  "links_count": 42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wealth-agent-url-metadata-extractor-800adf73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wealth-agent.wealthagent-app.workers.dev](https://www.zero.xyz/host/wealth-agent.wealthagent-app.workers.dev/llms.txt)
