Skip to main content

API Access

TrustLists provides a simple REST API to access trust center data programmatically.
Important: This is a static API served by GitHub Pages. Query parameters do not filter results server-side. All filtering must be implemented client-side.

Base URL

https://trustlists.org/api

Authentication

No authentication required for public endpoints. This is a static API with no server-side rate limiting.

Basic Usage

Get All Trust Centers

curl "https://trustlists.org/api/trust-centers.json"
{
  "data": [
    {
      "name": "1Password",
      "website": "https://1password.com/",
      "trustCenter": "https://app.conveyor.com/profile/1password",
      "platform": "Conveyor",
      "iconUrl": "https://www.google.com/s2/favicons?domain=1password.com&sz=128"
    },
    {
      "name": "MongoDB",
      "website": "https://mongodb.com/",
      "trustCenter": "https://trust.mongodb.com/",
      "platform": "Self-hosted",
      "iconUrl": "https://www.google.com/s2/favicons?domain=mongodb.com&sz=128"
    }
  ],
  "meta": {
    "total": 441,
    "generated": "2024-01-15T10:30:00Z",
    "version": "1.0.0"
  }
}
const response = await fetch('https://trustlists.org/api/trust-centers.json');
const data = await response.json();

console.log(`Found ${data.meta.total} trust centers`);
data.data.forEach(tc => {
  console.log(`${tc.name}: ${tc.trustCenter}`);
});

Client-Side Filtering

Since this is a static API, implement filtering in your application:
// Fetch all trust centers
const response = await fetch('https://trustlists.org/api/trust-centers.json');
const data = await response.json();

// Filter by company name
const searchTerm = 'stripe';
const filtered = data.data.filter(company => 
  company.name.toLowerCase().includes(searchTerm.toLowerCase())
);

console.log(`Found ${filtered.length} companies matching "${searchTerm}"`);

Next Steps