Docs

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.json

Response

{
  "totalCompanies": 1003,
  "platformCounts": [
    { "platform": "Vanta", "count": 509 },
    { "platform": "SafeBase", "count": 226 },
    { "platform": "Oneleet", "count": 127 }
  ],
  "generated": "2026-03-16T00:00:00Z"
}

Response Fields

FieldTypeDescription
totalCompaniesintegerTotal number of companies in directory
platformCountsarrayBreakdown of companies by hosting platform
generatedstringISO 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}`);
});