Skip to main content
GET
/
volume
Get swap volume.
curl --request GET \
  --url https://{environment}.garden.finance/v2/volume \
  --header 'garden-app-id: <api-key>'
{
  "status": "Ok",
  "error": "<string>",
  "result": "<string>"
}
Retrieve total volume processed by Garden in USD.

Authorizations

garden-app-id
string
header
required

If you do not yet have an app ID, please follow these steps.

Query Parameters

source_chain

(Optional) Chain identifier to filter statistics by specific source blockchain. Mainnet

Available options:
arbitrum,
ethereum,
bitcoin,
base,
bnbchain,
botanix,
citrea,
hyperevm,
litecoin,
monad,
solana,
starknet,
tron
destination_chain

(Optional) Chain identifier to filter stats by specific destination chain. Mainnet

Available options:
arbitrum,
ethereum,
bitcoin,
base,
bnbchain,
botanix,
citrea,
hyperevm,
litecoin,
monad,
solana,
starknet,
tron
address
string

(Optional) Address to filter stats by specific address.

from
integer<int64>

(Optional) Unix timestamp marking the start time.

to
integer<int64>

(Optional) Unix timestamp marking the end time.

Response

200 - application/json

Total swap volume.

status
enum<string>
Available options:
Ok,
Error
error
string | null
result
string