curl --request GET \
--url https://data-api.compute-index.com/v1/txn-aggregate \
--header 'Authorization: Bearer <token>'import requests
url = "https://data-api.compute-index.com/v1/txn-aggregate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data-api.compute-index.com/v1/txn-aggregate', 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://data-api.compute-index.com/v1/txn-aggregate",
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://data-api.compute-index.com/v1/txn-aggregate"
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://data-api.compute-index.com/v1/txn-aggregate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-api.compute-index.com/v1/txn-aggregate")
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{
"data": [
{
"blend_axis": null,
"blend_region_group": null,
"blend_tenor_days": null,
"contract_type": "ondemand",
"discount_percentage": -17.7,
"gpu_canonical_name": "nvidia-geforce-rtx-40-4090",
"gpu_model": "4090",
"is_rolling": false,
"price": 0.45,
"region_group": "us",
"tenor_days": null,
"total_gpu_count": 16,
"total_gpu_hours": 1344,
"transaction_date": "2026-07-20"
},
{
"blend_axis": null,
"blend_region_group": null,
"blend_tenor_days": null,
"contract_type": "ondemand",
"discount_percentage": -13.8,
"gpu_canonical_name": "nvidia-geforce-rtx-50-5090",
"gpu_model": "5090",
"is_rolling": false,
"price": 0.55,
"region_group": "us",
"tenor_days": null,
"total_gpu_count": 16,
"total_gpu_hours": 2688,
"transaction_date": "2026-07-20"
}
],
"filters": {
"commitment_days_max": null,
"commitment_days_min": null,
"contract_type": null,
"discount_percentage_max": null,
"discount_percentage_min": null,
"end_date": null,
"gpu_canonical_name": null,
"gpu_count_max": null,
"gpu_count_min": null,
"gpu_model": null,
"price_difference_max": null,
"price_difference_min": null,
"region_group": null,
"sort_by": "transaction_date",
"sort_order": "desc",
"start_date": null
},
"pagination": {
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 2,
"total_count": 973,
"total_pages": 487
}
}Transaction Aggregates: Blends
Returns privacy-safe blends of settled GPU transactions, paginated. Each row is a volume-weighted blend of settled transactions from the same (GPU model, region group, contract type, reserved tenor) bucket, adjacent by date. Only the volume-weighted price is published (no median/min/max), and rows are NOT additive: neighbouring rows can share underlying transactions, so never SUM total_gpu_count / total_gpu_hours across rows.
curl --request GET \
--url https://data-api.compute-index.com/v1/txn-aggregate \
--header 'Authorization: Bearer <token>'import requests
url = "https://data-api.compute-index.com/v1/txn-aggregate"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://data-api.compute-index.com/v1/txn-aggregate', 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://data-api.compute-index.com/v1/txn-aggregate",
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://data-api.compute-index.com/v1/txn-aggregate"
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://data-api.compute-index.com/v1/txn-aggregate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-api.compute-index.com/v1/txn-aggregate")
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{
"data": [
{
"blend_axis": null,
"blend_region_group": null,
"blend_tenor_days": null,
"contract_type": "ondemand",
"discount_percentage": -17.7,
"gpu_canonical_name": "nvidia-geforce-rtx-40-4090",
"gpu_model": "4090",
"is_rolling": false,
"price": 0.45,
"region_group": "us",
"tenor_days": null,
"total_gpu_count": 16,
"total_gpu_hours": 1344,
"transaction_date": "2026-07-20"
},
{
"blend_axis": null,
"blend_region_group": null,
"blend_tenor_days": null,
"contract_type": "ondemand",
"discount_percentage": -13.8,
"gpu_canonical_name": "nvidia-geforce-rtx-50-5090",
"gpu_model": "5090",
"is_rolling": false,
"price": 0.55,
"region_group": "us",
"tenor_days": null,
"total_gpu_count": 16,
"total_gpu_hours": 2688,
"transaction_date": "2026-07-20"
}
],
"filters": {
"commitment_days_max": null,
"commitment_days_min": null,
"contract_type": null,
"discount_percentage_max": null,
"discount_percentage_min": null,
"end_date": null,
"gpu_canonical_name": null,
"gpu_count_max": null,
"gpu_count_min": null,
"gpu_model": null,
"price_difference_max": null,
"price_difference_min": null,
"region_group": null,
"sort_by": "transaction_date",
"sort_order": "desc",
"start_date": null
},
"pagination": {
"has_next": true,
"has_previous": false,
"page": 1,
"page_size": 2,
"total_count": 973,
"total_pages": 487
}
}total_gpu_count / total_gpu_hours across rows.Example
# First page of H100 reserved blends, US
curl -H "Authorization: Bearer $TOKEN" \
"https://data-api.compute-index.com/v1/txn-aggregate?gpu_model=H100&contract_type=reserved®ion_group=US&page=1&page_size=50"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page number (starts at 1)
x >= 1Items per page (max 1000)
1 <= x <= 1000Filter by GPU model (comma-separated). Example: H100,H200
Filter by GPU canonical name (comma-separated). Example: nvidia-h100-sxm5-80gb
Filter by region group (comma-separated). Options: us, eu, apac, other
Filter by contract type (comma-separated). Options: ondemand, spot, reserved
Include transactions on/after this date (YYYY-MM-DD)
Include transactions on/before this date (YYYY-MM-DD)
Filter txn rows by GPU quantity (pre-aggregation)
Filter txn rows by GPU quantity (pre-aggregation)
Filter txn rows by commitment days (pre-aggregation)
Filter txn rows by commitment days (pre-aggregation)
Filter aggregate rows by volume-weighted discount percentage (post-aggregation)
Filter aggregate rows by volume-weighted discount percentage (post-aggregation)
Filter aggregate rows by reference_price - price (post-aggregation)
Filter aggregate rows by reference_price - price (post-aggregation)
Sort field: transaction_date, price, gpu_count, tenor, gpu_model, contract_type, region
Sort order (asc or desc)