{
  "x402Version": 2,
  "id": 37930,
  "slug": "37930",
  "resource": "https://api.teardrop.dev/tools/mcp#get_dex_volume",
  "description": "Teardrop get_dex_volume: Compare decentralized exchange activity via DeFiLlama: 24h/7d/30-day volume, period-over-period changes, and each protocol's share of reported global 24-hour DEX volume. Filter by protocol and rank by a 1-, 7-, or 30-day lookback window.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "dexes": {
            "items": {
              "properties": {
                "category": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "chains": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "error": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null
                },
                "error_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null
                },
                "protocol": {
                  "type": "string"
                },
                "slug": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_24h_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_30d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_30d_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_7d_change_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_7d_usd": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "volume_share_pct": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "protocol",
                "slug",
                "category",
                "volume_24h_usd",
                "volume_7d_usd",
                "volume_30d_usd",
                "volume_7d_change_pct",
                "volume_30d_change_pct",
                "volume_share_pct",
                "chains"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "error_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "note": {
            "type": "string"
          },
          "total_available": {
            "type": "integer"
          },
          "total_matching": {
            "type": "integer"
          },
          "volume_share_basis": {
            "type": "string"
          }
        },
        "required": [
          "dexes",
          "total_matching",
          "total_available",
          "volume_share_basis",
          "note"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Compare decentralized exchange activity via DeFiLlama: 24h/7d/30-day volume, period-over-period changes, and each protocol's share of reported global 24-hour DEX volume. Filter by protocol and rank by a 1-, 7-, or 30-day lookback window.",
          "inputSchema": {
            "properties": {
              "limit": {
                "default": 20,
                "description": "Maximum number of DEX protocols to return.",
                "maximum": 50,
                "minimum": 1,
                "title": "Limit",
                "type": "integer"
              },
              "lookback_days": {
                "default": 30,
                "description": "Window used to rank the returned protocols: 1, 7, or 30 days (nearest supported window is used).",
                "maximum": 30,
                "minimum": 1,
                "title": "Lookback Days",
                "type": "integer"
              },
              "protocols": {
                "anyOf": [
                  {
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 50,
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Optional protocol names or DeFiLlama slugs, such as ['uniswap-v3', 'curve-dex']. When omitted, return the largest DEX protocols.",
                "title": "Protocols"
              }
            },
            "title": "GetDexVolumeInput",
            "type": "object"
          },
          "toolName": "get_dex_volume",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "dexes": [],
            "note": "",
            "total_available": 0,
            "total_matching": 0,
            "volume_share_basis": ""
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "toolName": {
                "type": "string"
              },
              "transport": {
                "enum": [
                  "streamable-http",
                  "sse"
                ],
                "type": "string"
              },
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type",
              "toolName",
              "inputSchema"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "dexes": {
                    "items": {
                      "properties": {
                        "category": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "chains": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "error": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null
                        },
                        "error_type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "default": null
                        },
                        "protocol": {
                          "type": "string"
                        },
                        "slug": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_24h_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_30d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_30d_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_7d_change_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_7d_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume_share_pct": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "protocol",
                        "slug",
                        "category",
                        "volume_24h_usd",
                        "volume_7d_usd",
                        "volume_30d_usd",
                        "volume_7d_change_pct",
                        "volume_30d_change_pct",
                        "volume_share_pct",
                        "chains"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "error_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "note": {
                    "type": "string"
                  },
                  "total_available": {
                    "type": "integer"
                  },
                  "total_matching": {
                    "type": "integer"
                  },
                  "volume_share_basis": {
                    "type": "string"
                  }
                },
                "required": [
                  "dexes",
                  "total_matching",
                  "total_available",
                  "volume_share_basis",
                  "note"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:44.626Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:31:02.067Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Compare decentralized exchange activity via DeFiLlama: 24h/7d/30-day volume, period-over-period changes, and each protocol's share of reported global 24-hour DEX volume. Filter by protocol and rank by a 1-, 7-, or 30-day lookback window.",
            "inputSchema": {
              "properties": {
                "limit": {
                  "default": 20,
                  "description": "Maximum number of DEX protocols to return.",
                  "maximum": 50,
                  "minimum": 1,
                  "title": "Limit",
                  "type": "integer"
                },
                "lookback_days": {
                  "default": 30,
                  "description": "Window used to rank the returned protocols: 1, 7, or 30 days (nearest supported window is used).",
                  "maximum": 30,
                  "minimum": 1,
                  "title": "Lookback Days",
                  "type": "integer"
                },
                "protocols": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 50,
                      "type": "array"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Optional protocol names or DeFiLlama slugs, such as ['uniswap-v3', 'curve-dex']. When omitted, return the largest DEX protocols.",
                  "title": "Protocols"
                }
              },
              "title": "GetDexVolumeInput",
              "type": "object"
            },
            "toolName": "get_dex_volume",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "dexes": [],
              "note": "",
              "total_available": 0,
              "total_matching": 0,
              "volume_share_basis": ""
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "inputSchema": {
                  "type": "object"
                },
                "toolName": {
                  "type": "string"
                },
                "transport": {
                  "enum": [
                    "streamable-http",
                    "sse"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "mcp",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "inputSchema"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "dexes": {
                      "items": {
                        "properties": {
                          "category": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "chains": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "error": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "error_type": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "default": null
                          },
                          "protocol": {
                            "type": "string"
                          },
                          "slug": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_24h_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_30d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_30d_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_7d_change_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_7d_usd": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "volume_share_pct": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "protocol",
                          "slug",
                          "category",
                          "volume_24h_usd",
                          "volume_7d_usd",
                          "volume_30d_usd",
                          "volume_7d_change_pct",
                          "volume_30d_change_pct",
                          "volume_share_pct",
                          "chains"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "error": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "error_type": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "note": {
                      "type": "string"
                    },
                    "total_available": {
                      "type": "integer"
                    },
                    "total_matching": {
                      "type": "integer"
                    },
                    "volume_share_basis": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "dexes",
                    "total_matching",
                    "total_available",
                    "volume_share_basis",
                    "note"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.teardrop.dev",
    "manifest_name": "api.teardrop.dev",
    "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": {
      "dexes": [
        {
          "category": null,
          "chains": [
            "string"
          ],
          "error": null,
          "error_type": null,
          "protocol": "string",
          "slug": null,
          "volume_24h_usd": null,
          "volume_30d_change_pct": null,
          "volume_30d_usd": null,
          "volume_7d_change_pct": null,
          "volume_7d_usd": null,
          "volume_share_pct": null
        }
      ],
      "error": null,
      "error_type": null,
      "note": "string",
      "total_available": 0,
      "total_matching": 0,
      "volume_share_basis": "string"
    },
    "type": "string"
  }
}