Api Endpoint

SiteCheck

Loan and investment calculator in exact cents, no outside source. mode=annuity: monthly payment, total interest and the full amortisation schedule (up to 600 months). mode=compound: future value of an initial sum plus monthly contributions. mode=npv or irr: discount or internal rate of return of a list of cashflows (up to 200, the first at time 0). Rates are percentages from 0 to 100 a year (per period for npv and irr); terms up to 50 years.

Open interactive test console

Offering

Provider
api.sitecheck-api.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.sitecheck-api.workers.dev/api/finance/loan
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
loan calculator, mortgage, amortization, monthly payment, compound interest, npv, irr, savings calculator

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
2000 atomic units
Atomic price: 2000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 5
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.002 USDC
Atomic price: 2000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Payment option 7
0.002 USDC
Atomic price: 2000 · Network: eip155:480 · Asset: USDC · Scheme: exact
Payment option 8
0.002 USDC
Atomic price: 2000 · Network: eip155:10 · Asset: USDC · Scheme: exact
Payment option 9
2000 atomic units
Atomic price: 2000 · Network: eip155:42220 · Asset: 0xcebA9300f2b948710d2653dD7B07f33A8B32118C · Scheme: exact
Payment option 10
20000 atomic units
Atomic price: 20000 · Network: stellar:pubnet · Asset: CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 · Scheme: exact
Payment option 11
1532 atomic units
Atomic price: 1532 · Network: xrpl:0 · Asset: XRP · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "J8vnmBx4pS1X7UUBTfz1yWBKiw69Dj2yRGRHDaXBRdhR"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:480",
    "asset": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:10",
    "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "eip155:42220",
    "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
    "amount": "2000",
    "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA"
  },
  {
    "scheme": "exact",
    "network": "stellar:pubnet",
    "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
    "amount": "20000",
    "payTo": "GBIX2M7HNL2G2VYU5KZ446OSN55ZWHS3WBEUP4JTLS6R34VXIGTDOAFI"
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "asset": "XRP",
    "amount": "1532",
    "payTo": "rDxNZCDfLxUzeMWGGwsY3sjQT8eoZCf8UJ"
  }
]

Observed health

Status
Healthy
Latest latency
96 ms
Average latency
1115 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "mode": {
          "type": "string",
          "description": "annuity (default), compound, npv or irr"
        },
        "principal": {
          "type": "string",
          "description": "Loan amount (annuity) or starting sum (compound), up to two decimals (optional for compound)"
        },
        "rate": {
          "type": "string",
          "description": "Annual rate in percent, 0 to 100 (annuity, compound); rate per period in percent for npv (-99 to 1000)"
        },
        "termYears": {
          "type": "string",
          "description": "Term in years, up to 50 (annuity, compound)"
        },
        "termMonths": {
          "type": "string",
          "description": "Term in months, 1 to 600, instead of termYears"
        },
        "contribution": {
          "type": "string",
          "description": "Monthly contribution for compound, up to two decimals (optional)"
        },
        "cashflows": {
          "type": "string",
          "description": "Comma-separated cashflows for npv and irr, e.g. -1000,300,400,500 (first at time 0)"
        }
      },
      "required": [
        "mode"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "cashflows": {
              "description": "Comma-separated cashflows for npv and irr, e.g. -1000,300,400,500 (first at time 0)",
              "type": "string"
            },
            "contribution": {
              "description": "Monthly contribution for compound, up to two decimals (optional)",
              "type": "string"
            },
            "mode": {
              "description": "annuity (default), compound, npv or irr",
              "type": "string"
            },
            "principal": {
              "description": "Loan amount (annuity) or starting sum (compound), up to two decimals (optional for compound)",
              "type": "string"
            },
            "rate": {
              "description": "Annual rate in percent, 0 to 100 (annuity, compound); rate per period in percent for npv (-99 to 1000)",
              "type": "string"
            },
            "termMonths": {
              "description": "Term in months, 1 to 600, instead of termYears",
              "type": "string"
            },
            "termYears": {
              "description": "Term in years, up to 50 (annuity, compound)",
              "type": "string"
            }
          },
          "required": [
            "mode"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}