Currencylayer · JSON Structure

Currencylayer Change Structure

JSON Structure for the /change envelope: per-pair start/end rates plus absolute and percentage change.

Type: object Properties: 6 Required: 6
Currency ExchangeForeign ExchangeFXForexConversionHistorical RatesTime FrameChange ReportPrecious MetalsAPILayerPublic APIs

CurrencylayerChangeResponse is a JSON Structure definition published by Currencylayer, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/draft-00/schema meta-schema.

Properties

success change start_date end_date source quotes

Meta-schema: https://json-structure.org/draft-00/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-00/schema",
  "name": "CurrencylayerChangeResponse",
  "description": "JSON Structure for the /change envelope: per-pair start/end rates plus absolute and percentage change.",
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "change": { "type": "boolean" },
    "start_date": { "type": "string", "x-format": "date" },
    "end_date": { "type": "string", "x-format": "date" },
    "source": { "type": "string", "x-format": "iso4217" },
    "quotes": {
      "type": "map",
      "values": {
        "type": "object",
        "properties": {
          "start_rate": { "type": "double" },
          "end_rate": { "type": "double" },
          "change": { "type": "double" },
          "change_pct": { "type": "double" }
        }
      }
    }
  },
  "required": ["success", "change", "start_date", "end_date", "source", "quotes"]
}