AfterFees is an MCP server published by io.github.linyejia, hosted at afterfees.xyz. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 28 tools, including best_opportunities, coin_overview, pair_breakdown, funding_rates, borrow_rates.
Crypto funding-rate arbitrage across 50 exchanges, net of fees and order-book slippage. Read-only.
1 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Ranked funding-rate arbitrage pairs (long one market, short another) with the net result after taker fees and order-book slippage at your size, max size, breakeven, settled 7-day replay, tier (actionable / watch) and reasons.
| Parameter | Type | Description |
|---|---|---|
| base | string | Only this coin (optional) |
| mode | string | perp = perp vs perp, spot = buy spot + short perp, rev = borrow-and-sell spot + long perp |
| limit | integer | |
| notional | number | Position size per side in USD (default 10000) |
| holding_hours | number | Holding period in hours (default 168 = 7 days) |
| actionable_only | boolean | Only pairs that pass every check right now (live books, positive net, capacity) |
{
"name": "best_opportunities",
"title": "Best funding-rate arbitrage opportunities",
"description": "Ranked funding-rate arbitrage pairs (long one market, short another) with the net result after taker fees and order-book slippage at your size, max size, breakeven, settled 7-day replay, tier (actionable / watch) and reasons.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Only this coin (optional)"
},
"mode": {
"enum": [
"all",
"perp",
"spot",
"rev"
],
"type": "string",
"default": "all",
"description": "perp = perp vs perp, spot = buy spot + short perp, rev = borrow-and-sell spot + long perp"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"holding_hours": {
"type": "number",
"default": 168,
"maximum": 2160,
"minimum": 1,
"description": "Holding period in hours (default 168 = 7 days)"
},
"actionable_only": {
"type": "boolean",
"default": true,
"description": "Only pairs that pass every check right now (live books, positive net, capacity)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Best funding-rate arbitrage opportunities",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Funding rate of one coin on every exchange (rate, interval, APR, predicted, OI, volume, settled 7-day sum) plus its best pairs, net after fees and slippage at your size.
| Parameter | Type | Description |
|---|---|---|
| base * | string | Coin or ticker, e.g. BTC, ETH, SOL |
| notional | number | Position size per side in USD (default 10000) |
{
"name": "coin_overview",
"title": "One coin across exchanges",
"description": "Funding rate of one coin on every exchange (rate, interval, APR, predicted, OI, volume, settled 7-day sum) plus its best pairs, net after fees and slippage at your size.",
"inputSchema": {
"type": "object",
"required": [
"base"
],
"properties": {
"base": {
"type": "string",
"description": "Coin or ticker, e.g. BTC, ETH, SOL"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "One coin across exchanges",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Full calculation of one pair: funding per leg and settlement count, taker fees, order-book VWAP and slippage per trade, carry, net, net if rates halve, breakeven, capacity, settled 7/30-day replay. pair_key comes from best_opportunities or coin_overview. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.
| Parameter | Type | Description |
|---|---|---|
| notional | number | Position size per side in USD (default 10000) |
| pair_key * | string | pair_key from another tool |
| holding_hours | number | Holding period in hours (default 168 = 7 days) |
{
"name": "pair_breakdown",
"title": "Every number of one pair",
"description": "Full calculation of one pair: funding per leg and settlement count, taker fees, order-book VWAP and slippage per trade, carry, net, net if rates halve, breakeven, capacity, settled 7/30-day replay. pair_key comes from best_opportunities or coin_overview. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.",
"inputSchema": {
"type": "object",
"required": [
"pair_key"
],
"properties": {
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"pair_key": {
"type": "string",
"description": "pair_key from another tool"
},
"holding_hours": {
"type": "number",
"default": 168,
"maximum": 2160,
"minimum": 1,
"description": "Holding period in hours (default 168 = 7 days)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Every number of one pair",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Current perpetual funding rates (gross, before costs). With base: that coin on every exchange, highest first. Without: the top N markets by absolute APR (OI filter applies).
| Parameter | Type | Description |
|---|---|---|
| base | string | Coin (optional) |
| limit | integer | |
| min_oi_usd | number | Skip markets with less open interest (top-N mode only) |
{
"name": "funding_rates",
"title": "Funding rates",
"description": "Current perpetual funding rates (gross, before costs). With base: that coin on every exchange, highest first. Without: the top N markets by absolute APR (OI filter applies).",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Coin (optional)"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"min_oi_usd": {
"type": "number",
"default": 100000,
"minimum": 0,
"description": "Skip markets with less open interest (top-N mode only)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Funding rates",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Margin borrow rates per coin and exchange (VIP0, current and 24 h / 7 d averages, limits, inventory) with the most negative perp funding: the two halves of a reverse spot-perp carry.
| Parameter | Type | Description |
|---|---|---|
| base | string | Coin (optional) |
| limit | integer |
{
"name": "borrow_rates",
"title": "Margin borrow rates",
"description": "Margin borrow rates per coin and exchange (VIP0, current and 24 h / 7 d averages, limits, inventory) with the most negative perp funding: the two halves of a reverse spot-perp carry.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Coin (optional)"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Margin borrow rates",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pendle Boros markets: the fixed funding rate you can lock (net of Boros fees and fill at your size) against the term-matched floating benchmark, advantage, win rate, capacity. side=short locks an income, side=long locks a cost.
| Parameter | Type | Description |
|---|---|---|
| base | string | Coin (optional) |
| side | string | one of ["short","long"] |
| limit | integer | |
| notional | number | Position size per side in USD (default 10000) |
{
"name": "fixed_vs_floating",
"title": "Fixed vs floating funding (Pendle Boros)",
"description": "Pendle Boros markets: the fixed funding rate you can lock (net of Boros fees and fill at your size) against the term-matched floating benchmark, advantage, win rate, capacity. side=short locks an income, side=long locks a cost.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Coin (optional)"
},
"side": {
"enum": [
"short",
"long"
],
"type": "string",
"default": "short"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fixed vs floating funding (Pendle Boros)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Taker fee + order-book slippage to buy or sell a given USD size of one coin on every exchange (perps and spot), cheapest first.
| Parameter | Type | Description |
|---|---|---|
| base * | string | Coin or ticker, e.g. BTC, ETH, SOL |
| size_usd | number |
{
"name": "execution_cost",
"title": "Execution cost to enter a position",
"description": "Taker fee + order-book slippage to buy or sell a given USD size of one coin on every exchange (perps and spot), cheapest first.",
"inputSchema": {
"type": "object",
"required": [
"base"
],
"properties": {
"base": {
"type": "string",
"description": "Coin or ticker, e.g. BTC, ETH, SOL"
},
"size_usd": {
"type": "number",
"default": 100000,
"maximum": 50000000,
"minimum": 100
}
},
"additionalProperties": false
},
"annotations": {
"title": "Execution cost to enter a position",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Spot or perp against a dated future held to delivery, on one exchange or across two (perp on one, future on another), and two same-day futures on different exchanges: net to expiry after fees and slippage at your size, net APR, basis APR, max size, tier and reasons.
| Parameter | Type | Description |
|---|---|---|
| base | string | Coin (optional) |
| limit | integer | |
| scope | string | same exchange or cross-exchange rows only (optional) |
| notional | number | Position size per side in USD (default 10000) |
| actionable_only | boolean |
{
"name": "basis_trades",
"title": "Basis trades against delivery futures",
"description": "Spot or perp against a dated future held to delivery, on one exchange or across two (perp on one, future on another), and two same-day futures on different exchanges: net to expiry after fees and slippage at your size, net APR, basis APR, max size, tier and reasons.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Coin (optional)"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"scope": {
"enum": [
"same",
"cross"
],
"type": "string",
"description": "same exchange or cross-exchange rows only (optional)"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"actionable_only": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Basis trades against delivery futures",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Buy a coin on one exchange, withdraw it on a network both exchanges share (same chain and contract, never matched by ticker), sell on another: real-transfer net after taker fees, order-book slippage and the withdrawal fee at your size, pre-funded net, capacity at net >= 0 / 0.3% / 1%, arrival estimate, hedge cost on a perp, status and reasons. view=traps lists spreads that exist only because deposits or withdrawals are closed.
| Parameter | Type | Description |
|---|---|---|
| base | string | Coin (optional) |
| view | string | one of ["routes","traps"] |
| limit | integer | |
| status | string | one of ["executable","near","closed","unverified","all"] |
| notional | number | Size in USD (Pro; free uses 10000) |
| include_hedge | boolean |
{
"name": "transfer_routes",
"title": "Cross-exchange transfer (spot) arbitrage routes",
"description": "Buy a coin on one exchange, withdraw it on a network both exchanges share (same chain and contract, never matched by ticker), sell on another: real-transfer net after taker fees, order-book slippage and the withdrawal fee at your size, pre-funded net, capacity at net >= 0 / 0.3% / 1%, arrival estimate, hedge cost on a perp, status and reasons. view=traps lists spreads that exist only because deposits or withdrawals are closed.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Coin (optional)"
},
"view": {
"enum": [
"routes",
"traps"
],
"type": "string",
"default": "routes"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"status": {
"enum": [
"executable",
"near",
"closed",
"unverified",
"all"
],
"type": "string",
"default": "executable"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 10000000,
"minimum": 100,
"description": "Size in USD (Pro; free uses 10000)"
},
"include_hedge": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cross-exchange transfer (spot) arbitrage routes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Funding actually settled on both legs over 7 / 30 / 90 / 180 / 365 days, applied to today's orientation at your size: net after the four trading costs, max drawdown, negative days, daily sign flips, how far back each exchange's history reaches. Ranges beyond 7 days need Pro.
| Parameter | Type | Description |
|---|---|---|
| range | string | one of ["7d","30d","90d","180d","365d"] |
| notional | number | Position size per side in USD (default 10000) |
| pair_key * | string | pair_key from another tool |
{
"name": "pair_history",
"title": "Settled-rate replay of one pair (7 to 365 days)",
"description": "Funding actually settled on both legs over 7 / 30 / 90 / 180 / 365 days, applied to today's orientation at your size: net after the four trading costs, max drawdown, negative days, daily sign flips, how far back each exchange's history reaches. Ranges beyond 7 days need Pro.",
"inputSchema": {
"type": "object",
"required": [
"pair_key"
],
"properties": {
"range": {
"enum": [
"7d",
"30d",
"90d",
"180d",
"365d"
],
"type": "string",
"default": "30d"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"pair_key": {
"type": "string",
"description": "pair_key from another tool"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Settled-rate replay of one pair (7 to 365 days)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Annualised basis of every delivery future of one coin on every exchange we cover, next to perp funding.
| Parameter | Type | Description |
|---|---|---|
| base * | string | Coin or ticker, e.g. BTC, ETH, SOL |
{
"name": "term_structure",
"title": "Futures term structure of one coin",
"description": "Annualised basis of every delivery future of one coin on every exchange we cover, next to perp funding.",
"inputSchema": {
"type": "object",
"required": [
"base"
],
"properties": {
"base": {
"type": "string",
"description": "Coin or ticker, e.g. BTC, ETH, SOL"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Futures term structure of one coin",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Taker fee plus order-book slippage to enter $10k / $100k / $1M long and short on one exchange's biggest markets, in basis points.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| venue * | string | exchange id, e.g. binance |
{
"name": "venue_execution_cost",
"title": "Execution cost on one exchange",
"description": "Taker fee plus order-book slippage to enter $10k / $100k / $1M long and short on one exchange's biggest markets, in basis points.",
"inputSchema": {
"type": "object",
"required": [
"venue"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 60,
"minimum": 1
},
"venue": {
"type": "string",
"description": "exchange id, e.g. binance"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Execution cost on one exchange",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Whether AfterFees data is live right now, which exchange feeds are down, and availability over 1 / 7 / 30 / 90 days.
No parameters.
{
"name": "service_status",
"title": "Service status",
"description": "Whether AfterFees data is live right now, which exchange feeds are down, and availability over 1 / 7 / 30 / 90 days.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "Service status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The two orders to place by hand for one pair: action, exchange, symbol, quantity in the exchange's own unit (contracts where one contract is not one coin), notional, assumed leverage and a link to each contract's trading page (no referral parameters). AfterFees never trades.
| Parameter | Type | Description |
|---|---|---|
| notional | number | Position size per side in USD (default 10000) |
| pair_key * | string | pair_key from another tool |
{
"name": "order_checklist",
"title": "Order checklist for one pair",
"description": "The two orders to place by hand for one pair: action, exchange, symbol, quantity in the exchange's own unit (contracts where one contract is not one coin), notional, assumed leverage and a link to each contract's trading page (no referral parameters). AfterFees never trades.",
"inputSchema": {
"type": "object",
"required": [
"pair_key"
],
"properties": {
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"pair_key": {
"type": "string",
"description": "pair_key from another tool"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Order checklist for one pair",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Net after fees and slippage of one live pair held 8 h, 1 d, 3 d, 7 d and 30 d, optionally with your own assumed funding rate per leg (percent per funding period, keyed by instrument_id).
| Parameter | Type | Description |
|---|---|---|
| notional | number | Position size per side in USD (default 10000) |
| pair_key * | string | |
| assumed_rates_pct | object | {instrument_id: rate per period in %} (optional) |
{
"name": "holding_scenarios",
"title": "One pair over different holding periods",
"description": "Net after fees and slippage of one live pair held 8 h, 1 d, 3 d, 7 d and 30 d, optionally with your own assumed funding rate per leg (percent per funding period, keyed by instrument_id).",
"inputSchema": {
"type": "object",
"required": [
"pair_key"
],
"properties": {
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"pair_key": {
"type": "string"
},
"assumed_rates_pct": {
"type": "object",
"description": "{instrument_id: rate per period in %} (optional)",
"additionalProperties": {
"type": "number"
}
}
},
"additionalProperties": false
},
"annotations": {
"title": "One pair over different holding periods",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Net, net APR, breakeven and funding-halved case for two legs you describe (no live data): each leg {side: long|short, rate_pct per period, interval_hours, taker_bps, first_in_hours?}.
| Parameter | Type | Description |
|---|---|---|
| legs * | array | |
| leverage | number | |
| notional | number | Position size per side in USD (default 10000) |
| slippage_bps | number | |
| holding_hours | number | Holding period in hours (default 168 = 7 days) |
{
"name": "manual_calculator",
"title": "Funding arbitrage calculator (typed-in legs)",
"description": "Net, net APR, breakeven and funding-halved case for two legs you describe (no live data): each leg {side: long|short, rate_pct per period, interval_hours, taker_bps, first_in_hours?}.",
"inputSchema": {
"type": "object",
"required": [
"legs"
],
"properties": {
"legs": {
"type": "array",
"items": {
"type": "object"
},
"maxItems": 2,
"minItems": 2
},
"leverage": {
"type": "number",
"maximum": 100,
"minimum": 1
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"slippage_bps": {
"type": "number",
"maximum": 500,
"minimum": 0
},
"holding_hours": {
"type": "number",
"default": 168,
"maximum": 2160,
"minimum": 1,
"description": "Holding period in hours (default 168 = 7 days)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Funding arbitrage calculator (typed-in legs)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Locked net (income) or cost APR on Pendle Boros at an implied APR you give, after the taker and settlement fees and the entry cost, its advantage over a floating APR you expect and the break-even floating rate. Percent inputs.
| Parameter | Type | Description |
|---|---|---|
| days * | number | |
| side | string | one of ["income","cost"] |
| notional | number | Position size per side in USD (default 10000) |
| rate_pct * | number | |
| entry_usd | number | |
| taker_pct | number | |
| settle_pct | number | |
| floating_pct | number |
{
"name": "boros_lock_calculator",
"title": "Boros fixed-rate lock calculator",
"description": "Locked net (income) or cost APR on Pendle Boros at an implied APR you give, after the taker and settlement fees and the entry cost, its advantage over a floating APR you expect and the break-even floating rate. Percent inputs.",
"inputSchema": {
"type": "object",
"required": [
"rate_pct",
"days"
],
"properties": {
"days": {
"type": "number",
"maximum": 730,
"minimum": 0.1
},
"side": {
"enum": [
"income",
"cost"
],
"type": "string",
"default": "income"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"rate_pct": {
"type": "number"
},
"entry_usd": {
"type": "number",
"default": 1.5
},
"taker_pct": {
"type": "number",
"default": 0.05
},
"settle_pct": {
"type": "number",
"default": 0.1
},
"floating_pct": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Boros fixed-rate lock calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Buy on exchange A, withdraw, sell on exchange B at prices you give: real-transfer and prefunded net, break-even premium. Fees in percent, withdrawal fee in coins.
| Parameter | Type | Description |
|---|---|---|
| buy * | number | |
| sell * | number | |
| trips | number | |
| amount | number | |
| fee_a_pct | number | |
| fee_b_pct | number | |
| usdt_back | number | |
| withdraw_coin | number |
{
"name": "transfer_calculator",
"title": "Cross-exchange transfer calculator",
"description": "Buy on exchange A, withdraw, sell on exchange B at prices you give: real-transfer and prefunded net, break-even premium. Fees in percent, withdrawal fee in coins.",
"inputSchema": {
"type": "object",
"required": [
"buy",
"sell"
],
"properties": {
"buy": {
"type": "number"
},
"sell": {
"type": "number"
},
"trips": {
"type": "number",
"default": 1
},
"amount": {
"type": "number",
"default": 10000
},
"fee_a_pct": {
"type": "number",
"default": 0.1
},
"fee_b_pct": {
"type": "number",
"default": 0.1
},
"usdt_back": {
"type": "number",
"default": 1
},
"withdraw_coin": {
"type": "number",
"default": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cross-exchange transfer calculator",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Detail of one Boros market (id from fixed_vs_floating): fixed rate at your size net of fees, floating benchmarks, advantage, win rate, capacity, reasons.
| Parameter | Type | Description |
|---|---|---|
| side | string | one of ["short","long"] |
| notional | number | Position size per side in USD (default 10000) |
| market_id * | integer |
{
"name": "boros_market",
"title": "One Pendle Boros market",
"description": "Detail of one Boros market (id from fixed_vs_floating): fixed rate at your size net of fees, floating benchmarks, advantage, win rate, capacity, reasons.",
"inputSchema": {
"type": "object",
"required": [
"market_id"
],
"properties": {
"side": {
"enum": [
"short",
"long"
],
"type": "string"
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"market_id": {
"type": "integer"
}
},
"additionalProperties": false
},
"annotations": {
"title": "One Pendle Boros market",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lock funding on Boros against a delivery future of the same maturity: implied APR vs basis APR, net after fees and slippage at your size.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| notional | number | Position size per side in USD (default 10000) |
{
"name": "boros_futures_basis",
"title": "Boros implied rate vs futures basis",
"description": "Lock funding on Boros against a delivery future of the same maturity: implied APR vs basis APR, net after fees and slippage at your size.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Boros implied rate vs futures basis",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Every exchange AfterFees reads: kind, fully calculated or watch-only, status, markets, taker / maker fee, open interest, 24 h volume.
No parameters.
{
"name": "exchanges",
"title": "Exchanges covered",
"description": "Every exchange AfterFees reads: kind, fully calculated or watch-only, status, markets, taker / maker fee, open interest, 24 h volume.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "Exchanges covered",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}One exchange: fees and their source, funding intervals, open interest, volume, highest and lowest funding and its best after-fee pairs.
| Parameter | Type | Description |
|---|---|---|
| venue * | string | exchange id, e.g. binance |
{
"name": "exchange_overview",
"title": "One exchange",
"description": "One exchange: fees and their source, funding intervals, open interest, volume, highest and lowest funding and its best after-fee pairs.",
"inputSchema": {
"type": "object",
"required": [
"venue"
],
"properties": {
"venue": {
"type": "string",
"description": "exchange id, e.g. binance"
}
},
"additionalProperties": false
},
"annotations": {
"title": "One exchange",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Coins with a perp on two or more exchanges: exchange count, open interest, highest and lowest funding APR and the best after-fee pair.
| Parameter | Type | Description |
|---|---|---|
| group | string | one of ["all","crypto","equity","commodity","index","fx"] |
| limit | integer |
{
"name": "coins",
"title": "Coins covered",
"description": "Coins with a perp on two or more exchanges: exchange count, open interest, highest and lowest funding APR and the best after-fee pair.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"group": {
"enum": [
"all",
"crypto",
"equity",
"commodity",
"index",
"fx"
],
"type": "string",
"default": "all"
},
"limit": {
"type": "integer",
"default": 30,
"maximum": 500,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Coins covered",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}How AfterFees' daily top picks actually did: predicted net vs net realised from settled funding over the hold, hit rate, mean error, latest picks.
No parameters.
{
"name": "track_record",
"title": "Public track record",
"description": "How AfterFees' daily top picks actually did: predicted net vs net realised from settled funding over the hold, hit rate, mean error, latest picks.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "Public track record",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Tokens our exchanges list with a verified contract on Ethereum, BNB Chain, Base, Arbitrum or Solana whose DEX price is more than 1% away: net at $1k / $5k / $10k after aggregator price impact, swap gas, the token transfer gas and the exchange's withdrawal fee, status and reasons. Pro. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.
| Parameter | Type | Description |
|---|---|---|
| base | string | Token (optional) |
| limit | integer |
{
"name": "dex_scan",
"title": "CEX ↔ DEX arbitrage scan",
"description": "Tokens our exchanges list with a verified contract on Ethereum, BNB Chain, Base, Arbitrum or Solana whose DEX price is more than 1% away: net at $1k / $5k / $10k after aggregator price impact, swap gas, the token transfer gas and the exchange's withdrawal fee, status and reasons. Pro. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Token (optional)"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "CEX ↔ DEX arbitrage scan",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Candles of (A − B) / B between any two instruments (book mids where stored, else marks). Free: 1 h candles and longer over up to 7 days; Pro: 1 m and up, up to 365 days.
| Parameter | Type | Description |
|---|---|---|
| days | integer | |
| leg_a * | string | instrument id, e.g. binance:um:BTCUSDT |
| leg_b * | string | instrument id |
| candle | string | one of ["1m","5m","15m","1h","4h","1d"] |
| executable | boolean |
{
"name": "spread_chart",
"title": "Price spread of two legs",
"description": "Candles of (A − B) / B between any two instruments (book mids where stored, else marks). Free: 1 h candles and longer over up to 7 days; Pro: 1 m and up, up to 365 days.",
"inputSchema": {
"type": "object",
"required": [
"leg_a",
"leg_b"
],
"properties": {
"days": {
"type": "integer",
"default": 7,
"maximum": 365,
"minimum": 1
},
"leg_a": {
"type": "string",
"description": "instrument id, e.g. binance:um:BTCUSDT"
},
"leg_b": {
"type": "string",
"description": "instrument id"
},
"candle": {
"enum": [
"1m",
"5m",
"15m",
"1h",
"4h",
"1d"
],
"type": "string",
"default": "1h"
},
"executable": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Price spread of two legs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Your positions across the read-only exchange keys connected to your AfterFees account, grouped into hedges: delta drift, distance to liquidation, funding received, issues. Needs a Pro account token; AfterFees only accepts read-only keys. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.
No parameters.
{
"name": "my_positions",
"title": "My hedged positions (read-only keys)",
"description": "Your positions across the read-only exchange keys connected to your AfterFees account, grouped into hedges: delta drift, distance to liquidation, funding received, issues. Needs a Pro account token; AfterFees only accepts read-only keys. Needs a Pro API token (Authorization: Bearer arb_…); not available on the anonymous tier.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"title": "My hedged positions (read-only keys)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The same coin priced differently on two exchanges' perpetuals: long the cheaper, short the dearer, close when the gap returns to its 7-day median. Net at your size after four taker fees, slippage on live order books and stablecoin conversion; how often the gap came back over 7 days and how long it took; funding per 8 h shown separately; tier and reasons.
| Parameter | Type | Description |
|---|---|---|
| base | string | Only this coin (optional) |
| limit | integer | |
| notional | number | Position size per side in USD (default 10000) |
| actionable_only | boolean | Only pairs that pass every check right now |
{
"name": "spread_convergence",
"title": "Price-spread convergence trades",
"description": "The same coin priced differently on two exchanges' perpetuals: long the cheaper, short the dearer, close when the gap returns to its 7-day median. Net at your size after four taker fees, slippage on live order books and stablecoin conversion; how often the gap came back over 7 days and how long it took; funding per 8 h shown separately; tier and reasons.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"base": {
"type": "string",
"description": "Only this coin (optional)"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"notional": {
"type": "number",
"default": 10000,
"maximum": 100000000,
"minimum": 10,
"description": "Position size per side in USD (default 10000)"
},
"actionable_only": {
"type": "boolean",
"default": true,
"description": "Only pairs that pass every check right now"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Price-spread convergence trades",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}AfterFees: read-only funding-rate arbitrage analytics across crypto exchanges. Net figures are after taker fees and carry at the stated size per side; net_basis says how slippage is counted: exact = walked on the live order books, reference = estimated from the top of the book (no live depth for that pair), before_slippage = no order book at all. Many watch-tier rows are not exact; say so when you quote them. Funding counts the less favourable of today's rates and the pair's own 7-day settled average (funding_basis says which). Projected figures are projections, not realised returns; say so when you quote them, and quote calc_version and as_of. Prefer tier / watch_reasons over your own judgement of whether a pair is actionable. Nothing here can trade: never claim to place orders. Not investment advice. You are on the anonymous tier (no token): the same data as an anonymous visitor of the site, at $10,000 per side held 168 h (size and holding arguments are fixed to that), 60 requests per minute per address; tools that say they need a token answer with an error. A Pro token (Authorization: Bearer arb_…, from /developers) unlocks every tool and your own size.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.