/v1/schema
Infer a JSON Schema
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/jsontypes-api/v1/schema" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jsontypes-api/v1/schema", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jsontypes-api/v1/schema");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/jsontypes-api/v1/schema",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"name",
"email",
"age",
"tags",
"address"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"age": {
"type": "integer"
},
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"email": {
"type": "string",
"format": "email"
},
"address": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string"
}
}
}
}
}
},
"meta": {
"timestamp": "2026-06-01T23:40:43.723Z",
"request_id": "c05b17de-8632-4242-a781-e2f13828f84d"
},
"status": "ok",
"message": "Schema inferred",
"success": true
}