Currencylayer · JSON Structure

Currencylayer Timeframe Structure

JSON Structure for the /timeframe envelope: map of date to map of pair to rate.

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

CurrencylayerTimeFrameResponse 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 timeframe 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": "CurrencylayerTimeFrameResponse",
  "description": "JSON Structure for the /timeframe envelope: map of date to map of pair to rate.",
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "timeframe": { "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": "map",
        "values": { "type": "double" }
      }
    }
  },
  "required": ["success", "timeframe", "start_date", "end_date", "source", "quotes"]
}