{
  "x402Version": 2,
  "id": 52916,
  "slug": "52916",
  "resource": "https://heb-utils-x402.hebutils-api.workers.dev/fee-drag",
  "description": "Fee and compounding calculator: final value with and without annual fees. Arithmetic only, not advice.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1CD76fe5f38Ae5B2785962EE5a3799e846E9fA52",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x1CD76fe5f38Ae5B2785962EE5a3799e846E9fA52",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "5000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "amount": "10000",
            "annual_fee_pct": "1",
            "annual_return_pct": "7",
            "years": "20"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "final_with_fees": 32071.35,
            "final_without_fees": 38696.84,
            "total_fee_cost": 6625.49
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "amount": {
                    "type": "string"
                  },
                  "annual_contribution": {
                    "type": "string"
                  },
                  "annual_fee_pct": {
                    "type": "string"
                  },
                  "annual_return_pct": {
                    "type": "string"
                  },
                  "years": {
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "years",
                  "annual_return_pct",
                  "annual_fee_pct"
                ],
                "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "heb-utils-x402.hebutils-api.workers.dev",
  "lastUpdated": "2026-10-10T18:09:35.85Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-10T18:09:35.508Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "amount": "10000",
              "annual_fee_pct": "1",
              "annual_return_pct": "7",
              "years": "20"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "final_with_fees": 32071.35,
              "final_without_fees": 38696.84,
              "total_fee_cost": 6625.49
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "annual_contribution": {
                      "type": "string"
                    },
                    "annual_fee_pct": {
                      "type": "string"
                    },
                    "annual_return_pct": {
                      "type": "string"
                    },
                    "years": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "amount",
                    "years",
                    "annual_return_pct",
                    "annual_fee_pct"
                  ],
                  "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "heb-utils-x402.hebutils-api.workers.dev",
    "manifest_name": "heb-utils-x402.hebutils-api.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}