Fee Mechanics
When integrating Socket, you can specify two key parameters to collect fees:feeTakerAddress: The address that will receive the collected feesfeeBps: The percentage of the transfer amount to charge as a fee (in basis points — 1 basis point = 0.01%)
Rules
feeBpsandfeeTakerAddressmust be provided together.feeBpsmust be greater than0and at most10000(100%).- For direct DEX routes, fees can be taken from input or output depending on the OpenRouter fee resolution.
- For direct bridge no-swap routes, fees are forced to the input side.
Implementation
Add fee parameters when requesting a quote from/v3/swap/quote:
Where to Claim Fees
For the Socket Swap V3 API (OpenRouter routes), fees are delivered according to the OpenRouter fee resolution — either from the input side or output side depending on the route type. For legacy Bungee Auto routes, fees are sent to theFeeCollector contract where anyone can trigger the claim for a specified token address and feeTakerAddress pair. See the Contract Addresses page for per-chain FeeCollector addresses. The FeeCollector exposes a claim(address token, address feeTaker) method to withdraw accrued fees.
Next Steps
API Integration Guide
Integrate Socket with fee charging
Fees & Monetization
Learn more about fee charging and monetization
Get API Access
Request API access
Contract Addresses
Find FeeCollector contract addresses