Quick Start

Integrate Cencera's Trust & Safety layer into your application in minutes.

1Get an API key

Connect your wallet to the Cencera app and create an API key from the dashboard.

1. Open https://app.cencera.xyz
2. Connect your wallet
3. Go to Dashboard → API Keys
4. Create a new key and copy it securely

2First request

Call the analysis endpoint directly from your backend using your API key and wallet address.

# Example using fetch (Node 18+ / modern runtimes)
const apiKey = 'YOUR_API_KEY';
const userAddress = '0xYOURWALLET...';

const url = 'https://api.cencera.xyz/v1/analyze' +
  '?q=vitalik.eth&chain=1&user=' + userAddress;

const res = await fetch(url, {
  headers: {
    'Authorization': 'Bearer ' + apiKey,
  }
});
const data = await res.json();

3Use the trust score

Read the response and surface the trust score and risk flags inside your product.

const score = data.trust_score;
const level = data.risk_level;
const flags = data.risk_flags;

console.log('Score', score, 'level', level);
console.log('Flags', flags);