/v1/tools
Tools
Each tool your agent can call through Keydex AI: what it does and where its data comes from. Read tools run here without a key.
—
Stock tokens
Price, 24h change and pool depth for one stock token or up to 20 at once.
Pool prices from the stock token pools on Solana, cached for 15 s.Pool prices from the stock token pools on Solana, cached for 15 s. Bid and ask from Solana’s API, cached for 15 s.
Every stock token and ETF in a wallet, valued in dollars, plus its
SOL.
Balances read from Solana in one call, priced from the pools. Cached for 10 s per wallet.Balances read from Solana in one call, priced from the pools, or from Solana’s API when a token has no pool. Dividends and splits from Solana’s API, cached for 1 h.
Today’s biggest movers among stock tokens.
Ranked by the pool’s 24h change, from the stock token pools, cached for 15 s.Ranked by the pool’s 24h change, or by dollars minted and burned today and the place in the day’s range, from Solana’s API. Cached for 15 s.
Upcoming dividends and splits for stock tokens.
Dividends and splits from Solana’s API, cached for 1 h.
Trades
Builds an unsigned buy or sale of a stock token for
SOL. Your agent signs it before the quote expires.
Routes and quotes from LI.FI, tested on the network before the reply. A quote is cached for 30 s.
Funding
Builds a transfer from any of 15 networks to your agent’s wallet, arriving as
SOL. The payer signs it.
Routes and quotes from Relay.
Your key
Shows what your key has left today and when it resets.
Read from your key when you ask. Without a key: the free read calls left this hour.
Morpho
Rates of Morpho
USDG vaults and of loans against stock tokens.
Morpho’s public API, cached for 2 min. Rates change; the numbers are a snapshot.
Works out a year of borrowing
USDG against a stock token and depositing it in a vault. A calculation only.
Morpho rates, cached for 2 min.
Builds an unsigned deposit to a Morpho
USDG vault, or a withdrawal.
Calls for a Morpho vault, tested on the network before the reply. Your agent signs them.
Models
Lists the models your key can call, with prices and what each supports.
Read from Keydex AI’s cached model catalog. Free, and it calls no model.
One model’s prices, context size and the cost of a typical call.
Read from the same cached catalog, with a cost estimate for a typical call. Free.
Asks another model one question and returns its answer. Uses your daily allowance.
Sent through the same gateway as /v1/chat/completions, at the model’s listed price.
Wallet and chain
Lists a wallet’s open token approvals, unlimited ones first.
Token approvals read from Solana in batches, against the spenders Keydex AI knows. Cached for 30 s per wallet.
Latest block, block time, gas price and what a transfer costs on Solana.
Read from Solana: the latest block, the average block time over 1000 blocks and the gas price. Cached for 10 s.
Breaks a Solana transaction into its function, fee, transfers and approvals.
Read from Solana. Function names from Keydex AI’s own table, or from the open openchain.xyz signature database, cached for a day.
Builds an unsigned call that closes a token approval.
A call that sets one approval to zero, tested on the network before the reply. Your agent signs it.