# Web Page Metadata Extractor

> Web Page Metadata Extractor is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Extracts structured metadata from one or more URLs, including title, description, Open Graph, Twitter cards, canonical URL, robots directives, headings, and JSON-LD.

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/metadata?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-metadata-extractor-c1781b7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_04Xwq139lx_CzeqASO-0J

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 web-page-metadata-extractor-c1781b7c -d '<json body>'
```

Example prompt: Can you fetch the metadata for these three URLs — https://example.com, https://openai.com, and https://github.com — and give me each page's title, description, Open Graph image, and canonical URL?

## When to prefer this

Choose this endpoint when you need to batch-extract SEO and structured metadata (Open Graph, Twitter cards, JSON-LD, canonical URLs, robots) from one or many pages without spinning up your own scraper. It is purpose-built for metadata extraction rather than full HTML or content scraping, making it ideal for SEO audits, link preview generation, structured data validation, and content enrichment pipelines.

## Known failure modes

- URL is unreachable or returns non-2xx status — endpoint may return an error or empty metadata for that URL
- Timeout if the target page is slow to respond (max 60 seconds)
- Empty or partial metadata if the page uses JavaScript rendering and the content is not in static HTML
- Invalid URL format causes validation failure before the request is sent
- Exceeding 100 URLs per request returns a schema validation error

## How this service works

Extract webpage metadata, OpenGraph and JSON-LD. Returns title, description, canonical URL, robots directives, headings, Open Graph, Twitter cards and structured data for one public URL per paid request.

## Output

Returns a structured object per URL containing: page title, meta description, Open Graph properties (og:title, og:description, og:image, etc.), Twitter card tags, canonical URL, robots meta directives, heading tags (H1–H6), and any JSON-LD structured data blocks found on the page.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "urls"
     ],
     "properties": {
      "urls": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uri"
       },
       "maxItems": 100,
       "minItems": 1
      },
      "concurrency": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1
      },
      "timeout_seconds": {
       "type": "integer",
       "maximum": 60,
       "minimum": 5
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "url": "https://example.com/",
    "title": "Example Domain",
    "status": "ready"
   }
  ],
  "summary": {
   "failed": 0,
   "status": "ready",
   "requested": 1,
   "succeeded": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-page-metadata-extractor-c1781b7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
