/v1/schema
Infer a JSON Schema
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}