Catalog/litfin-royalty-financing

Scoring

Royalty / revenue-based financing calculator API

Revenue-based financing math: totalRepayment = advance × repaymentCap, monthlyPayment = monthlyRevenue × royaltyRate, paybackMonths = repayment / payment, and the effective annualized cost (cost/advance)/(months/12). Answers 'when is this RBF advance repaid', 'what's the effective APR of revenue-based financing', 'how much will I repay on this royalty deal'.

Price$0.016per request
MethodPOST
Route/v1/score/litfin-royalty-financing
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
scoreroyalty-financingrevenue-basedrbfalt-financeapradvancelending
API URLhttps://x402.hexl.dev/v1/score/litfin-royalty-financing
Integration docs
Example request
{
  "advance": 1000000,
  "repaymentCap": 1.5,
  "monthlyRevenue": 400000,
  "royaltyRate": 0.08
}
Example response
{
  "totalRepayment": 1500000,
  "monthlyPayment": 32000,
  "paybackMonths": 46.9,
  "totalCost": 500000,
  "effectiveAnnualizedRate": 0.1279,
  "effectiveAnnualizedRatePercent": 12.79,
  "method": "repayment=advance×cap; payback=repayment/(revenue×royaltyRate); APR≈(cost/advance)/(months/12)"
}
Input schema
{
  "type": "object",
  "required": [
    "advance",
    "repaymentCap",
    "monthlyRevenue",
    "royaltyRate"
  ],
  "properties": {
    "advance": {
      "type": "number",
      "examples": [
        1000000
      ]
    },
    "repaymentCap": {
      "type": "number",
      "description": ">1 multiple of advance to repay",
      "examples": [
        1.5
      ]
    },
    "monthlyRevenue": {
      "type": "number",
      "examples": [
        400000
      ]
    },
    "royaltyRate": {
      "type": "number",
      "description": "0-1 share of revenue",
      "examples": [
        0.08
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}