All API tools
JSON Tools
JSON Schema Generator API
GET
/v1/json-schema-generator Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| json | {"name":"Alice","age":30} |
| includeDescriptions | true |
| makeRequired | true |
Example request
curl "https://api.toolsxpo.com/v1/json-schema-generator?json=%7B%22name%22%3A%22Alice%22%2C%22age%22%3A30%7D&includeDescriptions=true&makeRequired=true" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.