TypeScript SDK
Full-typed client for the Zirodelta API with IntelliSense support and comprehensive error handling.
Agent-native infrastructure for autonomous funding rate farming
Funding rates are periodic payments between long and short traders on perpetual futures exchanges. When rates diverge between exchanges, you can profit by:
Bybit BTC/USDT: +0.01% funding (longs pay shorts)
KuCoin BTC/USDT: -0.02% funding (shorts pay longs)
Spread: 0.03% per 8h = 0.09% daily = ~33% APYBy going long on KuCoin and short on Bybit, you receive funding on both sides while your directional exposure cancels out.
npm install zirodelta-agent-toolkitimport { ZirodeltaClient } from 'zirodelta-agent-toolkit';
const client = new ZirodeltaClient({ token: process.env.ZIRODELTA_TOKEN });
// Find opportunities
const { opportunities } = await client.getOpportunities({
exchangepair: 'kucoin-bybit',
limit: 5,
sortby: 'spread'
});
// Execute the best one
await client.executeOpportunity({
opportunity_id: opportunities[0].id,
amount: 100
});