Get Snapshot At
curl --request GET \
--url https://api.polyquantlab.com/v1/snapshot-at/{ts} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.polyquantlab.com/v1/snapshot-at/{ts}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.polyquantlab.com/v1/snapshot-at/{ts}', 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.polyquantlab.com/v1/snapshot-at/{ts}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.polyquantlab.com/v1/snapshot-at/{ts}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.polyquantlab.com/v1/snapshot-at/{ts}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.polyquantlab.com/v1/snapshot-at/{ts}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"market_id": "0x4a8f31...c2",
"time": "2026-06-06T03:58:12+00:00",
"mid_yes": 0.815,
"spread_yes": 0.01,
"underlying_price": 109842.5,
"orderbook_up": {
"bids": [
[
0.81,
1200
]
],
"asks": [
[
0.82,
950
]
]
},
"orderbook_down": {
"bids": [
[
0.18,
1100
]
],
"asks": [
[
0.19,
1300
]
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Snapshots & candles
Get Snapshot At
Point-in-time orderbook lookup — returns the snapshot whose ts is the greatest value ≤ requested ts. Equivalent to the /v1/snapshot-at/ endpoint listed on the PolyBackTest landing page.
GET
/
v1
/
snapshot-at
/
{ts}
Get Snapshot At
curl --request GET \
--url https://api.polyquantlab.com/v1/snapshot-at/{ts} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.polyquantlab.com/v1/snapshot-at/{ts}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.polyquantlab.com/v1/snapshot-at/{ts}', 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.polyquantlab.com/v1/snapshot-at/{ts}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.polyquantlab.com/v1/snapshot-at/{ts}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.polyquantlab.com/v1/snapshot-at/{ts}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.polyquantlab.com/v1/snapshot-at/{ts}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"market_id": "0x4a8f31...c2",
"time": "2026-06-06T03:58:12+00:00",
"mid_yes": 0.815,
"spread_yes": 0.01,
"underlying_price": 109842.5,
"orderbook_up": {
"bids": [
[
0.81,
1200
]
],
"asks": [
[
0.82,
950
]
]
},
"orderbook_down": {
"bids": [
[
0.18,
1100
]
],
"asks": [
[
0.19,
1300
]
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Response
Successful Response
Polymarket market identifier (hex 0x…).
Current spot price of the underlying coin at this snapshot.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I