ClearTrust Public API

Access verified professional data and trust scores via our REST API

API Overview

Base URL

https://cleartrustid.com/api/public

Authentication

No authentication required for public endpoints

Rate Limits

1000 requests per hour per IP address

Response Format

All responses are in JSON format

API Testing
GET
/api/public/profiles/:slug

Get complete public profile data

Example Request

https://cleartrustid.com/api/public/profiles/evening-jules
GET
/api/public/reviews/:slug

Get approved reviews for a professional

Example Request

https://cleartrustid.com/api/public/reviews/evening-jules?limit=5
GET
/api/public/trust-score/:slug

Get trust score and verification status

Example Request

https://cleartrustid.com/api/public/trust-score/evening-jules
Integration Examples
// Fetch profile data
async function getProfile(slug) {
  const response = await fetch(`https://cleartrustid.com/api/public/profiles/${slug}`);
  const data = await response.json();
  return data;
}

// Example usage
getProfile('evening-jules').then(data => {
  console.log('Professional:', data.profile.business_name);
  console.log('Trust Level:', data.trust_score.trust_level);
});