Endpoint
Request body
string
required
The Schema.org type name to generate (e.g.,
Article, Product, LocalBusiness, FAQPage). The value must match a type supported by SchemaGen. If the type is unrecognized, the API returns 400 with a list of supported types.object
required
An object containing the field values for the schema. The accepted fields depend on the
type you specify. Required fields for the given type must be present or the API returns a validation error.Response
object
The generated JSON-LD object, ready to embed in a
<script type="application/ld+json"> tag. Includes @context set to https://schema.org and @type matching the requested type.Code examples
Example response
Error responses
400 — invalid type
If you pass an unsupportedtype, the API returns 400 with a message listing valid types:
400 — validation failed
If yourdata object is missing required fields or contains invalid values for the given type, the API returns 400 with a structured breakdown:
429 — rate limit exceeded
403 — usage limit reached
Authenticated users whose plan quota is exhausted receive a403 with error code limit_reached:
Guest (unauthenticated) callers are not subject to usage quotas — only IP-based rate limits. If you need to call this endpoint at high volume from a server, authenticate your requests to get a per-user rate limit and quota tracking against your plan.