Skip to content

Cross-Exchange Arbitrage

Cross-exchange arbitrage exploits funding rate differentials for the same asset across two exchanges. By going long on the exchange paying you and short on the exchange charging you, you capture the net rate as profit. This endpoint scans 10 exchanges, pairs the best long/short combination per asset, and returns opportunities sorted by APR.


List cross-exchange opportunities

Returns an array of cross-exchange arbitrage opportunities ranked by annualized return. Only assets listed on at least 2 of the selected exchanges are included. Stale rates older than 6 hours are excluded.

Query parameters

  • Name
    exchanges
    Type
    string
    Description

    Comma-separated list of exchanges to include. Supported values: Binance, OKX, Bybit, Bitget, Gate.io, KuCoin, CoinEx, BingX, MEXC, HTX. Omit to include all 10 exchanges.

Request

GET
/v1/arbitrage/cross-exchange
curl -G https://www.sharpe.ai/api/v1/arbitrage/cross-exchange \
  -H "Authorization: Bearer sk_live_your_key_here" \
  -d exchanges=Binance,OKX,Bybit
{
  "data": [
    {
      "symbol": "DOGE",
      "longExchange": "Gate.io",
      "shortExchange": "Binance",
      "longRate": -0.000250,
      "shortRate": 0.000350,
      "netFundingRate": 0.000600,
      "apr": 2.1900,
      "spreadRate": 0,
      "oiLong": 0,
      "oiShort": 0,
      "nextSettlement": "2026-03-28T08:00:00Z",
      "intervalHours": 8
    },
    {
      "symbol": "ETH",
      "longExchange": "Bybit",
      "shortExchange": "OKX",
      "longRate": -0.000050,
      "shortRate": 0.000200,
      "netFundingRate": 0.000250,
      "apr": 0.9125,
      "spreadRate": 0,
      "oiLong": 0,
      "oiShort": 0,
      "nextSettlement": "2026-03-28T08:00:00Z",
      "intervalHours": 8
    }
  ],
  "meta": {
    "request_id": "req_def456ghi789jklm",
    "timestamp": "2026-03-28T07:45:00Z"
  }
}

Response fields

Each object in the data array represents the best long/short exchange pair for a single asset.

  • Name
    symbol
    Type
    string
    Description

    The base asset ticker (e.g., BTC, ETH, DOGE).

  • Name
    longExchange
    Type
    string
    Description

    The exchange where you open the long position (receiving funding or paying the least).

  • Name
    shortExchange
    Type
    string
    Description

    The exchange where you open the short position (receiving the most funding).

  • Name
    longRate
    Type
    number
    Description

    Current funding rate on the long exchange as a decimal.

  • Name
    shortRate
    Type
    number
    Description

    Current funding rate on the short exchange as a decimal.

  • Name
    netFundingRate
    Type
    number
    Description

    The net funding rate you capture per interval (shortRate - longRate).

  • Name
    apr
    Type
    number
    Description

    Annualized return as a decimal (e.g., 0.5 = 50%). Computed from the net rate extrapolated across all intervals in a year.

  • Name
    spreadRate
    Type
    number
    Description

    Reserved for future use. Currently 0.

  • Name
    oiLong
    Type
    number
    Description

    Reserved for future use. Currently 0.

  • Name
    oiShort
    Type
    number
    Description

    Reserved for future use. Currently 0.

  • Name
    nextSettlement
    Type
    string
    Description

    ISO 8601 timestamp of the next funding settlement.

  • Name
    intervalHours
    Type
    number
    Description

    Hours between funding settlements for this pair.

{
  "symbol": "BTC",
  "longExchange": "KuCoin",
  "shortExchange": "Binance",
  "longRate": -0.000030,
  "shortRate": 0.000120,
  "netFundingRate": 0.000150,
  "apr": 0.5475,
  "spreadRate": 0,
  "oiLong": 0,
  "oiShort": 0,
  "nextSettlement": "2026-03-28T16:00:00Z",
  "intervalHours": 8
}

Was this page helpful?