# EchoEmpire Page Metadata Extractor

> EchoEmpire Page Metadata Extractor is a paid API for AI agents from echoempire-demand-gateway.echoempire-in-co.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Fetches and returns structured metadata (title, description, Open Graph, Twitter Card, canonical URL, language) from any public HTML page URL, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://echoempire-demand-gateway.echoempire-in-co.workers.dev/v1/page-metadata?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/echoempire-page-metadata-extractor-9e7c1a22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6LYbn7giOGIaKIjYdnudz

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 echoempire-page-metadata-extractor-9e7c1a22
```

Example prompt: Can you pull the page metadata — title, description, Open Graph tags, and canonical URL — from https://stripe.com/payments so I can build a link preview card for it?

## When to prefer this

Choose this endpoint when you need a quick, per-call metadata extraction from a single public HTML page without setting up an account or API key — ideal for link preview generation, SEO audits, or enriching URLs with structured metadata. It's well-suited for AI agent workflows that need on-demand, pay-as-you-go access to page metadata via USDC micropayments, with full on-chain verifiability of each call at /ledger.json.

## Known failure modes

- Non-HTML or non-public URLs may return empty metadata fields
- Pages behind authentication or paywalls will not return useful metadata
- Payment failure via x402 will result in a 402 response before the call is processed
- Invalid or malformed URLs will cause the request to fail at input validation
- Pages with bot-blocking or CAPTCHA may return 403 or incomplete metadata

## How this service works

Pay-per-call web utilities in USDC on Base via x402 — no account, no API key. Every paid call is publicly verifiable at /ledger.json.

## Output

A JSON object containing: the page's title, meta description, canonical URL, language code, HTTP status, resolved URL, and any Open Graph (og:*) and Twitter Card (twitter:*) tag key-value pairs 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Absolute http(s) URL of an HTML page"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "og": {},
  "url": "https://example.com",
  "lang": "en",
  "title": "Example Domain",
  "status": 200,
  "twitter": {},
  "canonical": null,
  "description": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/echoempire-page-metadata-extractor-9e7c1a22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from echoempire-demand-gateway.echoempire-in-co.workers.dev](https://www.zero.xyz/host/echoempire-demand-gateway.echoempire-in-co.workers.dev/llms.txt)
