Agentic Trading API · Early access
Bring agentic trading to your application
Let your users research markets, place trades and build trading agents in natural language.
Buy $100 of tokenized Tesla stock with USDC.
Ready to confirm the first step: approve 100 USDC for KyberSwap on your EVM wallet. The buy of about 0.238 TSLAc on Base comes up for confirmation once it settles.
Approve 100 USDC for KyberSwapStep 1 · Base
Buy about 0.238 TSLAcStep 2 · spend 100 USDC · Base
POST /partner/v0.1
{ "kind": "approve", "proposalId": "8378fe09-…" }
200 { "kind": "proposal", "status": "pending" }Trading on Circuit, by the numbers
- Notional traded
- $15.9B
- Real-money transactions
- 413,535
- Median time to answer a market question
- 5.09 s
- Median time from trade instruction to settlement
- 6.24 s
The times come from the Agentic Trading benchmark of 16 November 2026, measured in the Circuit app. The trade time excludes the user’s confirmation.
What your users can do
A user can ask what moved Tesla, review a trade or build an agent that buys when the price falls. Give them all three in your app.
What drove Tesla’s biggest stock price move this week?
Reports that Tesla and SpaceX were making progress on merger talks drove TSLA’s biggest move this week: up 3.43% to $413.73 on Monday, November 30, from Friday’s $400 close. CLSA added to the rally that morning. It upgraded Tesla from Hold to Outperform and raised its price target from $400 to $520.
finance.yahoo.comTesla stock rises, SpaceX shares slip as merger talks advance
volumebrief.comTSLA: November 30 close of $413.73, up 3.43%
Buy $100 of tokenized Tesla stock with USDC.
Ready to confirm the first step: approve 100 USDC for KyberSwap on your EVM wallet. The buy of about 0.238 TSLAc on Base comes up for confirmation once it settles.
Approve 100 USDC for KyberSwapStep 1 · Base
Buy about 0.238 TSLAcStep 2 · spend 100 USDC · Base
Build an agent that buys $100 of tokenized Tesla stock when TSLA falls 5% below its previous market close.
Built and saved. The agent checks TSLA once a minute during regular market hours. When a fresh quote is at least 5% below the previous close, it spends 100 USDC on tokenized Tesla stock, then stops.
Tesla dip buySaved · not running
TSLA 5% below the previous closeChecked every minute in market hours
Buy $100 of TSLAc, one timePays with USDC on Base
What the Agentic Trading API does
Each capability runs in your own interface, on the wallets the user links.
Research with sources
Give users dated answers about markets, protocols and assets, with links to the sources.
sayTrade from a prompt
Turn a request into a trade that users review and approve in your app.
say → approveBuild and run agents
Users describe a strategy and Ask Circuit writes the agent. Your app starts it with real money or in Paper trading, and stops it.
start · stopConnect self-custodial wallets with a passkey
Users choose which wallets your app can use and approve the link on Circuit with their passkey.
?app=…&return_url=…Build your own trade flow
Execute perps, prediction market trades, swaps, transfers and lending actions after the user confirms.
executeShow balances and positions
Display holdings, positions and running agents for the wallets the user links.
GET /partner/v0.1Markets, data and signals you can build on
Trade on 14 chains, among them Ethereum, Solana and the major EVM L2s. Bring market data into your app and let users run strategies on price levels, news, wallet trades and other events.
Markets and chains
Trade on Hyperliquid, Lighter, Derive, Polymarket and more. Offer spot, perps, options, prediction markets, swaps and lending.
Market intelligence
Research what moved a market, compare lending yields and look up protocol revenue or upcoming events.
Trading signals
Run strategies on a schedule, or when a price level, a news story, a watched wallet’s trade, an order fill or a market resolution wakes the agent.
Explore venues and chains
| Coverage | Supported venues and chains |
|---|---|
| Chains | Ethereum, Solana, Base, Polygon, BNB Chain, Arbitrum One, Optimism, HyperEVM, Elysium, Robinhood Chain, Ink, Monad, Arc and Katana |
| Perps and options | Hyperliquid, Lighter, Lighter Robinhood, Derive (perps and options), Polymarket Perps and Papertrade |
| Prediction markets | Polymarket |
| Lending | Aave, Spark, Euler, Morpho and Kamino |
| AMMs | Uniswap, Aero, Metric and Project X |
| Aggregators and bridges | Relay, Across, KyberSwap, Velora, Uniswap, Jupiter, CoW Swap and NEAR Intents |
Explore research coverage
| Area | Data |
|---|---|
| Protocols and chains | Deposits, flows, fees, revenue, users and transactions |
| Trading markets | Spot, perp and options volumes, open interest and exchange activity |
| Lending and yields | Supply and borrow rates, pool yields and liquidation levels |
| Assets and financials | Historical token prices, stablecoin supply, ETF and bridge flows, and equity prices and valuation ratios |
| Events and risk | Token unlocks, earnings dates, SEC filings, governance votes, protocol hacks and protocol treasury balances |
Explore supported signals
| Signal | What starts an agent run |
|---|---|
| Schedules | Every minute or longer, or at a set time |
| Price levels | A price rises above, falls below or crosses a level you set |
| News | A story about a topic you describe |
| Watched wallet trades | An EVM or Solana wallet makes a swap, including supported Relay cross-chain buys. Circuit also watches trades on Hyperliquid, Lighter, Lighter Robinhood, Derive and Polymarket Perps, and Papertrade positions that open or close |
| Order fills | One of the agent’s orders fills on Hyperliquid, Lighter, Lighter Robinhood, Derive, Polymarket, Polymarket Perps or Papertrade |
| Trade status | One of the agent’s trades settles or fails |
| Market resolutions | A Polymarket market you name resolves |
| Provider events | An event from a connected provider, today Polysights |
Quickstart
The API is one endpoint. GET reads the user’s wallets, agents and chat, and POST takes one action: say, execute, start, stop, approve or decline. Build against production with Paper trading.
// 1. Link: the user picks wallets and approves with a passkey
import { circuit, link, linked } from "./circuit";
location.assign(link("yourapp", "https://yourapp.com/linked"));
// 2. On your return URL, keep the permit
const user = circuit(linked(location.href)!);
const { wallets, sessions } = await user.read();
// 3. Ask for a trade, then approve it once the user agrees
const sent = await user.act({
kind: "say",
chatId: null,
text: "Long $50 of ETH on Lighter at 3x",
});
const { chat } = await user.reply(sent.chatId);
for (const proposal of chat!.messages.at(-1)!.proposals)
if (proposal.status === "review")
await user.act({ kind: "approve", proposalId: proposal.id });Build with Circuit
Tell us what you’re building. We’ll help you register your app and run your first test in Paper trading.
FAQ
What is the Agentic Trading API?
The Agentic Trading API is Circuit’s white-label API. Your app uses it to run Circuit research, trades and trading agents for your users in your own interface. It is one endpoint, /partner/v0.1, and it is in early access.
How do users connect their wallets?
Your app sends the user to a Circuit link page. The user signs in with a passkey and picks the self-custodial wallets your app may use, or none for Paper trading. Circuit sends the user back to your app with a permit that lasts 30 days.
Does every trade need the user’s approval?
Ask Circuit returns each trade as a proposal in review status, and your app approves it only after the user agrees. An execute action, an agent start and an agent stop take effect at once, so send them only after the user confirms in your app. A running agent trades by its own rules without a new approval for each trade.
Can I build without real money?
Yes. Paper trading runs agents on live markets without real money and needs no deposit. Start a session with walletId: null. The testing guide covers the details.
How does my app earn?
Circuit shares its fee on trades that come through your app with the Circuit account you name when you register. Circuit charges 0.01% on Hyperliquid perp orders and spot sells and on swaps through six routers, and no fee on most other trades. You claim your share as USDC on Base under Settings once it reaches $5. Pricing lists Circuit’s fee for each trade.