Currencylayer · Schema

Currencylayer Change Response

Envelope returned by /change containing start rate, end rate, absolute change, and percentage change for each requested currency.

Currency ExchangeForeign ExchangeFXForexConversionHistorical RatesTime FrameChange ReportPrecious MetalsAPILayerPublic APIs

Properties

Name Type Description
success boolean
terms string
privacy string
change boolean
start_date string
end_date string
source string
quotes object
View JSON Schema on GitHub

JSON Schema

currencylayer-change-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/currencylayer/json-schema/currencylayer-change-schema.json",
  "title": "Currencylayer Change Response",
  "description": "Envelope returned by /change containing start rate, end rate, absolute change, and percentage change for each requested currency.",
  "type": "object",
  "required": ["success", "change", "start_date", "end_date", "source", "quotes"],
  "properties": {
    "success": { "type": "boolean" },
    "terms": { "type": "string", "format": "uri" },
    "privacy": { "type": "string", "format": "uri" },
    "change": { "type": "boolean" },
    "start_date": { "type": "string", "format": "date" },
    "end_date": { "type": "string", "format": "date" },
    "source": { "type": "string", "pattern": "^[A-Z]{3}$" },
    "quotes": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "start_rate": { "type": "number" },
          "end_rate": { "type": "number" },
          "change": { "type": "number" },
          "change_pct": { "type": "number" }
        }
      }
    }
  }
}