1Forge · JSON Structure

Forex Data Api Conversion Result Structure

Result of converting a numeric quantity from one currency to another at the current rate via the 1Forge convert endpoint.

Type: object Properties: 3 Required: 3
Currency ExchangeForexCryptocurrencyMarket DataFinancial DataReal-Time Data

ConversionResult is a JSON Structure definition published by 1Forge, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

value text timestamp

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1forge/refs/heads/main/json-structure/forex-data-api-conversion-result-structure.json",
  "name": "ConversionResult",
  "description": "Result of converting a numeric quantity from one currency to another at the current rate via the 1Forge convert endpoint.",
  "type": "object",
  "required": ["value", "text", "timestamp"],
  "properties": {
    "value": {
      "type": "double",
      "description": "Converted amount in the destination currency."
    },
    "text": {
      "type": "string",
      "description": "Human-readable conversion string."
    },
    "timestamp": {
      "type": "int64",
      "description": "Unix epoch timestamp (seconds) of the conversion rate."
    }
  }
}