# x402-markdown-extractor Metadata Extractor

> x402-markdown-extractor Metadata Extractor is a paid API for AI agents from x402.valkyry.fr, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Fetches a public URL and returns structured page metadata including title, description, language, OG image, site name, and estimated reading time.

## Facts

- Endpoint: POST https://x402.valkyry.fr/metadata?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-markdown-extractor-metadata-extractor-6665c301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vk67LLeo6gd86Ki8s2a_E

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 x402-markdown-extractor-metadata-extractor-6665c301 -d '<json body>'
```

Example prompt: Can you pull the title, description, language, and reading time for this article: https://example.com/some-blog-post?

## When to prefer this

Use this endpoint when you need lightweight, structured page metadata (title, description, language, OG image, reading time) from a publicly accessible URL without needing full page content or HTML. Ideal for link previews, content enrichment pipelines, or agent workflows that need to quickly characterize a web page before deciding how to process it further.

## Known failure modes

- Private, loopback, or metadata IP addresses are rejected with an error
- Non-publicly-reachable URLs return an error
- Malformed or non-URI input returns a validation error
- Pages with no metadata return empty or null fields for missing properties
- Payment failure via x402 protocol returns a 402 response before content is served

## How this service works

Extract structured metadata from any web page: title, description, author, published date, language, OpenGraph image, canonical URL, favicon and estimated reading time. Lightweight enrichment for AI agents and link indexing.

## Output

Returns a JSON object with the page URL, detected language code, OG image URL, page title, site name, meta description, and estimated reading time in minutes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute http(s) URL. Must be publicly reachable; private/loopback/metadata addresses are rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "lang": "en",
  "image": "https://example.com/og.png",
  "title": "Example",
  "siteName": "Example",
  "description": "…",
  "readingTimeMinutes": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-markdown-extractor-metadata-extractor-6665c301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.valkyry.fr](https://www.zero.xyz/host/x402.valkyry.fr/llms.txt)
