/v1/stats
Per-column statistics
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/csv-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/csv-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/csv-api/v1/stats");
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/csv-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"rows": 2,
"stats": {
"age": {
"max": 41,
"min": 36,
"sum": 77,
"mean": 38.5,
"type": "number",
"count": 2,
"empty": 0,
"median": 38.5,
"unique": 2,
"top_values": [
{
"count": 1,
"value": "36"
},
{
"count": 1,
"value": "41"
}
]
},
"city": {
"type": "string",
"count": 2,
"empty": 0,
"unique": 2,
"top_values": [
{
"count": 1,
"value": "Berlin"
},
{
"count": 1,
"value": "Paris"
}
]
},
"name": {
"type": "string",
"count": 2,
"empty": 0,
"unique": 2,
"top_values": [
{
"count": 1,
"value": "Ada"
},
{
"count": 1,
"value": "Bob"
}
]
}
},
"columns": 3
},
"meta": {
"timestamp": "2026-05-30T10:10:57.125Z",
"request_id": "aaddb16e-fac5-49bb-a3f2-903ca265e174"
},
"status": "ok",
"message": "OK",
"success": true
}