API reference
Generate JSON-LD schemas programmatically. Pro and Agency only.
Authentication
All requests require a Bearer token in the Authorization header. Generate keys from Account → API keys. Pro accounts get 1 active key, Agency accounts get up to 5.
Endpoint
POST https://schemagens.com/api/v1/generate
Request body
| Field | Type | Description |
|---|---|---|
| schemaType | string | Required. One of the 16 supported types or auto. |
| url | string | Either url or text required. |