k
kamu.co.id
Developers

Documentation

Everything you need to integrate kamu.co.id.

Quick Start

  1. 1
    Sign in ke developer portal dengan akun kamu.co.id.
  2. 2
    Generate API key di /api-keys/create. Catat plaintext key — hanya ditampilkan sekali.
  3. 3
    Test request:
    curl https://api.kamu.co.id/v1/health \
      -H "X-API-Key: kamu_live_..."
  4. 4
    Integrate sesuai use case Anda. Free tier: 1,000 calls/bulan. Lihat endpoint catalog →

Authentication

Setiap request ke /v1/public/* wajib menyertakan API key via header. Dua format diterima:

# Recommended: X-API-Key header
curl ... -H "X-API-Key: kamu_live_abc123..."

# Alternative: Authorization header
curl ... -H "Authorization: ApiKey kamu_live_abc123..."

Server lookup dengan SHA-256 hash. Plaintext tidak pernah disimpan. Jika key revoked / expired / disabled, response 401 atau 403.

Rate Limits & Quotas

Plan Per minute Per day Per month Price/bulan
Free301,0001,000Rp 0
Developer12010,00010,000Rp 299rb
Business600100,000100,000Rp 1,9jt
Enterprise3,000+CustomUnlimitedCustom

Response headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. 429 returned saat exceeded.

Error Format

Uniform JSON envelope:

{
  "success": false,
  "error": {
    "code": "consent_revoked",
    "message": "User has revoked consent for reputation lookup.",
    "trace_id": "req_abc123"
  },
  "meta": { "timestamp": "2026-04-26T...", "version": "v1" }
}
HTTPCodeCause
401unauthorizedMissing/invalid API key.
403consent_revokedUser revoked consent.
403api_key_disabledKey di-revoke.
404profile_not_foundUsername tidak ditemukan / private.
429rate_limit_exceededQuota habis (minute/day/month).
500internal_errorServer error — retry atau contact support.

Pengaturan cookie

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