# PennyRail URL Metadata Fetcher

> PennyRail URL Metadata Fetcher is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches machine-readable page metadata (title, description, OG tags, etc.) for a given URL via a paid micro-settlement endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/mini/web.page-meta--url-metadata
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-url-metadata-fetcher-c850b84e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uHb1pxc9zKZhItm7Fx_u9

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 pennyrail-url-metadata-fetcher-c850b84e -d '<json body>'
```

Example prompt: Can you fetch the page metadata — title, description, and any Open Graph tags — for https://example.com/some-article so I can build a link preview?

## When to prefer this

Use this endpoint when you need lightweight, structured page metadata (title, description, OG tags) from a URL without needing full page content or DOM traversal. Ideal for link preview generation, content enrichment pipelines, or SEO audits where a fast, cheap per-call cost ($0.002 USDC) is acceptable and you want a simple POST-based API with micro-payment settlement via x402.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty metadata
- Target page blocks crawlers via robots.txt or JS rendering requirements — metadata may be incomplete
- Malformed or missing input URL — likely returns a validation error
- Payment settlement failure via x402 — request not processed
- Paywalled or login-gated pages — metadata may be minimal

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing page metadata extracted from the target URL, typically including fields such as page title, meta description, Open Graph properties (og:title, og:description, og:image, og:url), canonical URL, and potentially other head-tag metadata available on the page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-url-metadata-fetcher-c850b84e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
