# X402 Web Metadata Extractor

> X402 Web Metadata Extractor is a paid API for AI agents from x402.feld-feder.at, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).

Fetches and returns structured metadata (title, language, JSON-LD, Open Graph, canonical URL) from a given web page URL via a pay-per-request API.

## Facts

- Endpoint: POST https://x402.feld-feder.at/v1/web/metadata?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-metadata-extractor-0ff18b8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h2kgggQkhnXJmijBC3SA0

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

Example prompt: Can you fetch the structured metadata for https://example.com — I need the page title, language, Open Graph tags, JSON-LD data, and canonical URL?

## When to prefer this

Choose this endpoint when you need structured metadata (title, Open Graph, JSON-LD, canonical URL, language) from a specific URL without setting up your own scraping infrastructure. It is ideal for agents that need quick, pay-per-use web metadata extraction without API key management, making it suitable for low-frequency lookups where a subscription service would be overkill.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Pages behind authentication or paywalls may return incomplete metadata
- Pages with no Open Graph or JSON-LD return empty arrays for those fields
- Rate limiting or payment failure may block the request
- Very slow or large pages may timeout

## How this service works

Pay-per-request data tools for AI agents.

## Output

A JSON object with ok:true and a data object containing: page title (string), language code (e.g. 'en'), an array of JSON-LD structured data objects, an array of Open Graph tag objects, and the canonical URL string.

## 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",
     "title": "WebUrlRequest",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "title": "Url",
       "maxLength": 4096,
       "minLength": 1
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "ResponseEnvelope[WebMetadataData]",
     "required": [
      "data"
     ],
     "properties": {
      "ok": {
       "type": "boolean",
       "const": true,
       "title": "Ok",
       "default": true
      },
      "data": {
       "type": "object",
       "title": "WebMetadataData",
       "required": [
        "title",
        "language",
        "canonical_url",
        "open_graph",
        "json_ld"
       ],
       "properties": {
        "title": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ],
         "title": "Title"
        },
        "json_ld": {
         "type": "array",
         "items": {
          "type": "object",
          "additionalProperties": true
         },
         "title": "Json Ld"
        },
        "language": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ],
         "title": "Language"
        },
        "open_graph": {
         "type": "array",
         "items": {
          "type": "object",
          "additionalProperties": true
         },
         "title": "Open Graph"
        },
        "canonical_url": {
         "anyOf": [
          {
           "type": "string"
          },
          {
           "type": "null"
          }
         ],
         "title": "Canonical Url"
        }
       }
    
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "title": "Example",
   "json_ld": [],
   "language": "en",
   "open_graph": [],
   "canonical_url": "https://example.com"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-metadata-extractor-0ff18b8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.feld-feder.at](https://www.zero.xyz/host/x402.feld-feder.at/llms.txt)
