RESTful API for verifying claims, generating proofs, and searching verified truths.
All endpoints return a consistent response format with success, data, and meta fields.
https://truthgit.comapplication/json/api/verifyVerify a claim using multi-validator AI consensus
claim- string (required) - The statement to verifydomain- string (optional) - Knowledge domain (physics, history, programming, etc.)/api/proveGenerate a cryptographic proof certificate for a verified claim
claim- string (required) - The claim to provedomain- string (optional) - Knowledge domainformat- string (optional) - "json" or "compact" (base64)/api/verify-proofVerify a proof certificate independently
certificate- object|string (required) - The certificate (JSON or base64)/api/searchSearch for verified claims in the repository
query- string (required) - Search querydomain- string (optional) - Filter by domainlimit- number (optional) - Max results (default: 10)/api/statusGet the current status of the TruthGit repository
No parameters required
All API responses follow this structure for easy parsing by AI agents:
{
"success": boolean, // Was the operation successful?
"data": object | null, // Response payload
"error": string | null, // Error message (if success=false)
"meta": {
"timestamp": string, // ISO 8601 timestamp
"processingTime": number // Milliseconds
}
}