Developer Quickstart
Go from registration to your first live hoax verification request in under five minutes.
1. Obtain Credentials
VeriLens supports two authentication mechanisms: • **API Keys (`vl_live_...`)**: For automated backend services, scripts, and server-to-server integrations. Generate a key from your User Dashboard under the **API Key** menu. • **JWT Tokens**: For interactive Web and Mobile user sessions obtained via `/api/v1/auth/login`.
2. Send a Fast Check Request (Free Tier)
Run a rapid inference check by sending a POST request to `/api/v1/predict`. No credits are consumed for this operation.
curl -X POST https://api.verilens.id/api/v1/predict \-H "Authorization: Bearer vl_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \-H "Content-Type: application/json" \-d '{"text": "Pemerintah membagikan bantuan saldo DANA gratis sebesar Rp 2.000.000 melalui link pendaftaran bit.ly/dana-gratis-2026."}'
3. Run a Deep Grounded Analysis (Premium Tier)
For high-stakes claims requiring web retrieval, authoritative source cross-referencing, and detailed reasoning, call `/api/v1/predict/deep`. This consumes 1 credit and streams real-time pipeline milestones via Server-Sent Events (SSE).
curl -N -X POST https://api.verilens.id/api/v1/predict/deep \-H "Authorization: Bearer vl_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \-H "Content-Type: application/json" \-d '{"text": "Beredar kabar bahwa Bank Indonesia membatasi saldo maksimal QRIS menjadi Rp 500 ribu per hari mulai Oktober 2026."}'
4. Understanding Verdicts & Action Guidance
VeriLens returns structured verdicts indicating factual credibility:
| Verdict Label | Pipeline Source | Significance & Recommended Action |
|---|---|---|
| FAKTA / fakta | Fast & Deep | Verified accurate by model or corroborated by authoritative news. |
| HOAKS / hoaks | Fast & Deep | Identified as deceptive, phishing, or refuted by official fact-checks. |
| tidak_dapat_diverifikasi | Deep Only | Insufficient conclusive evidence found online. Advise user caution. |
