1Forge · JSON Structure

Forex Data Api Quote Structure

A single bid/ask/price snapshot for a forex or cryptocurrency pair returned by the 1Forge Forex Data API.

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

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

Properties

s p b a t

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-quote-structure.json",
  "name": "Quote",
  "description": "A single bid/ask/price snapshot for a forex or cryptocurrency pair returned by the 1Forge Forex Data API.",
  "type": "object",
  "required": ["s", "p", "b", "a", "t"],
  "properties": {
    "s": {
      "type": "string",
      "description": "Currency pair symbol in BASE/QUOTE notation."
    },
    "p": {
      "type": "double",
      "description": "Last traded price (midpoint of bid/ask)."
    },
    "b": {
      "type": "double",
      "description": "Current bid price."
    },
    "a": {
      "type": "double",
      "description": "Current ask price."
    },
    "t": {
      "type": "int64",
      "description": "Unix epoch timestamp (seconds) of the quote."
    }
  }
}