{
  "x402Version": 2,
  "id": 8403,
  "slug": "8403",
  "resource": "https://x402.outpimp.com/compoundInterestCalculator",
  "description": "Compound interest calculator. Projects the ending value of an investment given a starting principal, monthly contributions, and an annual interest rate, compounded monthly over a chosen number of years.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x548eFd4f4d4A5C3669dbb4CBB2B1A637FeeEc5F6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "APer2AbhckyMWyJanW2MZ2eRLcpL9Lmhks8rkmXfqjRG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "annualInterestRate": 0.07,
            "initialInvestment": 10000,
            "monthlyContribution": 200,
            "years": 20
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "endingValue": 144572.72045492515,
              "params": {
                "annualInterestRate": 0.07,
                "initialInvestment": 10000,
                "monthlyContribution": 200,
                "years": 20
              },
              "totalContributions": 58000,
              "totalGrowth": 86572.72045492515,
              "yearlyBalances": [
                13201.41786649044,
                16634.266489404075,
                20315.276016835352,
                24262.386020637212,
                28494.83292576237,
                33033.243759878744,
                37899.736680152215,
                43118.02876711856,
                48713.55161098314,
                54713.57525366362,
                61147.3410906128,
                68046.20438012511,
                75443.78705465242,
                83376.14157886199,
                91881.92665300699,
                101002.5956179077,
                110782.59847974403,
                121269.59853923674,
                132514.70468096953,
                144572.72045492515
              ]
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "annualInterestRate": {
                    "description": "Annual interest rate, as a fraction (e.g. 0.07).",
                    "type": "number"
                  },
                  "initialInvestment": {
                    "description": "Starting principal.",
                    "type": "number"
                  },
                  "monthlyContribution": {
                    "description": "Recurring monthly contribution.",
                    "type": "number"
                  },
                  "years": {
                    "description": "Number of years to project (1-100).",
                    "type": "number"
                  }
                },
                "required": [
                  "initialInvestment",
                  "years",
                  "monthlyContribution",
                  "annualInterestRate"
                ],
                "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": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "x402.outpimp.com",
  "lastUpdated": "2026-08-30T22:17:55.764Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T22:17:55.627Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.outpimp.com",
    "manifest_name": "x402.outpimp.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}