# ClearPage Metadata Extractor

> ClearPage Metadata Extractor is a paid API for AI agents from clearpage-x402.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-02).

Fetches structured metadata from a public web page URL, returning title, Open Graph data, JSON-LD, and internal/external links.

## Facts

- Endpoint: GET https://clearpage-x402.vercel.app/v1/metadata?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clearpage-metadata-extractor-4a53f36e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WoFJMQ8wQQGMdbeXjSnLX

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 clearpage-metadata-extractor-4a53f36e
```

Example prompt: Can you grab the metadata for https://openai.com — I want the page title, any Open Graph info, JSON-LD structured data, and a list of internal and external links?

## When to prefer this

Choose this endpoint when you need lightweight, structured metadata extraction from a public URL without setting up an account or API key. It is ideal for one-off or low-volume tasks where pay-per-request USDC micropayments (via x402) are acceptable. Prefer it over full browser automation tools when you only need page title, Open Graph, JSON-LD, and link data — not full DOM rendering or JavaScript execution.

## Known failure modes

- URL is not publicly accessible (private/firewalled) — may return empty or error response
- Non-HTML resources (PDFs, images) may yield minimal or no metadata
- Pages requiring JavaScript rendering may return incomplete metadata since this is a static fetch
- Invalid or malformed URLs will cause request failure
- Payment failure on Base/x402 layer will prevent the request from being fulfilled

## How this service works

Pay-per-request web page tools for AI agents, paid in USDC on Base via x402. No account, no API key.

## Output

A JSON object containing the page URL, title string, Open Graph key-value pairs, an array of JSON-LD objects, and two arrays of links (internal and external) 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "links": {
   "external": [],
   "internal": []
  },
  "title": "Example Domain",
  "jsonLd": [],
  "openGraph": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearpage-metadata-extractor-4a53f36e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clearpage-x402.vercel.app](https://www.zero.xyz/host/clearpage-x402.vercel.app/llms.txt)
