Catalog/tradefin-letter-of-credit

Scoring

Letter-of-credit risk score API

Letter-of-credit RISK score (0-100, higher = riskier) via a transparent weighted rubric — issuingBankRisk 0.30, countryRisk 0.25, documentaryComplexityRisk 0.20, tenorRisk 0.15, confirmationAbsenceRisk 0.10 (inverted confirmation strength) — returning a low/moderate/high/very-high bucket, an A-F grade, and a per-factor breakdown. Answers 'how risky is this LC','should this letter of credit be confirmed'.

Price$0.016per request
MethodPOST
Route/v1/score/tradefin-letter-of-credit
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
scoreletter-of-creditdocumentary-creditrisktrade-financeissuing-bankrubriclc
API URLhttps://x402.hexl.dev/v1/score/tradefin-letter-of-credit
Integration docs
Example request
{
  "issuingBankRisk": 0.4,
  "countryRisk": 0.5,
  "documentaryComplexityRisk": 0.6,
  "tenorRisk": 0.45,
  "confirmationStrength": 0.7
}
Example response
{
  "riskScore": 46.25,
  "rating": "moderate",
  "grade": "F",
  "breakdown": [
    {
      "factor": "issuingBankRisk",
      "value": 0.4,
      "weight": 0.3,
      "contribution": 12
    },
    {
      "factor": "countryRisk",
      "value": 0.5,
      "weight": 0.25,
      "contribution": 12.5
    },
    {
      "factor": "documentaryComplexityRisk",
      "value": 0.6,
      "weight": 0.2,
      "contribution": 12
    },
    {
      "factor": "tenorRisk",
      "value": 0.45,
      "weight": 0.15,
      "contribution": 6.75
    },
    {
      "factor": "confirmationAbsenceRisk",
      "value": 0.3,
      "weight": 0.1,
      "contribution": 3
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "issuingBankRisk",
    "countryRisk",
    "documentaryComplexityRisk",
    "tenorRisk",
    "confirmationStrength"
  ],
  "properties": {
    "issuingBankRisk": {
      "type": "number",
      "description": "0-1",
      "examples": [
        0.4
      ]
    },
    "countryRisk": {
      "type": "number",
      "examples": [
        0.5
      ]
    },
    "documentaryComplexityRisk": {
      "type": "number",
      "examples": [
        0.6
      ]
    },
    "tenorRisk": {
      "type": "number",
      "examples": [
        0.45
      ]
    },
    "confirmationStrength": {
      "type": "number",
      "description": "0-1, higher=better (confirmed by strong bank)",
      "examples": [
        0.7
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}