# 402utils Structured Data Extractor

> 402utils Structured Data Extractor is a paid API for AI agents from 402utils.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Extracts JSON-LD, Open Graph tags, and microdata from an HTML page or URL, returning parsed schema.org typed objects and og:* metadata.

## Facts

- Endpoint: POST https://402utils.com/v1/structured-data
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402utils-structured-data-extractor-32441be6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_acG4UjvUoaWON8Gu36ArY

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 402utils-structured-data-extractor-32441be6 -d '<json body>'
```

Example prompt: Can you pull all the structured data from https://www.example.com/product/blue-widget — I want to see the JSON-LD objects, any schema.org types like Product or Offer, and the Open Graph tags?

## When to prefer this

Choose this endpoint when you need to reliably extract machine-readable metadata (JSON-LD, Open Graph, microdata) from any public webpage or raw HTML. Ideal for SEO audits, product data extraction, content enrichment pipelines, and verifying schema.org markup. JSON-LD extraction is the reliable path; microdata is best-effort.

## Known failure modes

- URL fails SSRF check or is private/internal — blocked with error
- HTML exceeds 5 MB limit — rejected
- Malformed JSON-LD — yields parseError entry in response rather than crashing
- URL is unreachable or returns non-200 — fetch error returned
- Page has no structured data — returns empty arrays/maps

## How this service works

Extract a page's structured data: JSON-LD (schema.org), Open Graph tags, and best-effort microdata. Returns the parsed JSON-LD objects, detected schema.org types (Product, Offer, Review, Event, Recipe, Article…), microdata items and the og:* map. Send inline {html} or a public {url} (SSRF-checked). Malformed JSON-LD yields a {parseError} entry, never a crash. Microdata is best-effort; JSON-LD is the reliable path. Max 5 MB.

## Output

Returns parsed JSON-LD objects with detected schema.org types (Product, Offer, Review, Event, Recipe, Article, etc.), microdata items (best-effort), the og:* Open Graph property map, and any parseError entries for malformed JSON-LD. Never crashes on bad input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) page URL to fetch instead of inline html."
  },
  "html": {
   "type": "string",
   "description": "HTML document to extract from (non-empty, max 5 MB UTF-8)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402utils-structured-data-extractor-32441be6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402utils.com](https://www.zero.xyz/host/402utils.com/llms.txt)
