Get Builder Code Statistics
Changed onReturns trading volume and builder fees attributed to the builder code owned by the authenticated account. Time bounds are inclusive. Omit endTime for live statistics; live results use a five-minute start-time bucket and are cached for one hour. Historical requests include endTime and are cached for 24 hours. An explicit endTime must be at least one minute in the past.
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/builder_code/stats
- Auth
- HTTP bearer
- or API key in header ONDO-KEY-ID
Query parameters
Required inclusive start time in Unix milliseconds. For live requests, the server rounds this value down to a five-minute boundary and returns the effective value in the response.
Optional inclusive end time in Unix milliseconds. Omit this parameter for live statistics. When provided, it must be at least one minute in the past and must not be before startTime.
Response
Builder-code volume and fee statistics for the effective inclusive time window
Example response
{
"success": true,
"result": {
"startTime": 1789725600000,
"endTime": 1789729200000,
"totalVolume": "12500.123456789",
"totalBuilderFee": "12.500123456789",
"accounts": [
{
"accountId": "2564891920043613872",
"walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18",
"totalVolume": "10000.123456789",
"builderFee": "10.000123456789"
}
]
}
}Changes
- info
endpoint added
- info