# Bacon Services: Page Metadata

> Bacon Services: Page Metadata is a paid API for AI agents from baconservices.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Fetches SEO and link-preview metadata from a public web page, returning title, description, canonical URL, robots directives, Open Graph tags, headings, and issues as structured JSON.

## Facts

- Endpoint: POST https://baconservices.com/api/agent-commerce/v1/capabilities/page-metadata/execute?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bacon-services-page-metadata-6b6d24ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X7LraNAdODz40MhHWM8fU

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 bacon-services-page-metadata-6b6d24ac -d '<json body>'
```

Example prompt: Can you pull all the SEO and link-preview metadata from https://example.com — I need the title, description, Open Graph tags, canonical URL, robots directives, and heading structure in one shot.

## When to prefer this

Choose this endpoint when you need a comprehensive, structured snapshot of a page's SEO and link-preview signals in a single call — including Open Graph, robots, canonical, and heading analysis — rather than scraping raw HTML yourself or calling a general-purpose web reader. Ideal for SEO audits, social sharing validation, competitor research, or content pipelines that need structured metadata without building a custom parser.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns an error
- URL uses a non-standard port (not 80 or 443) — rejected by input validation
- URL contains user credentials (user:pass@) — rejected by input validation
- Target page returns a non-200 HTTP status — metadata may be incomplete or absent
- Page uses JavaScript-heavy rendering with no static HTML metadata — tags may not be detected
- Malformed URL format — schema validation failure

## How this service works

Use when an agent needs a web page's SEO and link-preview metadata: title, description, canonical, robots, Open Graph, headings and issues, as JSON.

## Output

A JSON object containing the page's SEO and social metadata: title, meta description, canonical URL, robots directives, Open Graph tags (og:title, og:description, og:image, etc.), heading structure (H1–H6), and a list of detected issues (e.g. missing tags, duplicate headings).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "pattern": "^https?://",
   "maxLength": 2048,
   "description": "A public http(s) page. Ports 80 and 443 only; no user:pass@."
  }
 }
}
```

## More

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