{
  "x402Version": 2,
  "id": 30205,
  "slug": "30205",
  "resource": "https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/mortgageComparisonCalculator",
  "description": "15-year vs 30-year mortgage comparison calculator. Computes monthly payment and total interest for both loan terms on the same purchase price and down payment, and reports the payment and lifetime-interest tradeoff between them.",
  "type": "http",
  "serviceName": "Sindri",
  "resourceType": "Real Estate",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x548eFd4f4d4A5C3669dbb4CBB2B1A637FeeEc5F6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "APer2AbhckyMWyJanW2MZ2eRLcpL9Lmhks8rkmXfqjRG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "downPaymentPercent": 0.2,
            "interestRate15": 0.055,
            "interestRate30": 0.065,
            "purchasePrice": 300000
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "fifteenYear": {
                "monthlyPayment": 1961.0002910907206,
                "totalInterest": 112980.05239633351,
                "totalPaid": 352980.0523963297
              },
              "monthlyPaymentDifference": 444.0370347076039,
              "params": {
                "downPaymentPercent": 0.2,
                "interestRate15": 0.055,
                "interestRate30": 0.065,
                "purchasePrice": 300000
              },
              "thirtyYear": {
                "monthlyPayment": 1516.9632563831167,
                "totalInterest": 306106.7722979182,
                "totalPaid": 546106.772297922
              },
              "totalInterestSavings": 193126.7199015847
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "downPaymentPercent": {
                    "default": 0.2,
                    "description": "Down payment as a fraction of purchase price (0-1). Default 0.2.",
                    "type": "number"
                  },
                  "interestRate15": {
                    "description": "Annual interest rate for the 15-year loan, as a fraction.",
                    "type": "number"
                  },
                  "interestRate30": {
                    "description": "Annual interest rate for the 30-year loan, as a fraction.",
                    "type": "number"
                  },
                  "purchasePrice": {
                    "description": "Home purchase price.",
                    "type": "number"
                  }
                },
                "required": [
                  "purchasePrice",
                  "interestRate15",
                  "interestRate30"
                ],
                "type": "object"
              },
              "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": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "x402_api_vendor",
        "s": [
          "cdp_sdk_server"
        ]
      },
      "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"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "mortgage calculator",
    "15 vs 30 year",
    "home loan",
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws",
  "lastUpdated": "2026-10-08T06:25:49.465Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:25:49.331Z"
  },
  "metadata": {
    "serviceName": "Sindri",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "downPaymentPercent": 0.2,
              "interestRate15": 0.055,
              "interestRate30": 0.065,
              "purchasePrice": 300000
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "fifteenYear": {
                  "monthlyPayment": 1961.0002910907206,
                  "totalInterest": 112980.05239633351,
                  "totalPaid": 352980.0523963297
                },
                "monthlyPaymentDifference": 444.0370347076039,
                "params": {
                  "downPaymentPercent": 0.2,
                  "interestRate15": 0.055,
                  "interestRate30": 0.065,
                  "purchasePrice": 300000
                },
                "thirtyYear": {
                  "monthlyPayment": 1516.9632563831167,
                  "totalInterest": 306106.7722979182,
                  "totalPaid": 546106.772297922
                },
                "totalInterestSavings": 193126.7199015847
              },
              "ok": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "downPaymentPercent": {
                      "default": 0.2,
                      "description": "Down payment as a fraction of purchase price (0-1). Default 0.2.",
                      "type": "number"
                    },
                    "interestRate15": {
                      "description": "Annual interest rate for the 15-year loan, as a fraction.",
                      "type": "number"
                    },
                    "interestRate30": {
                      "description": "Annual interest rate for the 30-year loan, as a fraction.",
                      "type": "number"
                    },
                    "purchasePrice": {
                      "description": "Home purchase price.",
                      "type": "number"
                    }
                  },
                  "required": [
                    "purchasePrice",
                    "interestRate15",
                    "interestRate30"
                  ],
                  "type": "object"
                },
                "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": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "x402_api_vendor",
          "s": [
            "cdp_sdk_server"
          ]
        },
        "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"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "eip2612GasSponsoring": {},
      "erc20ApprovalGasSponsoring": {}
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws",
    "manifest_name": "ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}