Everything here is free and needs no API key. Data is served from the same source as the website, so it is exactly what students see, including the link to each university's official regulation. Please cache responses and credit attendancecalculator.org with a link.
26 universities, each with the minimum, whether it is per course or aggregate, condonation band, tiers where they exist, the official source and the date we last checked it.
GET https://attendancecalculator.org/api/v1/universities
GET https://attendancecalculator.org/api/v1/universities?country=Pakistan
GET https://attendancecalculator.org/api/v1/universities/vit-attendance-calculatorTry it: /api/v1/universities · /api/v1/universities/vit-attendance-calculator
{
"slug": "vit-attendance-calculator",
"name": "Vellore Institute of Technology",
"shortName": "VIT",
"country": "India",
"minimumAttendancePercent": 75,
"basis": "per course",
"belowMinimum": "…",
"condonation": "…",
"tiers": [{ "range": "…", "outcome": "…" }],
"source": { "label": "…", "url": "https://…" },
"lastChecked": "2026-11-21",
"page": "https://attendancecalculator.org/university/vit-attendance-calculator"
}Same maths as the site: current percentage, how many classes can still be missed, or how many must be attended in a row to recover.
GET https://attendancecalculator.org/api/v1/calculate?held=72&attended=58&target=75{
"input": { "held": 72, "attended": 58, "target": 75 },
"currentPercent": 80.56,
"status": "safe",
"canStillMiss": 5,
"mustAttendInARow": 0,
"explanation": "80.56% now; you can miss 5 more classes and stay at or above 75%."
}Try it: /api/v1/calculate?held=72&attended=58&target=75. Formula explained in how many classes can I skip.
const r = await fetch("https://attendancecalculator.org/api/v1/calculate?held=72&attended=58&target=75");
const data = await r.json();
console.log(data.currentPercent, data.canStillMiss);New guides as they publish: https://attendancecalculator.org/feed.xml (RSS 2.0, 30 latest posts). Works in Feedly, Inoreader, Thunderbird and most readers.
One <iframe> line, responsive, with the full calculator. Instructions and code on the embed page.
lastChecked date. Regulations change; verify against the source before anything that matters. See how we verify./api/v2.Need something else, like a university preset embed or a bulk export? Contact us.