{
  "x402Version": 2,
  "id": 2343,
  "slug": "2343",
  "resource": "https://mcp.yield.xyz/x402/yields_get_tvl_history",
  "description": "Historical total-value-locked (TVL) for a yield over time — track inflows/outflows and protocol growth across 1d/7d/30d/90d/1y windows.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD433f056270912659f073D5FFE7Ae247e39235A5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:196",
      "payTo": "0x14c1cf26360F42681105A03137CF6951BdDB1293",
      "asset": "0x4ae46a509f6b1d9056937ba4500cb143933d2dc8",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:196",
      "payTo": "0x14c1cf26360F42681105A03137CF6951BdDB1293",
      "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:196",
      "payTo": "0x14c1cf26360F42681105A03137CF6951BdDB1293",
      "asset": "0x74b7f16337b8972027f6196a17a631ac6de26d22",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "interval": "day",
            "period": "90d",
            "yieldId": "base-usdc-aave-v3-lending"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "items": [
              {
                "timestamp": "2026-06-01T00:00:00.000Z",
                "tvl": "124500000.12",
                "tvlRaw": "124500000120000"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "from": {
                    "type": "string"
                  },
                  "interval": {
                    "enum": [
                      "day",
                      "week",
                      "month"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "maximum": 365,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "offset": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "period": {
                    "enum": [
                      "1d",
                      "7d",
                      "30d",
                      "90d",
                      "1y",
                      "all"
                    ],
                    "type": "string"
                  },
                  "to": {
                    "type": "string"
                  },
                  "yieldId": {
                    "description": "Yield ID from yields_get_all",
                    "type": "string"
                  }
                },
                "required": [
                  "yieldId"
                ],
                "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": {
                "description": "Core fields shown; the response carries additional fields depending on the yield/protocol (intentionally non-exhaustive).",
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "timestamp": {
                          "description": "Snapshot time (ISO 8601)",
                          "type": "string"
                        },
                        "tvl": {
                          "description": "Token units (human-readable)",
                          "type": "string"
                        },
                        "tvlRaw": {
                          "description": "Smallest token unit (wei)",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "mcp.yield.xyz",
  "lastUpdated": "2026-09-08T17:15:30.247Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-08T17:15:30.103Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mcp.yield.xyz",
    "manifest_name": "mcp.yield.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}