Skip to main content

Official SDKs

CrowdProof provides official SDKs for 6 languages. Each SDK wraps the REST API with idiomatic patterns, typed responses, and built-in retry logic.

Available SDKs

LanguagePackageInstall
TypeScript@crowdproof/sdknpm install @crowdproof/sdk
Pythoncrowdproofpip install crowdproof
Gocrowdproof-gogo get github.com/crowdproof/crowdproof-go
C#CrowdProof.SDKdotnet add package CrowdProof.SDK
Javacrowdproof-javaMaven / Gradle
SwiftCrowdProofSDKSwift Package Manager

Common Features

All SDKs share a consistent feature set:

  • Typed responses — Score, Proof, DID, Dispute objects with full type safety
  • Automatic retries — Exponential backoff on 429 and 5xx errors
  • Rate limit awareness — Reads Retry-After headers
  • API key injection — Pass once at init, included in every request
  • Error hierarchy — Base CrowdProofError with typed subclasses per HTTP status

Quick Comparison

// TypeScript
const score = await client.getScore('0x1234...', 'DEFI_LENDING');
# Python
score = client.get_score("0x1234...", "DEFI_LENDING")
// Go
score, err := client.GetScore(ctx, "0x1234...", "DEFI_LENDING")
// C#
var score = await client.GetScoreAsync("0x1234...", "DEFI_LENDING");
// Java
Score score = client.getScore("0x1234...", "DEFI_LENDING");
// Swift
let score = try await client.getScore("0x1234...", category: .defiLending)

Source Code

All SDKs are open source under the MIT license: