# AgentBIT Structured Metadata Extractor

> AgentBIT Structured Metadata Extractor is a paid API for AI agents from agentbit.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Extracts all machine-readable metadata from a webpage (JSON-LD/schema.org, OpenGraph, Twitter Cards, canonical URL, H1, meta description, hreflang, RSS/Atom feeds) into clean structured JSON in a single call.

## Facts

- Endpoint: POST https://agentbit.app/v1/web/structured
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-structured-metadata-extractor-51d93fd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_joujVHnJ5GOmtSs1mgdQK

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 agentbit-structured-metadata-extractor-51d93fd5 -d '<json body>'
```

Example prompt: Pull all the structured metadata from https://stripe.com/blog/payment-links — I want the JSON-LD blocks, OpenGraph tags, canonical URL, and any RSS feeds listed on the page.

## When to prefer this

Prefer this endpoint when you need machine-readable structured facts from a page rather than prose text — specifically when you want JSON-LD/schema.org entities, OpenGraph metadata, canonical URLs, hreflang data, or feed discovery in a single parsed call. Use this over a general-purpose text scraper when the goal is semantic metadata (structured data validation, SEO audits, content aggregation setup, or knowledge graph enrichment) rather than reading body copy.

## Known failure modes

- Invalid or non-absolute URL returns a validation error
- Page behind authentication/login wall returns incomplete or empty metadata
- Pages with no structured metadata return null/empty arrays for JSON-LD, hreflang, feeds, etc.
- Timeout if target page is slow to respond
- URL resolves to non-HTML content (PDF, image) — may return minimal or no metadata

## How this service works

Extract a page's machine-readable self-description in one call: every JSON-LD block (schema.org), OpenGraph and Twitter Card metadata, canonical URL, title, meta description, H1, hreflang alternates and RSS/Atom feed links — parsed server-side into clean JSON. Where text extraction gives you prose, this gives you structured facts.

## Output

Returns a JSON object containing: the page's H1, title, meta description, canonical URL, an array of parsed JSON-LD blocks with their schema.org types, OpenGraph tag key-value pairs, Twitter Card tags, hreflang alternate links, RSS/Atom feed URLs, and counts of how many OG tags, Twitter tags, and JSON-LD blocks were found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Absolute http(s) URL of the page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "h1": "Engineering Blog",
  "url": "https://agentbit.app/blog",
  "feeds": null,
  "title": "Engineering Blog — AgentBIT",
  "counts": {
   "og_tags": 2,
   "twitter_tags": 0,
   "json_ld_blocks": 1
  },
  "json_ld": [
   {
    "@type": "TechArticle",
    "@context": "https://schema.org",
    "headline": "Debugging Bazaar indexing"
   }
  ],
  "hreflang": null,
  "canonical": "https://agentbit.app/blog",
  "open_graph": {
   "type": "website",
   "title": "Engineering Blog — AgentBIT"
  },
  "description": "Real-world x402 engineering notes.",
  "schema_types": [
   "TechArticle"
  ],
  "twitter_card": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbit-structured-metadata-extractor-51d93fd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbit.app](https://www.zero.xyz/host/agentbit.app/llms.txt)
