# x402 Gateway Metadata Single

> x402 Gateway Metadata Single 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-10).

Extracts metadata (title, description, Open Graph tags, and other head-level properties) from a single public webpage URL

## Facts

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

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-gateway-metadata-single-f29cc88f -d '<json body>'
```

Example prompt: Can you fetch the metadata from https://example.com — I need the page title, description, and any Open Graph tags it exposes?

## When to prefer this

Choose this endpoint when you need fast, lightweight metadata extraction from a single public URL without needing full page content or Markdown conversion. It is ideal for link preview generation, SEO auditing, content tagging, and enriching records with page titles and descriptions. Prefer this over full-page extraction endpoints when you only need head-level metadata and want minimal cost and latency.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — extraction fails
- Timeout exceeded (max 60 seconds) if the page loads slowly
- Malformed or non-URI input causes validation error
- Page has no meaningful metadata in the HTML head — returns empty or sparse results
- JavaScript-rendered pages may not expose full metadata since the extractor likely fetches static HTML
- CORS or bot-blocking mechanisms on target site may prevent fetching

## How this service works

Extract webpage metadata, OpenGraph and JSON-LD for one public URL. Scalar single-URL contract for MCP and autonomous buyer runtimes.

## Output

Returns a JSON object with structured metadata extracted from the target webpage's HTML head, including title, meta description, Open Graph properties (og:title, og:description, og:image, og:url), Twitter card tags, canonical URL, and other relevant head-level metadata fields 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public http(s) webpage URL."
      },
      "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": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-metadata-single-f29cc88f/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)
