# URL Metadata Extractor

> URL Metadata Extractor is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches a webpage and extracts its title, description, OpenGraph/Twitter card tags, canonical URL, and favicon.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/url-metadata
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-metadata-extractor-d7f2c38b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aFZ1jSXosml4aLB-tbe3s

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 url-metadata-extractor-d7f2c38b -d '<json body>'
```

Example prompt: Can you pull the title, description, og:image, and favicon from https://stripe.com so I can build a link preview card for it?

## When to prefer this

Use this endpoint when you need to extract standard webpage metadata (title, description, OG tags, Twitter cards, canonical, favicon) from any public URL without running a full browser. Ideal for building link previews, auditing SEO tags, or enriching content with page metadata. Prefer over general-purpose web scrapers when the specific goal is structured social/SEO metadata rather than full page content.

## Known failure modes

- URL is unreachable or returns a non-200 status — metadata fields may be empty or error returned
- Page uses JavaScript rendering exclusively — statically served meta tags may be missing
- URL points to a non-HTML resource (PDF, image) — no HTML metadata available
- Page blocks crawlers via robots.txt or user-agent checks — fetch may fail or return partial content
- Malformed or invalid URL input — request rejected with validation error

## How this service works

Fetch a page and extract title, description, OpenGraph/Twitter cards, canonical, and favicon.

## Output

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Example Domain"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-metadata-extractor-d7f2c38b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
