For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

AI Agent Access

Connect your AI agent to Nansen's blockchain data API in under a minute.

Get Started

Setup URL

1. Your agent will ask you to visit the setup page

2. Sign in with your Nansen account

3. Copy the message shown

4. Paste it back to your agent

Your agent saves the key and handles everything else automatically.

Trading

An agent can trade as well as research, through the Nansen CLI or the Trading API:

  • Spot swaps on Solana and Base, on one chain or across the two.

  • Hyperliquid perpetuals: place, manage and close positions. Orders carry a builder fee of 1 to 8 basis points, set by your Nansen Points tier.

  • USDC into and out of Hyperliquid: the API accepts deposits from Ethereum, Base, Arbitrum, Polygon and BNB Chain, and withdrawals to Ethereum, Base and Arbitrum. The CLI currently offers deposits from Base only.

Every trade is signed on your side. Nansen returns unsigned transaction data, and the agent signs it with a wallet it controls (with the CLI, a wallet created by nansen wallet create). Trades move real funds and cannot be reversed, so have the agent preview with --dry-run before it executes.

Nansen MCP, including the connectors for ChatGPT, Claude and Grok, cannot trade, sign transactions or move assets. Use the CLI or the API for trading.

Last updated

Was this helpful?