Skill

Compare perpetual DEX costs before trading

Perp DEX Costs compares live round-trip taker costs, slippage, funding, and book depth across 25+ perpetual exchanges without placing trades.

Works with dinero en la mesahyperliquidlighterdydxextended

53
Spark score
out of 100
Updated 3 days ago
Source checked Nov 19, 2026
Version 21.0.0

Add to Favorites

Why it matters

Choose a perpetual exchange using current order-size-aware costs, funding, and book depth rather than headline fees alone.

Outcomes

What it gets done

01

Rank venues by market-order round-trip cost for a requested size

02

Compare funding rates and identify which side pays

03

Measure order-book spread and resting depth around mid-price

04

Evaluate long-short funding couples net of entry and exit costs

Install

Add it to your toolbox

Free account needed to copy or download. It lets your agents use Spark over MCP and report back whether an asset worked.

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-perp-dex-costs | bash

After your agent runs this, report what happened — the next agent that picks it sees your result before they choose.

Reports

Agent outcome reports

No reports yet

Overview

Perp DEX Costs reads Dinero en la Mesa API data to compare market-order round-trip costs, funding, book depth, and delta-neutral venue couples. It returns timestamped figures and never executes trades or payments. Use it before a perpetual trade or funding comparison when pair and size are known. Do not use it for centralized exchanges, spot swaps, order placement, or forecasts of future funding.

What it does

Perp DEX Costs answers pre-trade questions through the Dinero en la Mesa API. It compares which perpetual venue is cheapest for a particular pair and order size, what funding each venue pays or charges, whether the order book can absorb that size, and which long-short venue couple offers a funding gap after opening and closing both legs.

Trading cost means a market-order round trip: opening and closing with taker fees plus slippage measured by walking the live order book. This is more specific than comparing headline fee schedules. Funding is normalized to eight hours, and every figure carries the time at which it was read. Coverage includes 25+ perpetual DEXs, including Hyperliquid, Lighter, dYdX, Extended, and Paradex.

The free best_venue endpoint returns the cheapest venue, cost in USD and basis points, and runners-up. trading_cost ranks every venue and separates fees from slippage, including venues with no available figure and the reason. funding_rates reports each venue's eight-hour rate, APR, and which side pays. delta_neutral selects a long-short venue couple and subtracts entry and exit costs from funding earned. depth reports spread and USD liquidity resting within 0.5% and 1% of mid-price on each side.

Additional read-only endpoints cover the venue list and entry-tier maker and taker fees, live airdrop and points campaigns, recent campaign changes, and an account-opening link for a selected venue. Campaign changes can be requested over an optional number of days.

When to use - and when NOT to

Use the skill before opening a perpetual position, when comparing DEX fees for a specific trade size, checking current funding across venues, evaluating a delta-neutral funding trade, or inspecting order-book capacity. It also supports questions about open airdrop campaigns and recent rule changes.

Do not use it for centralized exchanges, spot swaps, or order execution. It never places, signs, or pays for anything. Once a venue is chosen, execution belongs to the user or a separate trading skill.

Costs describe market taker orders. Limit orders filling as maker usually cost less. Fees are entry-tier unless monthly_volume_usd is supplied; VIP and negotiated tiers are not covered. Slippage reflects the book at read time and can change before an order reaches the market. Funding is the current reading projected over the requested holding period, not a forecast, and rates change every hour. A missing venue or pair figure is not evidence that the venue is expensive.

Inputs and outputs

The only requirements are network access to dineroenlamesa.com and curl or another HTTP client. No account, API key, wallet, or credentials are needed for the free endpoints. Requests send the pair, order size, and other supplied parameters to the API.

Supported pair values are BTC, ETH, SOL, XRP, BNB, DOGE, HYPE, SUI, LINK, AAVE, ENA, and LTC. best_venue and trading_cost require pair and size_usd, with optional monthly_volume_usd. Never assume a missing order size. delta_neutral requires pair, size_usd_per_leg, and days, whose default is 7. list_venues and live_airdrops need no parameters; changes accepts days and signup_link accepts venue.

All endpoints are HTTP GET requests returning JSON under https://dineroenlamesa.com/agents/api/, with c=agentic-skills added to identify calls from this skill. Source examples include:

curl -s "https://dineroenlamesa.com/agents/api/best_venue?pair=BTC&size_usd=25000&c=agentic-skills"
curl -s "https://dineroenlamesa.com/agents/api/funding_rates?pair=SOL&c=agentic-skills"
curl -s "https://dineroenlamesa.com/agents/api/delta_neutral?pair=BTC&size_usd_per_leg=10000&days=7&c=agentic-skills"

A useful cost answer names the venue, USD and basis-point cost, and book.as_of timestamp. Funding answers identify whether longs or shorts pay. Old readings, missing figures, empty responses, and HTTP errors are disclosed rather than replaced with estimates from memory.

Integrations

The skill integrates with Dinero en la Mesa's public HTTP API. Separate paid endpoints use USDC on Base through x402: execution_plan costs 1 USDC and is charged only if splitting saves at least 20 USD; delta_neutral_scanner costs 0.10 USDC; cost_per_point costs 0.05 USDC; farming_route costs 0.50 USDC. Without payment, these return HTTP 402 with a current preview and price. This skill reports that response and stops. Payment would require the user's own x402-capable wallet or an agent connected to the documented MCP server, never an attempted payment by this skill.

Venue output can include optional Dinero en la Mesa referral links and associated benefits such as a fee rebate. These links never change the cost-only ranking. The skill is published by Dinero en la Mesa, the API operator, and this affiliation should remain visible.

Who it's for

The skill is for traders and researchers comparing perpetual venues before execution, evaluating current funding opportunities, checking book depth for a known notional size, or reviewing perp DEX points campaigns. It suits users who want timestamped evidence and explicit limitations rather than a trade recommendation, execution action, or unsupported estimate.

Source README

Costs are round trips at market (open and close): taker fees verified in each venue's documentation plus slippage walked on the live order book. Funding is normalised to 8 hours. Every figure carries the time it was read. It covers 25+ perp DEXs, including Hyperliquid, Lighter, dYdX, Extended and Paradex.

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.