Market window timestamps for a day
curl --request GET \
--url https://api.vatic.trading/api/v1/markets/timestampsimport requests
url = "https://api.vatic.trading/api/v1/markets/timestamps"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vatic.trading/api/v1/markets/timestamps', 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://api.vatic.trading/api/v1/markets/timestamps",
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://api.vatic.trading/api/v1/markets/timestamps"
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://api.vatic.trading/api/v1/markets/timestamps")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vatic.trading/api/v1/markets/timestamps")
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{
"now": "2025-04-07T12:00:00.000Z",
"asset": "btc",
"utc_date": "2025-04-07",
"day_start_unix": 1744012800,
"day_end_unix": 1744099200,
"intervals": [
"5min"
],
"data": {
"5min": {
"count": 288,
"chronological_order": [
{
"index": 1,
"timestamp_start": 1744012800,
"timestamp_end": 1744013100,
"start_iso": "2025-04-07T00:00:00.000Z",
"end_iso": "2025-04-07T00:05:00.000Z",
"slug": "btc-updown-5m-1744012800",
"url": "https://polymarket.com/event/btc-updown-5m-1744012800"
}
]
}
}
}Markets
Market Timestamps
Returns all market window timestamps for a given UTC day and asset. Includes the market slug and Polymarket URL for each window.
GET
/
api
/
v1
/
markets
/
timestamps
Market window timestamps for a day
curl --request GET \
--url https://api.vatic.trading/api/v1/markets/timestampsimport requests
url = "https://api.vatic.trading/api/v1/markets/timestamps"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vatic.trading/api/v1/markets/timestamps', 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://api.vatic.trading/api/v1/markets/timestamps",
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://api.vatic.trading/api/v1/markets/timestamps"
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://api.vatic.trading/api/v1/markets/timestamps")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vatic.trading/api/v1/markets/timestamps")
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{
"now": "2025-04-07T12:00:00.000Z",
"asset": "btc",
"utc_date": "2025-04-07",
"day_start_unix": 1744012800,
"day_end_unix": 1744099200,
"intervals": [
"5min"
],
"data": {
"5min": {
"count": 288,
"chronological_order": [
{
"index": 1,
"timestamp_start": 1744012800,
"timestamp_end": 1744013100,
"start_iso": "2025-04-07T00:00:00.000Z",
"end_iso": "2025-04-07T00:05:00.000Z",
"slug": "btc-updown-5m-1744012800",
"url": "https://polymarket.com/event/btc-updown-5m-1744012800"
}
]
}
}
}Query Parameters
Available options:
btc, eth, sol, xrp, hype, doge, bnb Comma-separated interval types. Defaults to all. Also accepts singular interval.
Example:
"5min,15min,1hour,4hour,daily"
UTC date in YYYY-MM-DD format. Defaults to today.
Example:
"2025-04-07"
Response
Window timestamps grouped by interval
Was this page helpful?
⌘I