ToolAssay

Retrieve historical OHLCV candles for an instrument or two-ticker spread

Retrieve historical OHLCV candles for an instrument or two-ticker spread. Returns up to 1000 bars per paid request, with UTC timestamps in seconds and data-delay information. Use search_tickers to find a ticker, get_market_snapshot for its latest market data, and get_market_technical_analysis for chart analysis of the same ticker. Popular examples include AAPL, SPY, gold XAUUSD (C:XAUUSD), EURUSD (C:EURUSD), BTCUSD (X:BTCUSD), and ETHUSD (X:ETHUSD). FX/metals require C:; crypto requires X:.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
213 msmedian answer time
$0.02listed price per call
$0.02price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://ai.tradeos.xyz/api/x402/get_market_candles

CategoryMarket data
Provider hostai.tradeos.xyz
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.02 212 ms
2026-11-25 valid payment request 402$0.02 214 ms
2026-11-24 valid payment request 402$0.02 211 ms
2026-11-23 valid payment request 402$0.02 209 ms
2026-11-22 valid payment request 402$0.02 290 ms
2026-11-21 valid payment request 402$0.02 213 ms
2026-11-20 valid payment request 402$0.02 217 ms
2026-11-19 valid payment request 402$0.02 225 ms
2026-11-18 valid payment request 402$0.02 213 ms
2026-11-17 valid payment request 402$0.02 215 ms
2026-11-16 valid payment request 402$0.02 491 ms
2026-11-15 valid payment request 402$0.02 238 ms
2026-11-14 valid payment request 402$0.02 219 ms
2026-11-13 valid payment request 402$0.02 215 ms
2026-11-12 valid payment request 402$0.02 211 ms
2026-11-11 valid payment request 402$0.02 238 ms
2026-11-10 valid payment request 402$0.02 266 ms
2026-11-09 valid payment request 402$0.02 235 ms
2026-11-08 valid payment request 402$0.02 229 ms
2026-11-07 valid payment request 402$0.02 247 ms
2026-11-06 valid payment request 402$0.02 275 ms
2026-11-05 valid payment request 402$0.02 240 ms
2026-11-04 valid payment request 402$0.02 226 ms
2026-11-03 valid payment request 402$0.02 320 ms
2026-11-02 valid payment request 402$0.02 362 ms

Example input (from the provider)

{
  "body": {
    "interval": "1D",
    "limit": 100,
    "ticker": "AAPL"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "additionalProperties": false,
          "properties": {
            "endTime": {
              "description": "Exclusive UTC Unix timestamp in seconds; defaults to now",
              "exclusiveMinimum": 0,
              "maximum": 9999999999,
              "type": "integer"
            },
            "interval": {
              "enum": [
                "1",
                "5",
                "15",
                "30",
                "60",
                "240",
                "1D",
                "1W",
                "4W",
                "1m",
                "5m",
                "15m",
                "30m",
                "1h",
                "4h"
              ],
              "type": "string"
            },
            "limit": {
              "default": 100,
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            },
            "startTime": {
              "description": "Inclusive UTC Unix timestamp in seconds",
              "maximum": 9999999999,
              "minimum": 0,
              "type": "integer"
            },
            "ticker": {
              "description": "AAPL, C:EURUSD, X:BTCUSD, or a two-ticker ratio/difference",
              "pattern": "^[A-Za-z0-9._:]{1,64}(?:\\s*[/-]\\s*[A-Za-z0-9._:]{1,64})?$",
              "type": "string"
            }
          },
          "required": [
            "ticker",
            "interval"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON