{
  "x402Version": 2,
  "id": 6510,
  "slug": "6510",
  "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",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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-09-14T19:54:04.608Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T19:54:04.384Z"
  },
  "liveness": {},
  "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-09-18T22:00:31.484Z"
  }
}