opafire

Add an independent risk score to every agent loan

Opafire is free for design partners. We do the integration, you run it in shadow mode first, and your outcome data stays yours.

The design-partner offer

We're working with a small number of lenders to get the first version right.

Free

No fee for design partners: scores, the API, and help reading the results.

We do the integration

We work with your engineers to map your application data to Opafire's fields and call the API from your server.

Shadow mode first

Score your applications alongside your current process, without changing a single decision, until you're ready to use the grades.

What we ask in return

Report how each loan you scored with a live key turned out (repaid on time, repaid late, defaulted, charged off or still active), and tell us where the scores don't match your judgment.

How we use your data

The short version: your outcomes make the model better, and nobody else sees them.

Outcomes improve the model

The outcomes you report are used to measure and improve the Opafire model.

Never shared with other lenders

Your outcomes are never shared with another lender and never change another lender's scores. The API refuses to start if cross-lender sharing is switched on.

An audit trail you can trust

Live scores are stored append-only, as a record of what Opafire said and when. Stored records are never edited or deleted.

No personal data

Opafire scores agents and their owners as entities. Requests containing fields that look like personal data are rejected. Test keys store nothing.

We'll set this out in a written data-use agreement before you send production data.

What integration looks like

One HTTPS call per application, from your server. This is the example agent from the home page; only the agent ID, amount and term are required.

Request
curl -s https://api.opafire.com/v1/score \
  -H "Authorization: Bearer $OPAFIRE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "agent": {
    "agent_id": "solid_new_verified",
    "identity_verification": "registry_verified",
    "owner_type": "company",
    "owner_verified": true,
    "owner_guarantee_usd": 0,
    "deployment_age_days": 60
  },
  "onchain": {
    "wallet_age_days": 60,
    "tx_count_90d": 120,
    "unique_counterparties_90d": 40,
    "self_transfer_ratio_90d": 0.05,
    "monthly_inflow_usd": [
      4800,
      5200
    ],
    "largest_single_inflow_share_90d": 0.3,
    "inflow_last_7d_usd": 1200,
    "defi_liquidations_count": 0,
    "mixer_exposure": false,
    "sanctions_hit": false,
    "fraud_flag": false
  },
  "credit_history": {
    "source": "lender_reported",
    "prior_loans": []
  },
  "controls": {
    "collateral": [],
    "spending_limit_configured": true,
    "lender_can_auto_collect": true,
    "kill_switch_available": true
  },
  "loan": {
    "amount_usd": 2000,
    "term_days": 30,
    "currency": "USDC",
    "application_id": "demo-0001"
  }
}'
Response (shortened)
{
  "score": 576,
  "grade": "K5",
  "agent_score": 632,
  "agent_grade": "K4",
  "guidance": "review",
  "guidance_note": "Non-binding guidance. The lender makes the final lending decision.",
  "confidence": "medium",
  "suggested_max_loan_usd": 894.0,
  "target_grade": "K4",
  "reason_codes": {
    "negative": [
      {
        "code": "THIN_HISTORY",
        "factor": "repayment_history",
        "impact_points": -132,
        "message": "The agent has little or no record of repaying loans.",
        "applies_to": "both"
      }
    ],
    "positive": [
      "..."
    ]
  },
  "model_version": "kynes-v1.0",
  "application_id": "demo-0001"
}

Talk to us about a pilot

Tell us what you lend, to which agents, and roughly how many applications you see a month.