FairScale

Quick Start: Credit

GET /v1/credit credit score and underwriting.

curl "https://agent-api.fairscale.xyz/v1/credit?wallet=WALLET_ADDRESS&amount=1000" \
  -H "fairkey: zpka_your_key_here"
ParamRequiredNotes
walletyesSolana address
amountnoLoan USD amount (default 1000)
nocacheno1 to bypass cache

Response

{
  "wallet": "4yhXa4iERFGma3T1HMMjH8nJ8EdFqbahCV5Yomm8Z3do",
  "credit_score": 80,
  "risk_band": "prime",
  "credit_pillars": {
    "credit_history": { "score": 89 },
    "income_capacity": { "score": 71 }
  },
  "credit_data": {
    "obligations": {
      "has_open_debt": true,
      "positions": [{
        "protocol": "Kamino",
        "ltv": 38.88,
        "headroom_to_liquidation": 16.12
      }]
    }
  },
  "underwriting": {
    "lending_terms": {
      "suggested_apr_range": { "low": 2, "high": 5 },
      "max_credit_line": 1042863
    }
  },
  "attestation": { "verify_url": "https://credit-api.fairscale.xyz/v1/verify-hash?..." }
}

Risk bands

BandScore
prime75–100
near_prime60–74
subprime45–59
deep_subprime25–44
decline0–24

Cache: 15 min. Bypass: ?nocache=1.

Explore annotated fields: Credit response explorer.

Full reference · Credit fields