# 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-13).

Fetches a URL and extracts page title, description, OpenGraph/Twitter card data, canonical URL, and favicon.

## Facts

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

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-68e6398e -d '<json body>'
```

Example prompt: Can you pull the metadata for https://stripe.com — I need the page title, description, OpenGraph image, and canonical URL so I can see how it appears when shared on social media?

## When to prefer this

Choose this endpoint when you need quick, structured extraction of standard web page metadata (title, description, OG tags, Twitter cards, favicon, canonical) without running a full browser. Ideal for link preview generation, bookmark enrichment, SEO auditing, and social share validation. Prefer this over a full headless browser crawl when the metadata is in static HTML and you don't need page content or rendered DOM.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails with an error
- Page uses heavy JavaScript rendering — metadata in dynamically injected tags may not be captured
- No OpenGraph or Twitter card tags present — those fields return null or empty
- Malformed or invalid URL input — request rejected with validation error
- Target server blocks scraping bots — request may time out or return no content

## 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), 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-68e6398e/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)
