{
  "x402Version": 2,
  "id": 37936,
  "slug": "37936",
  "resource": "https://api.teardrop.dev/tools/mcp#convert_currency",
  "description": "Teardrop convert_currency: Convert an amount between fiat currencies (USD, EUR, GBP) and crypto assets (BTC, ETH, USDC, SOL) and return the converted amount plus the exchange rate used.",
  "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": {
          "amount": {
            "type": "number"
          },
          "converted_amount": {
            "type": "number"
          },
          "from_currency": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "source": {
            "type": "string"
          },
          "to_currency": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "from_currency",
          "to_currency",
          "converted_amount",
          "rate",
          "source"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Convert an amount between fiat currencies (USD, EUR, GBP) and crypto assets (BTC, ETH, USDC, SOL) and return the converted amount plus the exchange rate used.",
          "inputSchema": {
            "properties": {
              "amount": {
                "description": "Amount to convert",
                "exclusiveMinimum": 0,
                "title": "Amount",
                "type": "number"
              },
              "from_currency": {
                "description": "Source currency (e.g. 'ETH', 'USD', 'BTC')",
                "maxLength": 20,
                "minLength": 1,
                "title": "From Currency",
                "type": "string"
              },
              "to_currency": {
                "description": "Target currency (e.g. 'USD', 'EUR', 'BTC')",
                "maxLength": 20,
                "minLength": 1,
                "title": "To Currency",
                "type": "string"
              }
            },
            "required": [
              "amount",
              "from_currency",
              "to_currency"
            ],
            "title": "ConvertCurrencyInput",
            "type": "object"
          },
          "toolName": "convert_currency",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "amount": 0,
            "converted_amount": 0,
            "from_currency": "",
            "rate": 0,
            "source": "",
            "to_currency": ""
          },
          "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": {
                  "amount": {
                    "type": "number"
                  },
                  "converted_amount": {
                    "type": "number"
                  },
                  "from_currency": {
                    "type": "string"
                  },
                  "rate": {
                    "type": "number"
                  },
                  "source": {
                    "type": "string"
                  },
                  "to_currency": {
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "from_currency",
                  "to_currency",
                  "converted_amount",
                  "rate",
                  "source"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:13.409Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:30:28.796Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Convert an amount between fiat currencies (USD, EUR, GBP) and crypto assets (BTC, ETH, USDC, SOL) and return the converted amount plus the exchange rate used.",
            "inputSchema": {
              "properties": {
                "amount": {
                  "description": "Amount to convert",
                  "exclusiveMinimum": 0,
                  "title": "Amount",
                  "type": "number"
                },
                "from_currency": {
                  "description": "Source currency (e.g. 'ETH', 'USD', 'BTC')",
                  "maxLength": 20,
                  "minLength": 1,
                  "title": "From Currency",
                  "type": "string"
                },
                "to_currency": {
                  "description": "Target currency (e.g. 'USD', 'EUR', 'BTC')",
                  "maxLength": 20,
                  "minLength": 1,
                  "title": "To Currency",
                  "type": "string"
                }
              },
              "required": [
                "amount",
                "from_currency",
                "to_currency"
              ],
              "title": "ConvertCurrencyInput",
              "type": "object"
            },
            "toolName": "convert_currency",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "amount": 0,
              "converted_amount": 0,
              "from_currency": "",
              "rate": 0,
              "source": "",
              "to_currency": ""
            },
            "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": {
                    "amount": {
                      "type": "number"
                    },
                    "converted_amount": {
                      "type": "number"
                    },
                    "from_currency": {
                      "type": "string"
                    },
                    "rate": {
                      "type": "number"
                    },
                    "source": {
                      "type": "string"
                    },
                    "to_currency": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "amount",
                    "from_currency",
                    "to_currency",
                    "converted_amount",
                    "rate",
                    "source"
                  ],
                  "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": {
      "amount": 0,
      "converted_amount": 0,
      "from_currency": "string",
      "rate": 0,
      "source": "string",
      "to_currency": "string"
    },
    "type": "string"
  }
}