LogoLogo
  • Welcome to Tythe
  • Terminology
  • Protocol Overview
  • Onboarding
    • For Individuals
      • For Users
      • For Builders
    • For Organizations
      • For On-Chain
      • For Off-Chain
  • DISC (For Individuals)
    • Engine
    • Inputs
      • TRIS
        • Wallet-Agnosticism
        • Chain-Agnosticism
      • Trovebook
      • TDT Framework
        • TCT (TruCred Token)
          • Dual Vaults
          • Credonate
        • TYT (Tythe Token)
    • Output
      • Score Metrics
        • Financial
        • Creative
        • Educational
        • Behavioral
        • Social
        • Security
        • Compliance
      • Score Logic
        • Pre-Protocol Logic
        • Post-Protocol Logic
      • Score Rating
      • Score Utility
  • DISC (For Organization)
    • Organization Vetting
    • DISC Ranks
  • Credibility Enforcement
    • BAD Status
    • Credonate Rules
    • Indexes
      • Cred List
      • Cred Watch
      • Cred Chain
    • TCT Staking
  • Governance
    • Voting Power Model
    • Proposal Lifecycle
    • Governance Scope
  • Integration Resources
    • Quickstart Guide
    • API References
    • Example Implementation Flows
    • SDK Library (Coming Soon)
    • Sandboxes (Coming Soon)
    • Use Cases
  • Why Polygon
    • ZK-Native Architecture
    • Uncompromising Scalability
    • Infrastructure Maturity
    • Shared Ethos
    • Ecosystem Synergy
  • Legal
    • Terms of Service
    • Privacy Policy
  • FAQs
Powered by GitBook
On this page
Export as PDF
  1. Integration Resources

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

PreviousQuickstart GuideNextExample Implementation Flows

Last updated 18 hours ago