# MilliAPI Page Metadata Extractor

> MilliAPI Page Metadata Extractor is a paid API for AI agents from milliapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Extracts title, description, canonical URL, robots meta, Open Graph tags, H1 count, and JSON-LD block count from any public HTTPS page.

## Facts

- Endpoint: GET https://milliapi.com/api/page-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/milliapi-page-metadata-extractor-f3c4ffc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_laGPNWPvIBYIARSTbQbaF

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 milliapi-page-metadata-extractor-f3c4ffc0
```

Example prompt: Can you pull the page metadata from https://example.com — I want the title, description, canonical URL, Open Graph tags, and how many H1s and JSON-LD blocks it has?

## When to prefer this

Choose this endpoint when you need lightweight, structured metadata extraction from a single public HTTPS page without running a full browser — ideal for SEO audits, social preview checks, structured data inventories, or enriching link previews at low cost ($0.002/call via x402 micropayment).

## Known failure modes

- Non-HTTPS or non-public URL returns an error
- Page behind authentication or firewall cannot be fetched
- Timeout if the target page is slow to respond
- Malformed URL input returns a validation error
- Pages with no metadata return null values for most fields

## How this service works

Tiny machine-readable APIs that AI agents can discover, pay for with x402 USDC on Base, and use instantly. Services start at $0.001 per call.

## Output

A JSON object containing: page title, meta description, canonical URL (or null), robots meta directives, Open Graph fields (type, image, title, description), count of H1 elements, and count of JSON-LD script blocks found on the page.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Example Domain",
  "target": "https://example.com/",
  "h1Count": 1,
  "canonical": null,
  "openGraph": {
   "type": null,
   "image": null,
   "title": null,
   "description": null
  },
  "description": null,
  "jsonLdBlocks": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/milliapi-page-metadata-extractor-f3c4ffc0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from milliapi.com](https://www.zero.xyz/host/milliapi.com/llms.txt)
