API References
The Tythe API Suite enables platforms, protocols, and applications to integrate decentralized credibility infrastructure without ever handling personal user data. Each endpoint is designed for modular, ZK-compliant credibility integration with minimal setup.
All APIs follow RESTful structure and work without needing to track or store platform-side identity data.
Below is a reference of the core APIs used across onboarding, DISC Scoring, Credonation, and metadata access.
Example Metric Selection by Platform
Hereβs what a full platform configuration might look like:
π¦ Financial
β’ financial_txn_consistency β High
β’ financial_liquidity_provision β Critical
β Cumulative: 0.24
π¨ Creative
β’ creative_code_contribution β Moderate
β’ creative_bugs_found β High
β Cumulative: 0.17
π§ Educational
β’ educational_research_authorship β High
β’ educational_workshop_hosted β Low
β Cumulative: 0.13
π© Behavioral
β’ behavioral_peer_feedback_score β Minimal
β’ behavioral_votes_delegated β High
β Cumulative: 0.11
π« Social
β’ social_verified_identity_linked β Moderate
β Cumulative: 0.07
π₯ Security
β’ security_login_pattern_stability β Moderate
β’ security_verified_identity β High
β Cumulative: 0.17
πͺ Compliance
β’ compliance_moderation_flags β High
β Cumulative: 0.10
Total Weight β 0.99
1. Decision Relay API
POST /api/decision-relay
Submit score-relevant user actions to Tythe for evaluation and scoring.
Payload (json):
{ "tris_id": "tris@satoshi", "action_type": "completed_transaction", "category": "financial", "criticality": "high", "platform_id": "platform_xyz" }
Response (json):
{ "status": "received", "message": "decision relay accepted and processed" }
2. DISC Score Lookup (For Individuals)
GET /api/disc-score/{tris_id}
Fetch public DISC Score and category metadata.
Response (json):
{ "tris_id": "tris@satoshi", "total_tct": 13704.2, "score_rating": "Very Good", "disc_metrics": { "financial": 0.20, "creative": 0.26, "educational": 0.15, "behavioral": 0.08, "social": 0.05, "security": 0.17, "compliance": 0.09 } }
3. DISC Rank Lookup (For Organizations)
GET /api/disc-rank/{tris_id}
Fetches the DISC Rank and TCT accumulation of a vetted organization.
Response (json):
{ "tris_id": "tris@aave", "tct_total": 21944.7, "disc_rank": "Platinum" }
4. TRIS ID Linker
POST /api/link-account
Link an existing user or wallet identity on your platform to a TRIS.
Payload (json):
{ "wallet": "0xabc123...", "tris_id": "tris@satoshi" }
Response (json):
{ "status": "linked" }
5. Credonation Metadata (Read-Only)
GET /api/tris-validations/{tris_id}
Returns a list of Credonations received by a TRIS. For visibility only - Credonate is internal to Tythe and cannot be triggered externally.
Response (json):
{ "tris_id": "tris@satoshi", "validations": [ { "from": "tris@vitalik", "amount": 2.5, "timestamp": "2025-03-01T15:20:34Z", "category": "behavioral" }, { "from": "tris@sandeep", "amount": 5.0, "timestamp": "2025-03-04T12:03:06Z", "category": "creative" } ] }
Note: The endpoints and sample payloads above are for reference only. Refer to the official developer docs or Postman collection (coming soon) for full schemas, authentication parameters, and testnet access.
βBy wise guidance you can wage your war, and in abundance of counselors there is victory.β
β Proverbs 24:6
Last updated