Fixer · JSON Structure

Fixer Convert Structure

JSON Structure for a Fixer conversion envelope.

Type: object Properties: 6 Required: 4
Currency ExchangeForeign ExchangeFXForexECBConversionHistorical RatesTime SeriesFluctuationAPILayerPublic APIs

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

Properties

success query info historical date result

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-00/schema",
  "name": "FixerConvertResponse",
  "description": "JSON Structure for a Fixer conversion envelope.",
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "query": {
      "type": "object",
      "properties": {
        "from": { "type": "string", "x-format": "iso4217" },
        "to": { "type": "string", "x-format": "iso4217" },
        "amount": { "type": "double" }
      },
      "required": ["from", "to", "amount"]
    },
    "info": {
      "type": "object",
      "properties": {
        "timestamp": { "type": "int64" },
        "rate": { "type": "double" }
      },
      "required": ["timestamp", "rate"]
    },
    "historical": { "type": "boolean" },
    "date": { "type": "string", "x-format": "date" },
    "result": { "type": "double" }
  },
  "required": ["success", "query", "info", "result"]
}