SEO & Publishing

Generate valid, current-spec schema.org JSON-LD from plain fields — the complement to /api/schema/audit

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).

Price: $0.005 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/schema/generate

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/schema/generate
  • Auth: API key in header X-PAYMENT

Request body

typestring required

Product, Review, Article, Recipe, VideoObject, LocalBusiness, Organization, or BreadcrumbList

fieldsobject required

Plain fields for the type, e.g. {name, price, brand} for Product

Response

Success

typestring
jsonldobject
script_tagstring
self_auditobject

Changes

No recorded changes to this operation across all 1 revision of this API.