{
  "x402Version": 2,
  "id": 5218,
  "slug": "5218",
  "resource": "https://x402.agentutility.ai/trade-finance-risk-score-api",
  "description": "Scores trade finance and export finance risk, including tenor and collateral. Same calculator as trade-finance-risk-score, exposed under the buyer keyword used in demand searches. Use it as a trade finance risk score API, export finance risk API, or tenor and collateral scoring tool.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "buyer_credit_score": 76,
            "collateral_coverage_pct": 85,
            "country_risk_score": 32,
            "documentation_quality": 82,
            "fx_risk_score": 24,
            "tenor_days": 90
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "calculator": "trade-finance-risk-score",
            "drivers": [
              {
                "name": "debt_service_coverage",
                "note": "1.42x DSCR",
                "score": 83.6,
                "weight": 0.3
              }
            ],
            "grade": "strong",
            "metrics": {
              "collateral_coverage_pct": 85,
              "tenor_days": 90
            },
            "recommendation": "Proceed with standard diligence and covenant checks.",
            "score": 74.2,
            "source": "deterministic in-process finance calculator; no upstream API",
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "buyer_credit_score": {
                    "description": "0-100 buyer credit quality.",
                    "type": "number"
                  },
                  "collateral_coverage_pct": {
                    "description": "Collateral as percent of exposure. Default 0.",
                    "type": "number"
                  },
                  "country_risk_score": {
                    "description": "0-100 country/sanctions risk; higher means riskier.",
                    "type": "number"
                  },
                  "documentation_quality": {
                    "description": "0-100 LC/invoice/bill-of-lading quality. Default 70.",
                    "type": "number"
                  },
                  "fx_risk_score": {
                    "description": "0-100 FX risk; higher means riskier. Default 35.",
                    "type": "number"
                  },
                  "tenor_days": {
                    "description": "Transaction tenor in days.",
                    "type": "number"
                  }
                },
                "required": [
                  "buyer_credit_score",
                  "country_risk_score",
                  "tenor_days"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "calculator": {
                    "type": "string"
                  },
                  "drivers": {
                    "items": {
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "note": {
                          "type": "string"
                        },
                        "score": {
                          "type": "number"
                        },
                        "weight": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "grade": {
                    "type": "string"
                  },
                  "metrics": {
                    "properties": {
                      "collateral_coverage_pct": {
                        "type": "integer"
                      },
                      "tenor_days": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "recommendation": {
                    "type": "string"
                  },
                  "score": {
                    "type": "number"
                  },
                  "source": {
                    "type": "string"
                  },
                  "warnings": {
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_awpbwsy3"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-09-09T21:16:13.032Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-09T21:16:07.61Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}