{
  "openapi": "3.0.3",
  "info": {
    "title": "RegioFX \u2014 Currency Analytics API (ECB)",
    "version": "1.0",
    "description": "Official European Central Bank exchange rates plus real analytics: period volatility, trend, high/low, % change and strongest/weakest currency movers.",
    "contact": {
      "email": "office@installateur1210.at",
      "url": "https://fx.installateur1210.at/"
    }
  },
  "servers": [
    {
      "url": "https://fx.installateur1210.at"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "apiKeyQuery": {
        "type": "apiKey",
        "in": "query",
        "name": "key"
      }
    }
  },
  "paths": {
    "/v1/fx/rates": {
      "get": {
        "summary": "Latest official ECB rates. Params: base, symbols (CSV).",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "apiKeyHeader": []
          },
          {
            "apiKeyQuery": []
          }
        ]
      }
    },
    "/v1/fx/convert": {
      "get": {
        "summary": "Convert an amount. Params: from, to, amount.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "apiKeyHeader": []
          },
          {
            "apiKeyQuery": []
          }
        ]
      }
    },
    "/v1/fx/analytics": {
      "get": {
        "summary": "Volatility (daily & annualized), trend, high/low, % change over N days. Params: base, symbol, days.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "apiKeyHeader": []
          },
          {
            "apiKeyQuery": []
          }
        ]
      }
    },
    "/v1/fx/movers": {
      "get": {
        "summary": "Strongest & weakest currencies vs. base over N days. Params: base, days.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "apiKeyHeader": []
          },
          {
            "apiKeyQuery": []
          }
        ]
      }
    }
  }
}