DocsAPI ReferenceVerification
Verification API Reference
API specifications for claim verification.
POST /v1/verify
Analyze a text claim and retrieve a structured evaluation verdict.
POST/v1/verify
Performs full credibility pipeline checks using IndoBERT and Gemini models.
Headers
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| Authorization | string | Required | Bearer <API_KEY> |
| Content-Type | string | Required | application/json |
Body Parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| text | string | Required | The claim text or news paragraph to verify (max 5,000 characters). |
| language | string | Optional | ISO 639-1 language code. E.g., 'id' or 'en'. |
Response Example (200 OK)
json/response.json
{"id": "verify_12345","status": "completed","data": {"is_hoax": true,"confidence_score": 0.89,"verdict": "FALSE_CLAIM","explanation": "This text asserts hoax facts.","sources": [{"title": "Trusted Fact Check Organization","url": "https://factcheck.org/sample"}]}}
