OHLCResponse

Response from the OHLC (Open, High, Low, Close) exchange rates endpoint

Foreign ExchangeCurrencyExchange RatesFXCurrency ConversionForexFinancial Data

Properties

Name Type Description
disclaimer string Legal disclaimer URL
license string License URL
start_time string Start time of the OHLC period in ISO-8601 UTC format
end_time string End time of the OHLC period in ISO-8601 UTC format
base string Base currency 3-letter ISO code
rates object Map of currency codes to OHLC data objects
View JSON Schema on GitHub

JSON Schema

ohlc-response.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/open-exchange-rates/main/json-schema/ohlc-response.json",
  "title": "OHLCResponse",
  "description": "Response from the OHLC (Open, High, Low, Close) exchange rates endpoint",
  "type": "object",
  "properties": {
    "disclaimer": {
      "type": "string",
      "description": "Legal disclaimer URL"
    },
    "license": {
      "type": "string",
      "description": "License URL"
    },
    "start_time": {
      "type": "string",
      "format": "date-time",
      "description": "Start time of the OHLC period in ISO-8601 UTC format"
    },
    "end_time": {
      "type": "string",
      "format": "date-time",
      "description": "End time of the OHLC period in ISO-8601 UTC format"
    },
    "base": {
      "type": "string",
      "description": "Base currency 3-letter ISO code",
      "example": "USD"
    },
    "rates": {
      "type": "object",
      "description": "Map of currency codes to OHLC data objects",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "open": {
            "type": "number",
            "description": "Opening exchange rate at the start of the period"
          },
          "high": {
            "type": "number",
            "description": "Highest exchange rate recorded during the period"
          },
          "low": {
            "type": "number",
            "description": "Lowest exchange rate recorded during the period"
          },
          "close": {
            "type": "number",
            "description": "Closing exchange rate at the end of the period"
          },
          "average": {
            "type": "number",
            "description": "Average exchange rate over the period"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ohlc-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.