Currencylayer · JSON Structure

Currencylayer Quotes Structure

JSON Structure for a Currencylayer real-time or historical quotes envelope.

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

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

Properties

success timestamp historical source date quotes

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-00/schema",
  "name": "CurrencylayerQuotesResponse",
  "description": "JSON Structure for a Currencylayer real-time or historical quotes envelope.",
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "timestamp": { "type": "int64" },
    "historical": { "type": "boolean" },
    "source": { "type": "string", "x-format": "iso4217" },
    "date": { "type": "string", "x-format": "date" },
    "quotes": {
      "type": "map",
      "values": { "type": "double" }
    }
  },
  "required": ["success", "timestamp", "source", "quotes"]
}