Get Statistics
Get aggregated statistics about the trust center directory.
GET/api/stats.json
Overview
Get aggregated statistics about the trust center directory, including total company count, platform breakdown, and generation timestamp.
Request
GET https://trustlists.org/api/stats.jsonResponse
{
"totalCompanies": 1003,
"platformCounts": [
{ "platform": "Vanta", "count": 509 },
{ "platform": "SafeBase", "count": 226 },
{ "platform": "Oneleet", "count": 127 }
],
"generated": "2026-03-16T00:00:00Z"
}Response Fields
| Field | Type | Description |
|---|---|---|
totalCompanies | integer | Total number of companies in directory |
platformCounts | array | Breakdown of companies by hosting platform |
generated | string | ISO timestamp of when the data was generated |
Example Usage
const response = await fetch('https://trustlists.org/api/stats.json');
const stats = await response.json();
console.log(`Total companies: ${stats.totalCompanies}`);
console.log(`Generated at: ${stats.generated}`);
stats.platformCounts.forEach(({ platform, count }) => {
console.log(` ${platform}: ${count}`);
});