{
  "x402Version": 2,
  "id": 27339,
  "slug": "27339",
  "resource": "https://x402.tbs-digital.com/defi/tvl",
  "description": "DeFi TVL (total value locked) for AI agents. Query a single protocol by slug (aave, uniswap, lido) for its current USD TVL, a specific chain by name, or omit both for the top 20 chains ranked by TVL. Sourced from DefiLlama — on-chain liquidity and DeFi health signal in USD.",
  "type": "http",
  "serviceName": "TBS Crypto & DeFi API",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd6fCE15298Fc9D60f867d9455D497177Da9BFB0a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "chain": {
            "nullable": true,
            "type": "object"
          },
          "generated_at": {
            "type": "string"
          },
          "payer": {
            "properties": {
              "address": {
                "nullable": true,
                "type": "string"
              },
              "network": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "protocol": {
            "nullable": true,
            "type": "object"
          },
          "request_id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "top_chains": {
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "Ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "generated_at": "2026-08-11T12:00:00.000Z",
            "payer": {
              "address": "0x0000000000000000000000000000000000000000",
              "network": "base"
            },
            "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
            "source": "defillama",
            "top_chains": [
              {
                "name": "Ethereum",
                "tvl_usd": 52100000000
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chain": {
                    "description": "Chain name, e.g. Ethereum (optional)",
                    "type": "string"
                  },
                  "protocol": {
                    "description": "DefiLlama protocol slug, e.g. aave (optional)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "chain": {
                    "nullable": true,
                    "type": "object"
                  },
                  "generated_at": {
                    "type": "string"
                  },
                  "payer": {
                    "properties": {
                      "address": {
                        "nullable": true,
                        "type": "string"
                      },
                      "network": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "protocol": {
                    "nullable": true,
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "top_chains": {
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "defi",
    "tvl",
    "total-value-locked",
    "chains",
    "protocol",
    "bazaar"
  ],
  "sourceHost": "x402.tbs-digital.com",
  "lastUpdated": "2026-10-10T01:37:24.451Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-10T01:37:24.02Z"
  },
  "metadata": {
    "serviceName": "TBS Crypto & DeFi API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "chain": "Ethereum"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "generated_at": "2026-08-11T12:00:00.000Z",
              "payer": {
                "address": "0x0000000000000000000000000000000000000000",
                "network": "base"
              },
              "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
              "source": "defillama",
              "top_chains": [
                {
                  "name": "Ethereum",
                  "tvl_usd": 52100000000
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "chain": {
                      "description": "Chain name, e.g. Ethereum (optional)",
                      "type": "string"
                    },
                    "protocol": {
                      "description": "DefiLlama protocol slug, e.g. aave (optional)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "chain": {
                      "nullable": true,
                      "type": "object"
                    },
                    "generated_at": {
                      "type": "string"
                    },
                    "payer": {
                      "properties": {
                        "address": {
                          "nullable": true,
                          "type": "string"
                        },
                        "network": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "protocol": {
                      "nullable": true,
                      "type": "object"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "top_chains": {
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.tbs-digital.com",
    "manifest_name": "x402.tbs-digital.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": {
      "chain": {},
      "generated_at": "string",
      "payer": {
        "address": "string",
        "network": "string"
      },
      "protocol": {},
      "request_id": "string",
      "source": "string",
      "top_chains": [
        "value"
      ]
    },
    "type": "string"
  }
}