Get matched volume
curl --request GET \
--url https://api.4casters.io/exchange/getMatchedVolume \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.4casters.io/exchange/getMatchedVolume"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.4casters.io/exchange/getMatchedVolume', 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.4casters.io/exchange/getMatchedVolume",
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.4casters.io/exchange/getMatchedVolume"
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.4casters.io/exchange/getMatchedVolume")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.4casters.io/exchange/getMatchedVolume")
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": {
"startDate": "2026-08-10",
"endDate": "2026-08-11",
"matchedVolume": 6447933.01
}
}{
"error": "<string>"
}Markets
Get matched volume
Total sitewide matched volume over a date range
GET
/
exchange
/
getMatchedVolume
Get matched volume
curl --request GET \
--url https://api.4casters.io/exchange/getMatchedVolume \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.4casters.io/exchange/getMatchedVolume"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.4casters.io/exchange/getMatchedVolume', 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.4casters.io/exchange/getMatchedVolume",
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.4casters.io/exchange/getMatchedVolume"
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.4casters.io/exchange/getMatchedVolume")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.4casters.io/exchange/getMatchedVolume")
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": {
"startDate": "2026-08-10",
"endDate": "2026-08-11",
"matchedVolume": 6447933.01
}
}{
"error": "<string>"
}Returns the total sitewide matched volume for an inclusive range of US-Eastern (ET) calendar days.
How volume is calculated
Every matched bet contributes the stakes of both sides of the match:- the taker’s stake (the amount matched), plus
- the maker’s stake, derived from the taker odds — at positive taker odds it’s
stake × odds / 100, at negative taker odds it’sstake × −100 / odds.
risk + win — your stake plus your potential profit, because your potential profit is exactly the counterparty’s stake. A 100takeat+150countsas250 of volume (100takerside+150 maker side).
Volume uses the raw pre-commission stakes. The
risk / win fields on Get matched bets have commission baked in, so summing those will differ slightly from this endpoint.Freshness
Finished ET days are read from a finalized daily archive. If the range ends today (anendDate past today is clamped to today), a live aggregate of today’s matches is added on top, so the current day’s portion updates in real time as bets match.
Request
GET /exchange/getMatchedVolume
string
required
First ET calendar day of the range,
YYYY-MM-DD (inclusive).string
required
Last ET calendar day of the range,
YYYY-MM-DD (inclusive). Must not be before startDate. Dates after today are clamped to today.curl "https://api.4casters.io/exchange/getMatchedVolume?startDate=2026-08-10&endDate=2026-08-11" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
object
Example response
{
"data": {
"startDate": "2026-08-10",
"endDate": "2026-08-11",
"matchedVolume": 6447933.012757301
}
}
Rate limits
There is no endpoint-specific limit — only the global per-IP limit (3,000 requests per rolling minute) applies. For dashboards, polling once every few seconds is more than fine; note that finalized days never change, so only ranges that include today benefit from re-polling at all.Errors
| Status | Meaning |
|---|---|
400 | Missing or malformed startDate / endDate (must be YYYY-MM-DD), or startDate after endDate. |
401 | Missing or invalid auth token. |
429 | Global per-IP rate limit exceeded. Honor the Retry-After header. |
503 | Server-side 15-second timeout was hit. Safe to retry. |
Authorizations
Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.
Query Parameters
First ET calendar day of the range (YYYY-MM-DD, inclusive).
Example:
"2026-08-01"
Last ET calendar day of the range (YYYY-MM-DD, inclusive). Dates after today are clamped to today. Must not be before startDate.
Example:
"2026-08-11"
Response
Total matched volume for the range
Show child attributes
Show child attributes
Was this page helpful?