Skip to main content
GET
/
api
/
markets
/
{symbol}
/
ohlc
OHLC candles
curl --request GET \
  --url https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc
import requests

url = "https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://core-api.adipredictstreet.com/api/markets/{symbol}/ohlc")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "symbol": "<string>",
  "outcome": "<string>",
  "interval": "<string>",
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z",
  "candles": [
    {
      "bucketStart": "2023-11-07T05:31:56Z",
      "open": "<string>",
      "high": "<string>",
      "low": "<string>",
      "close": "<string>",
      "volume": "<string>",
      "tradeCount": 123
    }
  ]
}
{
  "error": {
    "code": "bad_request",
    "message": "<string>",
    "details": {},
    "trace_id": "<string>"
  },
  "status": 400
}

Path Parameters

symbol
string
required

Market symbol, e.g. UAE-CUP-FINAL-20260425. Used by sub-resource endpoints (/orderbook, /trades, /ohlc, /traders). The root market-detail endpoint /api/markets/{slug} accepts the slug instead — see MarketSlug.

Query Parameters

interval
enum<string>
required
Available options:
s5,
s30,
m1,
m5,
m15,
h1,
h4,
d1
outcome
string
default:YES
from
string<date-time>
to
string<date-time>

Response

OK

symbol
string
outcome
string
interval
string
from
string<date-time>
to
string<date-time>
candles
object[]