Pendle · Schema

PriceOHLCVCSVResponse

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
total number Total number of data points available
currency string Always return USD
timeFrame string Time frame of each OHLCV data point (e.g., "1h", "1d", "1w")
timestamp_start number Start timestamp of the data range in seconds
timestamp_end number End timestamp of the data range in seconds
results string Resulting CSV string following the format: time,open,high,low,close,volume
View JSON Schema on GitHub

JSON Schema

PriceOHLCVCSVResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PriceOHLCVCSVResponse",
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total number of data points available"
    },
    "currency": {
      "type": "string",
      "deprecated": true,
      "description": "Always return USD"
    },
    "timeFrame": {
      "type": "string",
      "description": "Time frame of each OHLCV data point (e.g., \"1h\", \"1d\", \"1w\")"
    },
    "timestamp_start": {
      "type": "number",
      "description": "Start timestamp of the data range in seconds"
    },
    "timestamp_end": {
      "type": "number",
      "description": "End timestamp of the data range in seconds"
    },
    "results": {
      "type": "string",
      "example": "time,open,high,low,close,volume\n1756245600,42.4563,42.4563,42.4563,42.4563,0.0000",
      "description": "Resulting CSV string following the format: time,open,high,low,close,volume"
    }
  },
  "required": [
    "total",
    "currency",
    "timeFrame",
    "timestamp_start",
    "timestamp_end",
    "results"
  ]
}