# Schema.org JSON-LD Generator (api.webbersites.com)

> Schema.org JSON-LD Generator (api.webbersites.com) is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Generates valid, current-spec schema.org JSON-LD markup from plain input fields, returning nested JSON-LD, a ready-to-embed script tag, and a self-audit report.

## Facts

- Endpoint: POST https://api.webbersites.com/api/schema/generate
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/schema-org-json-ld-generator-api-webbersites-com-e6a0fdcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SyPfeRX8b4lmPYIGKCh6s

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 schema-org-json-ld-generator-api-webbersites-com-e6a0fdcf -d '<json body>'
```

Example prompt: Generate a schema.org Product JSON-LD for my item called 'Ergonomic Mesh Chair', priced at $249.99, brand 'ComfortPro', with a 4.5 star aggregate rating from 128 reviews — give me the ready-to-embed script tag too.

## When to prefer this

Use this endpoint when you need to programmatically generate valid, up-to-date schema.org JSON-LD for SEO purposes and want both the structured output and an instant self-audit in one call. Prefer this over manual markup when working with Google's 2026 guidance requirements (interactionStatistic, Key Moments, etc.) or when you need a ready-to-embed script tag without post-processing.

## Known failure modes

- Unsupported schema type provided — endpoint only handles Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, BreadcrumbList
- Missing required fields for the chosen type — audit report may flag required properties as absent
- Malformed fields object — returns error if fields cannot be mapped to the schema type
- Network/payment failure — x402 payment not processed, request rejected

## How this service works

Generate valid, current-spec schema.org JSON-LD from plain fields — the complement to /api/schema/audit. POST {type, fields}; returns correctly nested JSON-LD, a ready-to-embed <script> tag, and a self-audit. Types: Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, BreadcrumbList. Current to 2026 Google guidance (interactionStatistic, Key Moments clips, etc).

## Output

Returns a correctly nested JSON-LD object conforming to current 2026 Google guidance, a ready-to-embed <script type='application/ld+json'> HTML tag, and a self-audit report flagging any issues with the generated markup for the requested schema type.

## 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": {
     "required": [
      "type",
      "fields"
     ],
     "properties": {
      "type": {
       "type": "string",
       "description": "Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, or BreadcrumbList"
      },
      "fields": {
       "type": "object",
       "description": "Plain fields for the type, e.g. {name, price, brand} for Product"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "type": {
       "type": "string"
      },
      "jsonld": {
       "type": "object"
      },
      "script_tag": {
       "type": "string"
      },
      "self_audit": {
       "type": "object"
      },
      "generation_notes": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "Product",
  "jsonld": {
   "name": "Widget Pro",
   "@type": "Product",
   "offers": {
    "@type": "Offer",
    "price": "19.99",
    "priceCurrency": "USD"
   },
   "@context": "https://schema.org"
  },
  "script_tag": "<script type=\"application/ld+json\">…</script>",
  "self_audit": {
   "required_missing": [],
   "rich_result_status": "active"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/schema-org-json-ld-generator-api-webbersites-com-e6a0fdcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
