# AgentTools URL Metadata Extractor

> AgentTools URL Metadata Extractor is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Fetches a URL server-side and extracts its title, meta description, Open Graph tags, Twitter card tags, canonical URL, and favicon for link previews or classification.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/live/url-metadata?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-url-metadata-extractor-99ef4134
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J3P3mtjJ522HPXFqltqEs

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 agenttools-url-metadata-extractor-99ef4134
```

Example prompt: Can you fetch the title, meta description, OG image, and favicon for https://example.com so I can build a link preview card?

## When to prefer this

Use this endpoint when an agent needs to generate a link preview (title, description, image, favicon) for a given URL without running client-side JavaScript, or when classifying/enriching a URL with its structured metadata. Prefer this over raw HTML fetching when only head-level metadata is needed, as it returns pre-parsed, structured fields rather than raw HTML.

## Known failure modes

- URL resolves to a private/internal IP address — blocked by SSRF guard
- Response body exceeds 1MB cap — truncated or error returned
- Page takes longer than 10 seconds to respond — timeout error
- Malformed or non-HTTP URL provided — validation error
- Target page returns non-200 status code — upstream error reported
- Page has no OG/meta tags — fields returned as null or empty

## How this service works

Fetch a URL server-side and extract its title, meta description, Open Graph and Twitter card tags, canonical URL and favicon — the data agents need to preview or classify a link. SSRF-guarded: private networks are blocked, 10s timeout, 1MB cap. Use this when an agent needs to title, description, OG image and favicon of any page.

## Output

Returns the page title, meta description, Open Graph properties (og:title, og:description, og:image, og:url), Twitter card tags, canonical URL, and favicon URL extracted from the target page's HTML.

## 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": "URL"
      }
     }
    }
   },
   "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/agenttools-url-metadata-extractor-99ef4134/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
