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.

Response

200 - application/json

Total swap fees.

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