Fixer · Schema

Fixer Fluctuation Response

Envelope returned by /fluctuation summarizing rate change between two dates per currency.

Currency ExchangeForeign ExchangeFXForexECBConversionHistorical RatesTime SeriesFluctuationAPILayerPublic APIs

Properties

Name Type Description
success boolean
fluctuation boolean
start_date string
end_date string
base string
rates object
View JSON Schema on GitHub

JSON Schema

fixer-fluctuation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/fixer/json-schema/fixer-fluctuation-schema.json",
  "title": "Fixer Fluctuation Response",
  "description": "Envelope returned by /fluctuation summarizing rate change between two dates per currency.",
  "type": "object",
  "required": ["success", "fluctuation", "start_date", "end_date", "base", "rates"],
  "properties": {
    "success": { "type": "boolean" },
    "fluctuation": { "type": "boolean" },
    "start_date": { "type": "string", "format": "date" },
    "end_date": { "type": "string", "format": "date" },
    "base": { "type": "string", "pattern": "^[A-Z]{3}$" },
    "rates": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": ["start_rate", "end_rate", "change", "change_pct"],
        "properties": {
          "start_rate": { "type": "number" },
          "end_rate": { "type": "number" },
          "change": { "type": "number" },
          "change_pct": { "type": "number" }
        }
      }
    }
  }
}