# JSON-LD & Structured Data Extractor

> JSON-LD & Structured Data Extractor is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches and parses all JSON-LD blocks, schema.org types, and Open Graph tags declared by a web page, rendered through a real browser on a residential IP.

## Facts

- Endpoint: GET https://api.x-402.online/v1/web/jsonld?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-ld-structured-data-extractor-6500eab2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k5FO9SRxPkS1QmL-iO4DV

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 json-ld-structured-data-extractor-6500eab2
```

Example prompt: Pull all the structured data from https://www.eventbrite.com/e/my-event-12345 — I want the JSON-LD blocks, any schema.org types declared, and all the Open Graph tags the page sets.

## When to prefer this

Choose this endpoint when you need the machine-readable structured data a page explicitly self-declares (JSON-LD, schema.org, Open Graph) rather than raw HTML scraping or general content extraction. Ideal for SEO audits, data enrichment pipelines, content aggregators pulling article/product/event metadata, and any agent that needs trustworthy, publisher-declared facts about a resource. The residential IP + real browser rendering makes it more reliable than lightweight HTTP fetchers for pages that block bots.

## Known failure modes

- Page returns no JSON-LD or Open Graph tags (empty result with no structured data)
- URL is unreachable or returns a non-200 status
- Page uses JavaScript rendering that times out
- Residential IP blocked by aggressive anti-bot measures
- Malformed JSON-LD on the page causes parse errors

## How this service works

Read the structured data a page declares about itself: products, articles, events, organizations. The structured data a page declares about itself: every JSON-LD block parsed, the schema.org types found, and the Open Graph tags. Fetched through a residential IP with a real browser. No model in the path. Bo…

## Output

Returns all parsed JSON-LD script blocks found on the page, the schema.org types identified, and Open Graph meta tag key-value pairs — fetched via a real browser on a residential IP so bot-detection is minimized.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-ld-structured-data-extractor-6500eab2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
