{
  "x402Version": 2,
  "id": 32462,
  "slug": "32462",
  "resource": "https://x402-trends-server.onrender.com/api/exchange-rate",
  "description": "Convert money between currency codes using current reference exchange-rate data. Use this endpoint for USD, EUR, GBP, JPY, and other supported fiat conversions when an agent needs a rate, converted amount, or currency comparison.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF61F957D9aC432309219549b1Ae79Ae8b7C71fF5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "number"
          },
          "convertedAmount": {
            "type": "number"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "from": {
            "type": "string"
          },
          "payment": {
            "type": "string"
          },
          "rate": {
            "type": "number"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "from",
          "to",
          "amount",
          "rate",
          "convertedAmount"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "amount": 100,
            "from": "USD",
            "to": "EUR"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "amount": 100,
            "convertedAmount": 86,
            "date": "2026-08-15",
            "from": "USD",
            "payment": "verified",
            "rate": 0.86,
            "source": "Frankfurter",
            "status": "success",
            "to": "EUR"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount of source currency to convert. Defaults to 1.",
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  "from": {
                    "description": "Three-letter source currency code such as USD, EUR, GBP, or JPY.",
                    "type": "string"
                  },
                  "to": {
                    "description": "Three-letter target currency code such as EUR, USD, GBP, or JPY.",
                    "type": "string"
                  }
                },
                "required": [
                  "from",
                  "to"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "convertedAmount": {
                    "type": "number"
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "from": {
                    "type": "string"
                  },
                  "payment": {
                    "type": "string"
                  },
                  "rate": {
                    "type": "number"
                  },
                  "source": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "to": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "from",
                  "to",
                  "amount",
                  "rate",
                  "convertedAmount"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-trends-server.onrender.com",
  "lastUpdated": "2026-10-08T06:14:34.365Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:14:34.218Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "amount": 100,
              "from": "USD",
              "to": "EUR"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "amount": 100,
              "convertedAmount": 86,
              "date": "2026-08-15",
              "from": "USD",
              "payment": "verified",
              "rate": 0.86,
              "source": "Frankfurter",
              "status": "success",
              "to": "EUR"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "Amount of source currency to convert. Defaults to 1.",
                      "exclusiveMinimum": 0,
                      "type": "number"
                    },
                    "from": {
                      "description": "Three-letter source currency code such as USD, EUR, GBP, or JPY.",
                      "type": "string"
                    },
                    "to": {
                      "description": "Three-letter target currency code such as EUR, USD, GBP, or JPY.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "from",
                    "to"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "number"
                    },
                    "convertedAmount": {
                      "type": "number"
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "from": {
                      "type": "string"
                    },
                    "payment": {
                      "type": "string"
                    },
                    "rate": {
                      "type": "number"
                    },
                    "source": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "to": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "from",
                    "to",
                    "amount",
                    "rate",
                    "convertedAmount"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-trends-server.onrender.com",
    "manifest_name": "x402-trends-server.onrender.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": {
      "amount": 0,
      "convertedAmount": 0,
      "date": "string",
      "from": "string",
      "payment": "string",
      "rate": 0,
      "source": "string",
      "status": "string",
      "to": "string"
    },
    "type": "string"
  }
}