k
kamu.co.id
Developers
Back to Docs

Reputation API

Base URL: https://api.kamu.co.id

B2B endpoint untuk fetch reputation score & verified profile data dari kamu.co.id. Cocok untuk fintech KYC, marketplace seller scoring, recruitment screening, partner DD. Semua endpoint require API key + respect user consent.

GET /v1/health

Liveness probe. No auth needed (returns even without API key).

Response 200
{
  "status": "ok",
  "db": "ok",
  "php": "8.2.x",
  "timestamp": "2026-04-26T10:30:00Z"
}
GET /v1/public/profiles/{username}/reputation

Returns reputation score (0-100), star level (1-5), verified count. Consent required: reputation_lookup.

Path Parameters
usernameString, requiredProfile slug (e.g. angga).
Example
curl https://api.kamu.co.id/v1/public/profiles/angga/reputation \
  -H "X-API-Key: kamu_live_..."
Response 200
{
  "success": true,
  "data": {
    "username": "angga",
    "score": 87,
    "star_level": 4,
    "verified_platforms": 6,
    "updated_at": "2026-04-26T08:15:00Z"
  },
  "meta": { "timestamp": "...", "version": "v1" }
}
GET /v1/public/profiles/{username}

Profile basic data (display_name, bio, profession, location). Public + consent-bound.

Response 200
{
  "success": true,
  "data": {
    "username": "angga",
    "display_name": "Angga F.",
    "bio": "Engineering Manager · Mobile Apps",
    "profession": "engineering",
    "location": "Jakarta, ID",
    "verified": true
  }
}
GET /v1/public/profiles/{username}/platforms

List verified platforms (LinkedIn, GitHub, Behance, dst.) dengan handle public + last_synced_at.

Response 200
{
  "success": true,
  "data": [
    {
      "platform": "linkedin",
      "handle": "username",
      "verified": true,
      "last_synced_at": "2026-04-25T22:30:00Z"
    },
    { "platform": "github", "handle": "username", ... }
  ]
}
GET /v1/me/consents

List consent dari user authenticated (JWT, bukan API key). Untuk app mobile/web user-facing.

Response 200
{
  "success": true,
  "data": {
    "items": [
      {
        "id": 12,
        "purpose": "reputation_lookup",
        "granted_at": "2026-01-10T...",
        "expires_at": null,
        "status": "active"
      }
    ]
  }
}
Need an endpoint that's not listed? Email [email protected] atau buka issue di github.com/kamu-co-id/api-feedback.

Pengaturan cookie

Pilih kategori cookie yang kamu izinkan. Cookie esensial selalu aktif agar layanan berjalan.