{
  "x402Version": 2,
  "id": 31251,
  "slug": "31251",
  "resource": "https://mart402.com/v1/jp-mortgage",
  "description": "Mortgage schedules: level-payment/level-principal, total interest, prepayment effect (term-reduction or payment-reduction). Deterministic annuity math. $0.005/call.",
  "type": "http",
  "serviceName": "Mart402",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "annual_rate": 0.012,
            "months": 420,
            "principal_yen": 35000000
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "description": "JSON: monthly payment, total interest, schedule head/tail; prepayment mode returns interest saved + months shortened",
          "example": {
            "as_of": null,
            "assumptions": [],
            "billable": true,
            "breakdown": [],
            "carried_forward": [],
            "disclaimer": "仮定条件に基づく概算試算。税務相談・手続代行・法律相談ではない。申告・届出への使用不可。確定額は官公署または税理士・社会保険労務士等に確認のこと。",
            "not_covered": [
              "住宅ローン控除(年度別上限・省エネ区分)",
              "団信・手数料",
              "変動金利の将来予測"
            ],
            "note": "SAMPLE RESPONSE generated by the exact deterministic engine that serves production (jp-statutory has no LLM: same input always produces this byte-identical result, carrying the same rules_version and cited primary sources). Served free at /samples/{product} so you can verify the response shape, the rules_version field and the source citations before paying. No payment was taken. The sample_input shown is the catalog example input that produced this output.",
            "ok": true,
            "result": {
              "method": "level_payment",
              "monthly_payment_yen": 102095,
              "months_paid": 421,
              "schedule_head": [
                {
                  "balance_yen": 34932905,
                  "interest_yen": 35000,
                  "month": 1,
                  "payment_yen": 102095,
                  "principal_yen": 67095
                },
                {
                  "balance_yen": 34865742,
                  "interest_yen": 34932,
                  "month": 2,
                  "payment_yen": 102095,
                  "principal_yen": 67163
                },
                {
                  "balance_yen": 34798512,
                  "interest_yen": 34865,
                  "month": 3,
                  "payment_yen": 102095,
                  "principal_yen": 67230
                }
              ],
              "schedule_tail": [
                {
                  "balance_yen": 102149,
                  "interest_yen": 204,
                  "month": 419,
                  "payment_yen": 102095,
                  "principal_yen": 101891
                },
                {
                  "balance_yen": 156,
                  "interest_yen": 102,
                  "month": 420,
                  "payment_yen": 102095,
                  "principal_yen": 101993
                },
                {
                  "balance_yen": 0,
                  "interest_yen": 0,
                  "month": 421,
                  "payment_yen": 156,
                  "principal_yen": 156
                }
              ],
              "total_interest_yen": 7880056,
              "total_paid_yen": 42880056,
              "total_prepaid_yen": 0
            },
            "rules_version": "2026.08.18",
            "sample": true,
            "sample_input": {
              "annual_rate": 0.012,
              "months": 420,
              "principal_yen": 35000000
            },
            "sources": [
              "deterministic-annuity-math"
            ],
            "summary": "借入35,000,000円・年1.200%・420回 -> 毎月102,095円、総利息7,880,056円",
            "tool": "jp-mortgage",
            "unverified_rules": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "annual_rate": {
                    "type": "number"
                  },
                  "months": {
                    "type": "number"
                  },
                  "principal_yen": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "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"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "jws",
            "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiI1MDAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJwYXlUbyI6IjB4RTMyNDRhMjFEMGQ2OGJGYTc4YjdDQWQ4QzNiODc3N2FERmJCMzE4OCIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9tYXJ0NDAyLmNvbS92MS9qcC1tb3J0Z2FnZSIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc5MTYyMTM4OCwidmVyc2lvbiI6MX0.6JhhWaWWl97RlOsdGA2-DfAvMF8wIhYmUft-JzE3sjfMy_0JMZqf6fs-MzdsoDu4GEpG3QPiTwiEFGJi-TxfCQ"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "const": "jws",
                  "type": "string"
                },
                "signature": {
                  "description": "JWS compact serialization containing the offer payload",
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "offer-receipt"
  ],
  "sourceHost": "mart402.com",
  "lastUpdated": "2026-10-10T08:31:28.073Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-10T08:31:27.885Z"
  },
  "metadata": {
    "serviceName": "Mart402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "annual_rate": 0.012,
              "months": 420,
              "principal_yen": 35000000
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "description": "JSON: monthly payment, total interest, schedule head/tail; prepayment mode returns interest saved + months shortened",
            "example": {
              "as_of": null,
              "assumptions": [],
              "billable": true,
              "breakdown": [],
              "carried_forward": [],
              "disclaimer": "仮定条件に基づく概算試算。税務相談・手続代行・法律相談ではない。申告・届出への使用不可。確定額は官公署または税理士・社会保険労務士等に確認のこと。",
              "not_covered": [
                "住宅ローン控除(年度別上限・省エネ区分)",
                "団信・手数料",
                "変動金利の将来予測"
              ],
              "note": "SAMPLE RESPONSE generated by the exact deterministic engine that serves production (jp-statutory has no LLM: same input always produces this byte-identical result, carrying the same rules_version and cited primary sources). Served free at /samples/{product} so you can verify the response shape, the rules_version field and the source citations before paying. No payment was taken. The sample_input shown is the catalog example input that produced this output.",
              "ok": true,
              "result": {
                "method": "level_payment",
                "monthly_payment_yen": 102095,
                "months_paid": 421,
                "schedule_head": [
                  {
                    "balance_yen": 34932905,
                    "interest_yen": 35000,
                    "month": 1,
                    "payment_yen": 102095,
                    "principal_yen": 67095
                  },
                  {
                    "balance_yen": 34865742,
                    "interest_yen": 34932,
                    "month": 2,
                    "payment_yen": 102095,
                    "principal_yen": 67163
                  },
                  {
                    "balance_yen": 34798512,
                    "interest_yen": 34865,
                    "month": 3,
                    "payment_yen": 102095,
                    "principal_yen": 67230
                  }
                ],
                "schedule_tail": [
                  {
                    "balance_yen": 102149,
                    "interest_yen": 204,
                    "month": 419,
                    "payment_yen": 102095,
                    "principal_yen": 101891
                  },
                  {
                    "balance_yen": 156,
                    "interest_yen": 102,
                    "month": 420,
                    "payment_yen": 102095,
                    "principal_yen": 101993
                  },
                  {
                    "balance_yen": 0,
                    "interest_yen": 0,
                    "month": 421,
                    "payment_yen": 156,
                    "principal_yen": 156
                  }
                ],
                "total_interest_yen": 7880056,
                "total_paid_yen": 42880056,
                "total_prepaid_yen": 0
              },
              "rules_version": "2026.08.18",
              "sample": true,
              "sample_input": {
                "annual_rate": 0.012,
                "months": 420,
                "principal_yen": 35000000
              },
              "sources": [
                "deterministic-annuity-math"
              ],
              "summary": "借入35,000,000円・年1.200%・420回 -> 毎月102,095円、総利息7,880,056円",
              "tool": "jp-mortgage",
              "unverified_rules": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "annual_rate": {
                      "type": "number"
                    },
                    "months": {
                      "type": "number"
                    },
                    "principal_yen": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "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"
        }
      },
      "offer-receipt": {
        "info": {
          "offers": [
            {
              "acceptIndex": 0,
              "format": "jws",
              "signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6bWFydDQwMi5jb20ja2V5LTEifQ.eyJhbW91bnQiOiI1MDAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJwYXlUbyI6IjB4RTMyNDRhMjFEMGQ2OGJGYTc4YjdDQWQ4QzNiODc3N2FERmJCMzE4OCIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9tYXJ0NDAyLmNvbS92MS9qcC1tb3J0Z2FnZSIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc5MTYyMTM4OCwidmVyc2lvbiI6MX0.6JhhWaWWl97RlOsdGA2-DfAvMF8wIhYmUft-JzE3sjfMy_0JMZqf6fs-MzdsoDu4GEpG3QPiTwiEFGJi-TxfCQ"
            }
          ]
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "offers": {
              "items": {
                "properties": {
                  "acceptIndex": {
                    "type": "integer"
                  },
                  "format": {
                    "const": "jws",
                    "type": "string"
                  },
                  "signature": {
                    "description": "JWS compact serialization containing the offer payload",
                    "type": "string"
                  }
                },
                "required": [
                  "format",
                  "signature"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "offers"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mart402.com",
    "manifest_name": "mart402.com",
    "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"
  }
}