# agent402.tools Page Metadata Fetcher

> agent402.tools Page Metadata Fetcher is a paid API for AI agents from agent402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches page metadata for any public URL, including title, description, OpenGraph tags, Twitter card data, canonical URL, and favicon.

## Facts

- Endpoint: GET https://agent402.tools/api/meta
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-page-metadata-fetcher-28e06eb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2CWhIZf_HVktj1VhYRAWy

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 agent402-tools-page-metadata-fetcher-28e06eb9
```

Example prompt: Can you fetch the page metadata for https://openai.com — I need the title, description, OpenGraph tags, and favicon URL?

## When to prefer this

Use this endpoint when you need to quickly extract structured metadata (title, description, OG tags, Twitter cards, canonical, favicon) from a single public URL without running a full browser render. Ideal for link preview generation, SEO auditing, social share validation, or content enrichment pipelines. Choose a screenshot endpoint instead if you need visual rendering.

## Known failure modes

- URL is not publicly accessible or requires authentication — may return empty or partial metadata
- Non-HTML resources (PDFs, images) may lack most metadata fields
- Pages with JavaScript-rendered metadata may not be fully captured
- Network timeout if the target page is slow to respond
- Invalid or malformed URL input returns an error

## How this service works

Fetch page metadata for a URL: title, description, OpenGraph, Twitter cards, canonical URL, favicon.

## Output

Returns structured metadata extracted from the target URL including: page title, meta description, OpenGraph properties (og:title, og:description, og:image, etc.), Twitter card tags, the canonical URL, and the favicon URL.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://www.wikipedia.org"
  }
 }
}
```

## 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",
     "required": [
      "url",
      "title",
      "description",
      "og",
      "twitter"
     ],
     "properties": {
      "og": {
       "type": "object",
       "properties": {
        "title": {
         "type": "string"
        }
       }
      },
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "twitter": {
       "type": "object"
      },
      "description": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "og": {
   "title": "Example"
  },
  "url": "https://example.com",
  "title": "Example",
  "twitter": {},
  "description": "Example site"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-page-metadata-fetcher-28e06eb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
