human agent
7 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:

Read https://tradingapi.dev/connect.md and connect me to Trading API.
—
/v1/prices offline

Let your agent trade safely with our MCP

Connect over MCP and pick the limits when you sign in: 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.dev/mcp
Buy $15 of BTC.
place_order BTC · $15 → filled @ 67,412.5
Buy $500 of NVDA.
place_order NVDA · $500 → rejected
I can only trade BTC and TSLA, up to $20.
Withdraw it all.
I can't withdraw for you — go to tradingapi.dev.

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 any of 7 markets in crypto and US stocks.

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.

7

Markets, 24/7

Crypto, US tech stocks and the Nasdaq-100.

$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": 25, "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 plain JSON — 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.dev) ⎿# Trading API · quickstart
# Trading API Base URL: https://tradingapi.dev/v1 Auth: Authorization: Bearer tapi_… Give each order a client_order_id of your own. Retrying with the same client_order_id never places a second order.
⏺Write(btc_dca.py) ⎿15 lines
import os
from datetime import date

import requests

API = "https://tradingapi.dev/v1"
AUTH = {"Authorization": f"Bearer {os.environ['TRADINGAPI_KEY']}"}

price = requests.get(f"{API}/markets/BTC", headers=AUTH).json()["price"]
if float(price) < 60_000:
    requests.post(f"{API}/orders", headers=AUTH, json={
        "client_order_id": f"btc-dca-{date.today()}",
        "market": "BTC", "side": "buy",
        "type": "market", "value": "10.00",
    })
⏺Done — wrote btc_dca.py. It buys $10 of BTC below $60,000, once per day.

Do it yourself — copy the prompt:

Fetch the docs from https://docs.tradingapi.dev, 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:

Read https://tradingapi.dev/connect.md and connect me to Trading API.
# Trading API

> The exchange built for agents. Perpetual futures on crypto and US stocks, in US dollars. Every position is 1x: no leverage.

This is the agent view of https://tradingapi.dev: the landing page, as plain text. The toggle at the top switches back to the human view. The same text as markdown: https://tradingapi.dev/agent.md
## What you can do here

- Trade perpetual futures for a person, within limits they set.
- Size orders in US dollars. Trading API works out the size: a buy never costs more than asked; a sell is sized to be worth no more while the price stays within a narrow band, and can fill slightly more if the price jumps during its few seconds.
- Preview an order first: the fill, the fee, and the position it would leave.
- Read markets, balances, positions, orders and fills.

You cannot withdraw funds or change limits. The person does that at https://tradingapi.dev/account.
## Markets

Order with the symbol:

- BTC: Bitcoin (crypto)
- ETH: Ethereum (crypto)
- SOL: Solana (crypto)
- XYZ100: XYZ100 Nasdaq-100 Index (index)
- TSLA: Tesla (equity)
- NVDA: Nvidia (equity)
- AAPL: Apple (equity)
## Connect over MCP (recommended)

- URL: https://tradingapi.dev/mcp
- Transport: Streamable HTTP
- Auth: OAuth. The person signs in with their email; no API key.
- Setup for your client, step by step: https://tradingapi.dev/connect.md
## Connect over REST

- Base URL: https://tradingapi.dev/v1
- Auth: Authorization: Bearer tapi_... The person creates a key at https://tradingapi.dev/account.
- Docs: https://docs.tradingapi.dev
## What only the person can do

1. Sign up with their email at https://tradingapi.dev/login. It takes under a minute.
2. Fund the account: native USDC on Arbitrum, to the deposit address on their account page (5 USDC at least). Trading activates once it arrives.
3. Choose what you may do: read only, or trade within limits (which markets, the largest order, the total per 24 hours).

Never ask the person for their one-time code or any other secret.
## Fees

Each fill's fee includes the exchange's fee and ours. A preview shows it before you place the order.
## Under the hood

Orders execute on Hyperliquid. The balance is held as USDC in a wallet Trading API creates for the account, so the person needs no Hyperliquid account of their own.