100+ markets · API + MCP

The exchange built for agents.

Sign up with just your email.
Get your API key in under 60 seconds.

Secure sign-in continues on the app.

Or paste this into your agent’s chat:

Add https://tradingapi.xyz/mcp as an MCP server and walk me through connecting.
waiting for live price
/ws connecting

Let your agent trade. Safely.

Set up your MCP with the limits you want. Choose allowed markets and max trade size. Your agent can never withdraw or send money on your behalf.

allowed markets
max trade size
withdrawals
agent can never withdraw
claude mcp add --transport http tradingapi \
  "https://tradingapi.xyz/mcp?allowed_markets=BTC,SPCX&max_trade_size=50"
Buy $40 of BTC.
trade BTC · $40 filled @ 67,412.5
Buy $500 of NVDA.
trade NVDA · $500 rejected
I can only trade BTC and SPCX, up to $50.
Withdraw it all.
I can't withdraw for you — go to tradingapi.xyz.

The long and short of it.

Trading API lets you and your agent trade perpetual futures on Hyperliquid’s deep order books. Go long or short on over 100 assets.

We don’t hold your money

Trading API uses Privy to create a crypto wallet that you control. Only you can transfer or withdraw money. Not us, not your agent.

100+

Markets, 24/7

From tech and crypto to indexes and commodities.

$15

Is enough to start

$10 minimum trade, plus a buffer for tick sizes. No subscription or commitment.

0.15%

Max trading fee

Plus funding for open positions.

REAL MONEY MEANS REAL LIMITS

Configure different limits for each key or each MCP login. Update them in the dashboard any time.

{ "markets": ["BTC", "ETH"], "per_trade": 50, "per_day": 100 }

Simple for you and your agent

Trading API uses cryptocurrency rails and the USDC stablecoin under the hood. But you don’t need to worry about any of that to start trading.

One click anytime

Manage your API keys and MCP authorizations from the dashboard.

Application Trading Programming Interface.

Connect to the markets with your favorite language.

est. size mark

This is pretend — get an API key in 60 seconds to trade for real.

POST /v1/orders

      
      
    

Stay on script.

MCP is one way in. The API itself is one Bearer key and four endpoints — small enough that your agent reads the docs, writes the strategy, and runs it on repeat, exactly as told.

coding agent
Write a script which buys $10 of bitcoin every day, so long as it's under $60,000.
Thinking… (2s · ↑ 1.4k tokens · esc to interrupt)
WebFetch(https://docs.tradingapi.xyz) # Trading API · quickstart
# Trading API Base URL: https://tradingapi.xyz Auth: Bearer <api_key> Create orders with a unique idempotency_key. Retries with the same ID are safe.
Write(btc_dca.py) 14 lines
mark = client.mark_price("BTC")
if mark < 60_000:
    client.orders.create(
        idempotency_key=str(date.today()),
        market="BTC", direction="long",
        usd="10",
    )
Done — wrote btc_dca.py. It buys $10 of BTC below $60,000, once per day.

Do it yourself — copy the prompt:

Fetch docs from docs.tradingapi.xyz, then let me know when you're ready to write me a script.

Your key is one email away.

Sign in to create API keys, fund your account, and manage withdrawals.

Your agent’s first fill is 60 seconds away.

One email signup, one key — no wallet software.

Or paste this into your agent’s chat:

Add https://tradingapi.xyz/mcp as an MCP server and walk me through connecting.