Beauty & Personal Care · x402 · early usage

Funding rate arbitrage: cross-venue perpetual funding carry ranking across Binance, Byb…

Funding rate arbitrage: cross-venue perpetual funding carry ranking across Binance, Bybit, OKX, Hyperliquid and dYdX (chainpeek, Tanod). Use when an agent needs the best cross-venue perp funding arbitrage pairs across Binance, Bybit, OKX, Hyperliquid and dYdX.

by tanod.dev · discovered, not yet claimed by its owner · updated 2026-10-12

30d calls2
30d payers2
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Funding rate arbitrage: cross-venue perpetual funding carry ranking across Binance, Bybit, OKX, Hyperliquid and dYdX (chainpeek, Tanod). Use when an agent needs the best cross-venue perp funding arbitrage pairs across Binance, Bybit, OKX, Hyperliquid and dYdX.

Tags: chainpeek · defi · funding · carry · ens · bazaar · builder-code

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-12
Input example from Bazaar metadata
{
  "symbols": [
    "BTC",
    "ETH",
    "SOL"
  ],
  "taker_fee_bps": 5
}
Output example
{
  "annualization": "rate / interval_h x 8760 x 100, simple (not compounded)",
  "cache": "fetched",
  "count": 1,
  "fee_cost_annualized_pct": 10.429,
  "holding_days": 7,
  "markets": [
    {
      "annualized_pct_by_venue": {
        "bybit": -4.583,
        "okx": 1.445
      },
      "long": {
        "funding_annualized_pct": -4.583,
        "funding_hourly": -0.0000052313,
        "funding_rate": -0.00004185,
        "index_price": 82803.47,
        "interval_h": 8,
        "mark_price": 82760.8,
        "open_interest_usd": 4667526797.96,
        "venue": "bybit",
        "volume_24h_usd": 2832332361.74
      },
      "long_venue": "bybit",
      "net_annualized_pct": -4.401,
      "short": {
        "funding_annualized_pct": 1.445,
        "funding_hourly": 0.0000016501,
        "funding_rate": 0.0000132006,
        "index_price": 82808.4,
        "interval_h": 8,
        "mark_price": 82763.1,
        "open_interest_usd": 2496421859.48,
        "venue": "okx",
        "volume_24h_usd": 3857128901.15
      },
      "short_venue": "okx",
      "spread_annualized_pct": 6.028,
      "symbol": "BTC",
      "venues_compared": 2
    }
  ],
  "markets_ranked": 1,
  "net_formula": "net = spread - 4 x taker_fee_bps / 100 x 365 / holding_days",
  "note": "Data only, not trading advice. Funding rates change and may differ from the rate finally settled.",
  "pair": "long the venue with the lowest hourly funding, short the venue with the highest; shorts receive positive funding",
  "rate_basis": {
    "bybit": "current-period rate",
    "okx": "current-period rate"
  },
  "sorted_by": "spread_annualized_pct desc",
  "source": {
    "bybit": {
      "docs": "https://bybit-exchange.github.io/docs/v5/market/tickers",
      "name": "Bybit v5 linear",
      "url": "https://api.bybit.com/v5/market/tickers?category=linear"
    },
    "okx": {
      "docs": "https://www.okx.com/docs-v5/en/#public-data-rest-api-get-funding-rate",
      "name": "OKX v5 swaps",
      "url": "https://www.okx.com/api/v5/public/funding-rate?instId=ANY"
    }
  },
  "taker_fee_bps": 5,
  "venues_failed": [],
  "venues_used": [
    "bybit",
    "okx"
  ]
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/35822.json for the price and payment options.
  3. Pay. Call GET https://tanod.dev/v1/defi/funding-carry. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Solana
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x593857A4a4F619543ea12394137C3004ce841720300s
exactPolygon
eip155:137
USDC$0.0050x593857A4a4F619543ea12394137C3004ce841720300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.005RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "annualization": {
          "type": "string"
        },
        "cache": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "fee_cost_annualized_pct": {
          "type": [
            "number",
            "null"
          ]
        },
        "holding_days": {
          "type": [
            "number",
            "null"
          ]
        },
        "intervals_note": {
          "type": "string"
        },
        "intervals_unknown": {
          "additionalProperties": {
            "type": "integer"
          },
          "type": "object"
        },
        "markets": {
          "items": {
            "properties": {
              "annualized_pct_by_venue": {
                "additionalProperties": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "type": "object"
              },
              "long": {
                "properties": {
                  "funding_annualized_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "funding_hourly": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "funding_rate": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "index_price": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "interval_h": {
                    "type": "integer"
                  },
                  "mark_price": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "open_interest_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "venue": {
                    "type": "string"
                  },
                  "volume_24h_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "long_venue": {
                "type": "string"
              },
              "net_annualized_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "short": {
                "properties": {
                  "funding_annualized_pct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "funding_hourly": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "funding_rate": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "index_price": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "interval_h": {
                    "type": "integer"
                  },
                  "mark_price": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "open_interest_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "venue": {
                    "type": "string"
                  },
                  "volume_24h_usd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "short_venue": {
                "type": "string"
              },
              "spread_annualized_pct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "symbol": {
                "type": "string"
              },
              "venues_compared": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "markets_ranked": {
          "type": "integer"
        },
        "net_formula": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "pair": {
          "type": "string"
        },
        "rate_basis": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "sorted_by": {
          "type": "string"
        },
        "source": {
          "additionalProperties": {
            "properties": {
              "docs": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "object"
        },
        "symbols_not_found": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "taker_fee_bps": {
          "type": [
            "number",
            "null"
          ]
        },
        "venues_failed": {
          "items": {
            "properties": {
              "reason": {
                "type": "string"
              },
              "venue": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "venues_used": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "source",
        "note",
        "markets",
        "count",
        "venues_failed"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "annualization": "string",
    "cache": "string",
    "count": 0,
    "fee_cost_annualized_pct": 0,
    "holding_days": 0,
    "intervals_note": "string",
    "intervals_unknown": {},
    "markets": [
      {
        "annualized_pct_by_venue": {},
        "long": {
          "funding_annualized_pct": 0,
          "funding_hourly": 0,
          "funding_rate": 0,
          "index_price": 0,
          "interval_h": 0,
          "mark_price": 0,
          "open_interest_usd": 0,
          "venue": "string",
          "volume_24h_usd": 0
        },
        "long_venue": "string",
        "net_annualized_pct": 0,
        "short": {
          "funding_annualized_pct": 0,
          "funding_hourly": 0,
          "funding_rate": 0,
          "index_price": 0,
          "interval_h": 0,
          "mark_price": 0,
          "open_interest_usd": 0,
          "venue": "string",
          "volume_24h_usd": 0
        },
        "short_venue": "string",
        "spread_annualized_pct": 0,
        "symbol": "string",
        "venues_compared": 0
      }
    ],
    "markets_ranked": 0,
    "net_formula": "string",
    "note": "string",
    "pair": "string",
    "rate_basis": {},
    "sorted_by": "string",
    "source": {},
    "symbols_not_found": [
      "string"
    ],
    "taker_fee_bps": 0,
    "venues_failed": [
      {
        "reason": "string",
        "venue": "string"
      }
    ],
    "venues_used": [
      "string"
    ]
  },
  "type": "string"
}

Examples

curl
curl "https://tanod.dev/v1/defi/funding-carry"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://tanod.dev/v1/defi/funding-carry");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://tanod.dev/v1/defi/funding-carry")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
tanod.dev
Endpoint
https://tanod.dev/v1/defi/funding-carry
Machine-readable
/resources/35822.json