Developer Fees

Get all Developer Fee Configs

Changed on

Beta: available by request only. Contact Bridge to enable this feature for your developer account.

List Developer Fee Configs for the current developer.

get/fees/configurations

Request

  • Base URL
    https://api.bridge.xyz/v0
  • URL
    https://api.bridge.xyz/v0/fees/configurations
  • Auth
    API key in header Api-Key

Query parameters

limitinteger

The number of items to return (min 1, default 10, max 100)

starting_afterstring

This is a developer fee config id. If this is specified, the next page that starts with a developer fee config right AFTER the specified developer fee config id on the developer fee config timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that developer fee configs older than the specified developer fee config id will be returned (shouldn't be set if ending_before is set)

ending_beforestring

This is a developer fee config id. If this is specified, the previous page that ends with a developer fee config right BEFORE the specified developer fee config id on the developer fee config timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that developer fee configs newer than the specified developer fee config id will be returned (shouldn't be set if starting_after is set)

Response

List of Developer Fee Configs (the returned list is empty if none found)

countinteger required

total number of items in data

Example response

{
  "data": [
    {
      "default_fee_percentage": "0.1",
      "source_asset_fee": {
        "usdc": "0.05",
        "usdt": "0.2"
      }
    }
  ]
}

Changes