Skip to main content
GET
/
fees
Get swap fees.
curl --request GET \
  --url https://{environment}.garden.finance/v2/fees \
  --header 'garden-app-id: <api-key>'
{
  "status": "Ok",
  "result": "2668122"
}
Retrieve total fees processed by Garden in USD, or affiliate fees if a garden-app-id header is provided.

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 stats by specific source chain. 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 fees.

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