Read indexed trades
curl --request GET \
--url https://build.vibechain.com/api/vibemarket2/runtime/{version}/tradesimport requests
url = "https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades', 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}/trades",
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://build.vibechain.com/api/vibemarket2/runtime/{version}/trades"
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://build.vibechain.com/api/vibemarket2/runtime/{version}/trades")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades")
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{
"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>"
}Indexed market
Read indexed trades
Raw trades 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}
/
trades
Read indexed trades
curl --request GET \
--url https://build.vibechain.com/api/vibemarket2/runtime/{version}/tradesimport requests
url = "https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades', 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}/trades",
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://build.vibechain.com/api/vibemarket2/runtime/{version}/trades"
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://build.vibechain.com/api/vibemarket2/runtime/{version}/trades")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/api/vibemarket2/runtime/{version}/trades")
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{
"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>"
}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