GET
https://api.cryptohopper.com/v1/hopper/{id}/arbitrage/total
Returns the current and start totals per currency of an arbitrage bot, summed over its exchanges.
OAuth scope:
read About scopes
totals and start_totals are JSON-encoded strings mapping currency to amount. data is null when the bot has no totals yet.
Example request
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/total" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/total', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/total",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/total');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'access-token: YOUR_ACCESS_TOKEN',
],
]);
$data = json_decode(curl_exec($ch), true);
Parameters
Headers
| Name | Type | Required | Description |
|---|---|---|---|
access-token |
string | Required | The OAuth access token of the user. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | Required | Hopper ID of an arbitrage bot. |
Response
{
"data": {
"id": "49590001",
"user_id": "123456",
"bot_id": "654321",
"totals": "{\"USDT\":1250.5,\"ETH\":0.52}",
"start_totals": "{\"USDT\":1200,\"ETH\":0.5}",
"updated": "2026-09-25 10:15:00"
}
}