Read indexed candles
curl --request GET \
--url https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles \
--header 'API-KEY: <api-key>'import requests
url = "https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles', 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://build.vibechain.com/api/vibemarket2/runtime/{version}/candles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>"
],
]);
$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://build.vibechain.com/api/vibemarket2/runtime/{version}/candles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{}
],
"next": "<string>",
"head": {
"scope": "<string>",
"nextBlock": 123,
"blockHash": "<string>",
"revision": 123,
"updatedAt": 123,
"failure": "<string>",
"observedHead": 123,
"observedAt": 123,
"webhookAudit": {}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Indexed market
Read indexed candles
Raw candles index. dropId is required. Returns resource payloads in items, not database row wrappers. Chain quantities are decimal strings. Owner-scoped responses use private caching; cursors are resource/filter-specific.
GET
/
runtime
/
{version}
/
candles
Read indexed candles
curl --request GET \
--url https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles \
--header 'API-KEY: <api-key>'import requests
url = "https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles', 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://build.vibechain.com/api/vibemarket2/runtime/{version}/candles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>"
],
]);
$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://build.vibechain.com/api/vibemarket2/runtime/{version}/candles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/api/vibemarket2/runtime/{version}/candles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{}
],
"next": "<string>",
"head": {
"scope": "<string>",
"nextBlock": 123,
"blockHash": "<string>",
"revision": 123,
"updatedAt": 123,
"failure": "<string>",
"observedHead": 123,
"observedAt": 123,
"webhookAudit": {}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Registered Vibechain application key. Required in addition to wallet/session credentials. Obtain your own key via POST https://build.vibechain.com/apikey/create; see Authentication and consent. Missing/invalid keys: 401; exhausted quota: 429; lookup outage: 503.
Path Parameters
Runtime id from /runtime/versions or catalog/sources; never infer the newest revision from its name.
Query Parameters
Drop ID in this runtime.
Pattern:
^[1-9][0-9]{0,77}$Wallet in this runtime.
Pattern:
^0x[0-9a-fA-F]{40}$Required range:
1 <= x <= 100Opaque continuation cursor from this same resource and filter.
Maximum string length:
500