/v1/stats
Per-column statistics
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/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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}